A Flash Frontend for phpwcms is up.
A Flash Frontend for phpwcms is up.
Hello all,
I have put up Fulvio's flash frontend add on to phpwcms so you can get your content into your flash site. Compliments to Fulvio for a great tool nd check out the other scripts and articles on the site. It is kind of bear but growing every day.
Here is the link
Also, I am working on a plugin architecture so if anyone has any experience or thoughts please post a messgae or send me a private message. I have some basic requirements to make it all work but it will take some sweet hacking to make it happen so help is appreciated.
As always, thanks to Oliver for the great cms!
I have put up Fulvio's flash frontend add on to phpwcms so you can get your content into your flash site. Compliments to Fulvio for a great tool nd check out the other scripts and articles on the site. It is kind of bear but growing every day.
Here is the link
Also, I am working on a plugin architecture so if anyone has any experience or thoughts please post a messgae or send me a private message. I have some basic requirements to make it all work but it will take some sweet hacking to make it happen so help is appreciated.
As always, thanks to Oliver for the great cms!
- Fulvio Romanin
- Posts: 394
- Joined: Thu 4. Dec 2003, 11:12
- Location: Udine, Italy
- Contact:
http://www.fulvioromanin.it/portale/test.htm
nothing nice to watch, just to see that you can generate and load stuff from within flash...
nothing nice to watch, just to see that you can generate and load stuff from within flash...

Completeness is reached through subtraction, not through addition
hi Fulvio,
just looked at your demo - very nice indeed dude
I would really like to know what extent you have of funcionality you have covered.
I had read the readme in your download but couldn't get a clear understanding of what exactly you can and can't do with the flash version.
what replacement tags and content type etc. password login etc.
I guess I should install and see but if you don't mind writting down a list of 'can and can not's' I love to read it.
just looked at your demo - very nice indeed dude

