问题
My buddy wants to create a WordPress blog, but because he's picky about the design (specifically the fonts), he wants to use Flash for the frontend -- display, content creation, user interface, etc. He's looking for a plug-in that will take the user input from the Flash interface and convert it into the appropriate PHP for WordPress. I've never used Flash, so I didn't know what to tell him, other than that this sounds nuts. Is there a better answer than this?
回答1:
Flash can store and retreive information via HTTP easily enough, and I think Wordpress makes most things available via an XML-RPC interface, so you could write a Flash client that did all the display itself and just used the wordpress backend to save the data.
I'm not sure how this would, in any meaningful way, be "wordpress" though, rather than just a Flash based blog which used a tiny little bit of Wordpress's database.
回答2:
Here, it has been done already, start by reading this and you'll be on your way: http://www.blog.noponies.com/archives/257
回答3:
Since posting this, I came across this book, which has just been published. It deals with incorporating Flash into Drupal sites, which I know isn't strictly speaking what my friend was looking for (he specifically mentioned Wordpress), but maybe I can steer him towards Drupal instead of Wordpress.
回答4:
It seems like a lot of work if your friends issue is really just he's picky about his fonts. I would visit an article like this:
http://net.tutsplus.com/videos/screencasts/the-easiest-way-to-use-any-font-you-wish/
which actually walks you through the ability to convert a font file into a javascript that can be used anywhere on the web. Hope this Helps!
回答5:
It's not that much work actually. I use the Zend Framework to communicate with WP and send the info back and forth to Flash. http://flashcms.patrick-segarel.com I'm not sure this solution could be "packaged" into a plugin , it doesn't make anything simpler as such , it just allows to have a great CMS integrated with Flash.
回答6:
I know that this post is old, but their is actually a framework made specially for that. it's called press2flash and you can find it here: Press2Flash
来源:https://stackoverflow.com/questions/973179/create-a-flash-frontend-for-wordpress