A Flash Frontend for phpwcms is up.
just a quick note all. I have been working with a Flash Serializer class to move data back and forth between PHPWCMS and Flash. Its very fast and solid. I have been using only the trace window so far, so there is not much to see yet. I hope to have some files available by the end of the week.
cheers, J
cheers, J
http://fcms.burbacher.org/fcms_demo/
so far....
my students are working on the content type parsing. More as thing move along
so far....
my students are working on the content type parsing. More as thing move along
what is the further plans for this project?dr.swank wrote:Ibis.. ?? scared?.. doc
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold, I am swamped with work at the moment. I want to move this to a flashRemoting implementation but have been short on time due to work. I hope to have some time at the end of the month to get back to this. please excuse the slowness... I only have 2 hands, and my students were less help then I had hoped.
cheers, doc
cheers, doc
There is no reason to apologize... I was just curious...
And there is no problem in just having 2 hands... That is anatomical as that should be But a third hans would be nice some times...
And there is no problem in just having 2 hands... That is anatomical as that should be But a third hans would be nice some times...
http://www.studmed.dk Portal for doctors and medical students in Denmark
-
- Posts: 67
- Joined: Tue 22. Jun 2004, 19:54
- Contact:
Scared moi? Never.
I'd personally would like to see more flash implementation into phpWCMS, but not to sure if a full flash front end would be the way to go. The php side already works great, So if I get involved I'd be more intrested in finding ways to use flash to improve the experiance rather than just serve as an alternate.
Just my not so humble oppinion
I'd personally would like to see more flash implementation into phpWCMS, but not to sure if a full flash front end would be the way to go. The php side already works great, So if I get involved I'd be more intrested in finding ways to use flash to improve the experiance rather than just serve as an alternate.
Just my not so humble oppinion
Hi doc,dr.swank wrote:frold, I am swamped with work at the moment. I want to move this to a flashRemoting implementation but have been short on time due to work. I hope to have some time at the end of the month to get back to this. please excuse the slowness... I only have 2 hands, and my students were less help then I had hoped.
cheers, doc
I've been investigating flashremoting (AMFPHP) for use with flash/php but AMFPHP isn't stable enough for me to start with. If PHPwCMS could output unformatted XML for the menu-structure and the articles then it's quite easy to parse the data with Flash and render it to anything you like. I've done many flash+script+database solutions yet but none with PHPwCMS. I'm afraid that any effort I make in hacking the RC4 code will be wiped away when RC5 or v.NEXT is coming. Since many people suggested massive enhancements I'll wait before I'm going to modify the code.
If you need any help drop me a message.
(BTW I'm a fulltime webdeveloper at a Dutch software development co.)
Regards,
M4
hi M4,
nice to read this.
I have just made static flash site, without xml and php.
What would be interessting is how to do this?
any hints or weblinks?
sure not a full describtion.
you are right with the development that is not usefull if we have to update all for each new release.
But making a small menue in flash would be nice
nice to read this.
I have just made static flash site, without xml and php.
What would be interessting is how to do this?
any hints or weblinks?
sure not a full describtion.
you are right with the development that is not usefull if we have to update all for each new release.
But making a small menue in flash would be nice
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Hi cyrano,cyrano wrote:I have just made static flash site, without xml and php.
What would be interessting is how to do this?
any hints or weblinks?
...
But making a small menue in flash would be nice
a simple but effective tutorial how to load external text-data (like HTML) into flash is on this site: http://www.flashkit.com/tutorials/Dynam ... index.php/
I'm sure you can find tons of information which will be more detailed than I can offer you in this forum.
Just search on the net for keywords like "flash dynamic content loadvars php".
One of the main advantages of using phpWCMS with Flash is that the editing of the site can be done with phpWCMS as well as structuring the items and providing a security system. You don't want to do those things in Flash. Too complicated and totally unnecessary.
If you're skill is entry-level with Flash (MX) and PHP I'd wait for a sample Flash frontend based on stable (RC5 ? v. Next ?) code of phpWCMS.
To give you a simple hint: When developping a static Flash site you'll end up with a lot of frames with text. The layout is virtually the same on each frame. When developping a dynamic Flash site you just create a single "layout aka template" frame which could be a "dynamic textfield". The textfield is a variable and you can load data into that variable using the Flash "LoadVars" object. This isn't complicated, actually it's a few lines code.
Using Flash MX (2004) you can perform such a load using these lines:
A. myfile.txt is a file on your server (http://www.myserver.com)
B. myfile.txt contains: myName=John&myAge=88&myInteger=31137
C. In Flash (MX) you create 3 dynamic textfields named txtDynamicName, txtDynamicAge and txtDynamicInteger
D. In Flash (MX) you enter this code on the first frame:
Code: Select all
/* 1. create a new instance of the LoadVars object)
var myObject = new LoadVars();
/* 2. assing a function to be executed when the file has been loaded */
myObject.onLoad = function() {
/* put the content of the variables into Flash textfields */
txtDynamicName.text = myObject.myName;
txtDynamicAge.text = myObject.myAge;
txtDynamicInteger.text = myObject.myInteger;
}
/* NOW load the file from the server (or your local disk whatever) */
myObject.load("http://www.myserver.com/myfile.txt");
The PHP script could look like this:
Code: Select all
<?php
echo "myName=John&";
echo "myAge=11&";
echo "myWhatever=yes_it_is";
?>
Code: Select all
<?php
$myphpvar_name = "George";
$another_variable = 7363;
$actor = "Marlon Brando";
$thewinner = "Greece";
echo "myName=".$myphpvar."&";
echo "myThing=".$another_variable."&";
echo "myWhatever=".$actor."&";
echo "myWinner=".$thewinner."&";
?>
Code: Select all
myName=John&myAge=11&myWhatever=yes_it_is
Step 3 is to access a database in PHP and have PHP return the values from the database-query with echo-statements.
If you ever hear someone mention "Flash Remoting" than it's a new and better and more standardised way to transport data from the webserver (using PHP or ColdFusion or Perl or etc etc) to Flash. FlashRemoting (AMF) is a binary format which is more secure, faster but harder to implement and to debug.
Furthermore an excellent tutorial with Flash & PHP is here: http://actionscript-toolbox.com/samplemx_loadvars.php.
Have phun,
M4