I would really like to know what extent you have of funcionality you have covered.
I had read the readme in your download but couldn't get a clear understanding of what exactly you can and can't do with the flash version.
what replacement tags and content type etc. password login etc.
I guess I should install and see but if you don't mind writting down a list of 'can and can not's' I love to read it.
- Fulvio Romanin
- Posts: 394
- Joined: Thu 4. Dec 2003, 11:12
- Location: Udine, Italy
- Contact:
well
the flash frontend is just made and meant to "translate" the regular phpwcms html layout into flash-loadable content, thus meaning you can make a regular phpwcms site AND in the same time you can use flash as interface.
Fcms, how i call it, is not meant in any way to -replace- any of the functionalities of phpwcms. Replacement tags, etc. just stay exactly the same as the html version. But this way you can have both sites (and both updatable sites, especially flash where updating is a major pain in the ass) with minimum fuss.
Actually you can
- load titles into flash (dynamic text fields)
- load articles into flash (with limited html support - don't blame on me, it's flash's fault) with practically all content that replacement tags do (unless new stuff comes out soon)
- load images into flash
you will (as soon as i can get back over it)
- have flash files loaded into flash (it's not as pointless nor as easy as you think)
- have preloaders, movements, behaviours, etc.
you won't
- have more than one article per menu voice (at the moment...)
- have administration area, private area and usual phpwcms backend features replaced by flash stuff. I personally think it's useless as phpwcms works sooooo fine....
the flash frontend is just made and meant to "translate" the regular phpwcms html layout into flash-loadable content, thus meaning you can make a regular phpwcms site AND in the same time you can use flash as interface.
Fcms, how i call it, is not meant in any way to -replace- any of the functionalities of phpwcms. Replacement tags, etc. just stay exactly the same as the html version. But this way you can have both sites (and both updatable sites, especially flash where updating is a major pain in the ass) with minimum fuss.
Actually you can
- load titles into flash (dynamic text fields)
- load articles into flash (with limited html support - don't blame on me, it's flash's fault) with practically all content that replacement tags do (unless new stuff comes out soon)
- load images into flash
you will (as soon as i can get back over it)
- have flash files loaded into flash (it's not as pointless nor as easy as you think)
- have preloaders, movements, behaviours, etc.
you won't
- have more than one article per menu voice (at the moment...)
- have administration area, private area and usual phpwcms backend features replaced by flash stuff. I personally think it's useless as phpwcms works sooooo fine....

Completeness is reached through subtraction, not through addition
- Fulvio Romanin
- Posts: 394
- Joined: Thu 4. Dec 2003, 11:12
- Location: Udine, Italy
- Contact:
Hi All,
I have joined the project here.
I hope I can be of service. So far I have started by seperating the loaded data in flash into a simple XML object which can then be used to create menues however you want. I will be parsing the whole thing into a dataProvider later as soon as I am certain how the structure of that DP should look. I have also written a very quick script in Flash that allows you to access the nodes of the <body> segment of any chosen page as an XML object, thus allowing for the reading of any and all attributes inside the diverse tags. (class, id, img, color, bgcolor, etc...) thanx here goes to Oliver for making the system XHTML compliant!
I will be posting the updates to my work at the following link:
http://mmk.burbacher.org/files/fcms/
the files will be dated as the dev on my end continues. Please no comments on the lack of flashy animations or eye candy. makiung it pretty is not my job, it's yours
cheers, and thanx to Fulvio for getting this thing started
I have joined the project here.

I will be posting the updates to my work at the following link:
http://mmk.burbacher.org/files/fcms/
the files will be dated as the dev on my end continues. Please no comments on the lack of flashy animations or eye candy. makiung it pretty is not my job, it's yours

cheers, and thanx to Fulvio for getting this thing started
I don't quite understand exactly how it works but as a newbie user-I truly appreciate all the works that Oliver, and other skilled people like you guys have been doing for wcms community. Thank you all, very much!!!dr.swank wrote:Hi All,
I have joined the project here.I hope I can be of service. So far I have started by seperating the loaded data in flash into a simple XML object which can then be used to create menues however you want. I will be parsing the whole thing into a dataProvider later as soon as I am certain how the structure of that DP should look. I have also written a very quick script in Flash that allows you to access the nodes of the <body> segment of any chosen page as an XML object, thus allowing for the reading of any and all attributes inside the diverse tags. (class, id, img, color, bgcolor, etc...) thanx here goes to Oliver for making the system XHTML compliant!
I will be posting the updates to my work at the following link:
http://mmk.burbacher.org/files/fcms/
the files will be dated as the dev on my end continues. Please no comments on the lack of flashy animations or eye candy. makiung it pretty is not my job, it's yours
cheers, and thanx to Fulvio for getting this thing started
I have worked out a simple recursive function to read the attributes and content of the entire body of any loaded page. Right now it only traces the info, but it is no problem to create the needed objects to represent using this function. code is at the aformentioned location. more to come...
the file is called 20040308xhtml_test.fla.zip
the file is called 20040308xhtml_test.fla.zip
hi all, I have been very busy teaching, so I have had little time to code for this. But I do have 2 bits of good news.
1. I will be working on FCMS with my students over the next 5 weeks. They are all fairly good coders, so I hope to have a viable framework running by the end of the course.
2. I have resolved the issue of loading the css data into flash, for mx as well as mx04. For those who havn't tried this, flash mx04 doesn't like special selectors or id's...
it really annoying. so here is the script I wrote to solve it:
3. I also solved the loading of the data from the mysql database, so now I only have to write the parsing code... and build the internal framework.
anyways, more as things develop.
cheers [/code]
1. I will be working on FCMS with my students over the next 5 weeks. They are all fairly good coders, so I hope to have a viable framework running by the end of the course.
2. I have resolved the issue of loading the css data into flash, for mx as well as mx04. For those who havn't tried this, flash mx04 doesn't like special selectors or id's...

Code: Select all
var lv = new LoadVars();
lv.load("blog.css");
lv.onLoad = function() {
//split the content of lv into an array
css_array = String(unescape(this)).split("}");
//remove the onload function node
css_array.pop();
//length
var l = css_array.length;
//loop through css array
for (var i = 0; i < l; i++)
{
//sert cur to current node
var cur = css_array[i];
//strip the escaped tabs
var noT = (String(cur).split("\t")).join("");
//strip escaped cairrage returns
var noN = (String(noT).split("\n")).join("");
//split into css id and definition
var parts = noN.split("{");
//split definition into array of value pairs
var sty_array = String(parts[1]).split(";");
//create temp object to store pairs in
var sty = new Object();
//loop through defenitions
for (var k = 0; k < sty_array.length; k++)
{
//pair into an array
var pair = String(sty_array[k]).split(":");
//store the prop name and prop value in temp object
sty[String(pair[0])] = String(pair[1]);
}
//store id tag in label and style obj in style
var temp = {label: parts[0], data:sty};
//replace curent node with temp
css_array[i] = temp;
}
//set comboboxes dataProvider to list the styles available
stylecombo.dataProvider = css_array;
};
anyways, more as things develop.
cheers [/code]
Gosh, man you are a real leader, LOLdr.swank wrote:hi all, I have been very busy teaching, so I have had little time to code for this. But I do have 2 bits of good news.
1. I will be working on FCMS with my students over the next 5 weeks.
http://www.studmed.dk Portal for doctors and medical students in Denmark
that's a real dope thing...
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------