I'm sure it's quite possible. I'm currently doing this with Flash and
AMFPHP.

Here's one issue though - Cake's architecture has many view
pages...which you could sure enough setup with Flex/Flash but then
that create multiple flash files.

You may want only one Flash/Flex swf file. You may not want a new one
for each page and have visitors actually load different urls to
navigate around the site.

My solution (with my firm) is to have an html and a flash version - so
your one flash "template/skeleton" merely pulls in data from all over
- but must be designed specifically for the site... in other words,
the layout won't really be re-usable without modification.

So if you have "news" "contact" "services" for one site... the next
one you build with sections "news" "contact" "portfolio" won't be the
same because your structure changed.

Perhaps there is a way to standardize things more but I don't know if
you'll ever have something that universal. Maybe Flex does have more
to offer though.

By the way this does in fact put a swf file in the webroot directory
and does not involve the views... which like I said, creates the "html
version" of the site. or "low bandwidth" if you will.

A VERY good tutorial can be found here: http://rdos.rd11.com/CakeAMFPHP/
It got me started - but also note that I don't post anything back with
Flash...so the remoting I used was merely one way (reading).

I simply used html to post records to the database. In my opinion it
was better than using Flash -- but again, Flex may work well.
But...Flex plugin is too expensive for me right now and I don't know
Flash anyway =) That's up to the other guys I work with.

Good luck.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to