Quercus (and Wordpress) on Google App Engine

quercusplusequalsheart-large

Ever since Google App Engine (GAE) supported Java, it has opened a slew of other languages that GAE indirectly and unofficially supports. PHP is one of them through Quercus, our 100% Java clean-room implementation of the PHP language.

PHP is unique among the other languages in that there are plenty of high-quality, killer applications (i.e. Wordpress, Mediawiki, and Drupal) that are free and readily available for it. Furthermore, there has been incessant calls for Google to support PHP from the very beginnings of GAE.

Unfortunately, GAE doesn’t support MySQL, or any other relational database for that matter. We’re limited to Google Datastore, which is pretty much a big hash table. So running existing PHP applications unmodified on GAE is currently out of the question because they are so dependent on the LAMP architecture.

But how hard is it to modify an existing PHP application to run on GAE? I set to gain insight on this interesting question by getting Wordpress running on GAE. Since Wordpress already runs on Resin with Quercus, all I needed to do was convert the MySQL queries to instead use the App Engine’s subset of JPA. In the end, it took about a week of uneventful work to get enough of Wordpress running so we could demo it at Google I/O.

Read the rest of this entry at http://blog.caucho.com/?p=196.

23 Responses to “Quercus (and Wordpress) on Google App Engine”

  1. Mr WordPress says:

    Hi, this is a comment.
    To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them. Edited!

  2. Google App Engine User says:

    Quercus is awesome!

  3. Well done! says:

    Good work, PHP in GAE

  4. ferg says:

    test post

  5. Emil says:

    Great work, Nam!

  6. Toby says:

    Wordpress on Java App Engine? Seriously cool.

  7. Test says:

    test appengine

  8. Adam says:

    Wow, pretty good, how fast does it run?

  9. fdgdsa says:

    ıııııııııııııııııı

  10. Danny says:

    This is brilliant. Great job!

  11. Vishesh says:

    Hi
    I am really impressed by your work with this blog.. I have downloaded the source and am looking through it.. I am not quite well versed with appengine yet.. could you tell me how to install it on my appengine account?
    Thanking you in anticipation.
    Vishesh

  12. JavaOne says:

    Hi from JavaOne!

  13. testııııııııı

  14. fsdfds says:

    sfsfs

  15. test says:

    ıııııııııııı

  16. CristianG says:

    :) :O wp in gae!!! good work!

  17. macauboy says:

    Great Job!!!

  18. hello says:

    good worl!!!

  19. Well done, and a great idea!

    Prediction: If this gets packaged in an easy way, GAE will be overrun by Wordpress installations! :)

  20. test says:

    Test post

Leave a Reply

My Second Post

My Second Post Body.

Leave a Reply