Using App Engine Python application as proxy to PHP application -


during past 2 years have built app engine application in python. possible use php on app engine. use off-the-shelf php applications such wordpress, mediawiki , phpbb python application. user should transparent of 2 applications (python or php) using particular page. consider python application main application of programming. because have more experience python , because have written lot of reusable code app engine.

currently approach build proxy in python maps http requests this:


http://www.yellow.com/blog/* http://phpapp.appspot.com/wordpress/client1/*

http://www.yellow.com/community/* http://phpapp.appspot.com/phpbb/client1/*

yellow.com domain mapped python application.


http://www.blue.com/wiki/* http://phpapp.appspot.com/mediawiki/client2/*

http://www.blue.com/* http://phpapp.appspot.com/wordpress/client2/*

blue.com domain mapped python application.


besides blog, community or wiki, there lot of url's don't require php. these url's handled python application. example: http://www.yellow.com/admin/*.

i'm still struggling proxy passing of cookies between 2 applications right, think it's possible this.

it awesome if work way. however, seems me not elegant way handle this. know use subdomains serve php applications, rather use url patterns. also, proxy approach, can tweak returned html php application before serving user. advantage of approach ability cache pages php applications in memcache.

i hear think of approach use google app engine (custom) python , (off-the-shelf) php applications together. run problems proxy (javascript, cookies, ...)? better build in wordpress, example, custom plugins written in php (the plugins fetch data python application)? other suggestions?

your use case example of appengine's modules intended for. take @ dispatch mechanism.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -