3

I sometimes build applications in Flash for the web that need a fair bit of dynamic data. Would WordPress be a good fit for my CMS solution? can it "talk" to flash? Does it allow output as different formats such as XML, JSON, or AMF?

  • Wordpress is written on PHP. So, there should be no problem. – Sisir Aug 18 '11 at 8:48
3

Absolutely. WordPress is implemented in PHP and anything Flash needed to interface with can be coded as a plugin, probably very easily. You can also implement any embedding of Flash as ShortCodes.

Here are some (honestly not very good) links on the subject of PHP & Flash:

Of course then there is what Adobe has:

Can you update your question to provide more details on exactly what you need for/from Flash? Maybe included some links that explain the things you want WordPress handling for Flash (Flash is quite a large beast, you know.)

  • +1 Wordpress has no problem incorporating custom (X)HTML. You retain full control of the source, it's just a case of finding the right plug-ins to make it simple to embed and/or dropping some php code into a page template. – Neil Trodden Aug 18 '10 at 21:34
1

In re: XML, remember too that WordPress has (even without a plugin) a very nice XML-RPC interface.

See, e.g. http://codex.wordpress.org/XML-RPC_Support

1

Please see the loadvars() function in flash. It basically works together with the PHP urlencode() function so you can send small bits of data to your flash movie. This should work with flash 2 and up.

0

Yes, but it's going to involve a lot of work to get it to send the right information in the right format. You might look into this plugin that puts the information out in JSON:

http://wordpress.org/extend/plugins/json-api/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.