Patent News,1N4148
Path Forward by Python Google App Engine - App Engine Guide,Google App Engine Guide
Demonstrations‎ > ‎

Path Forward by Python Google App Engine

Introduction to Path Forward Proxy
 
It is quite convenient to use the Google App Engine to act as a Path Forward Application.  A "Path Forward Application" forward the request to target webserver, making it acting just like the target web site.
 
Actually, a "Path Forward Application" fetch the content of corresponding url in the target site together with the essential request parameters and return back the result to user.
 
In this example, we try to make our google app engine to act just like the Google UK site (http://www.google.co.uk ) .
 
Step 1: Before starting, please create an helloworld application as mention in "Hello World" in our guide.
Step 2: Modify the main.py as the following, for the complete source code and explanation, please go to main.py :
Step 3: Start the helloworld project:
Step 4: Open a web browser to view the website:
Step 5: Try to type something for searching:
 
Wow, that's easy isn't it?
 
References
If you are interested in writing PHP Reverse Proxy, you are recommended to read the following article:
 
 
Subpages (1): main.py