Skip to main content

Posts

Showing posts from December, 2012

Google App Engine with Python 2.7

webapp2 framework   webapp2 is a simple web application framework included in App Engine. It is already installed in the App Engine environment and in the SDK. webapp2 framework has two parts:     one or more RequestHandler classes that process requests and build responses     a WSGIApplication instance that routes incoming requests to handlers based on the  url Consider the below given code import webapp2 class MainPage(webapp2.RequestHandler):     def get(self):         self.response.headers['Content-Type'] = 'text/plain'         self.response.out.write('Hello, webapp World!') app = webapp2.WSGIApplication([('/', MainPage)],                               debug=True) Here MainPage is the request handler map...

Google App Engine

Google App Engine lets you to run web applications on google's infrastructure without any cost. We dont need to maintain any server for our application here. App engine supports application written in several languages. The three important environments for app engine are Java runtime environment , Python runtime environment , Go runtime environment . The main features of  Google App Engine are   Dynamic web serving, with full support for common web technologies  Persistent storage with queries, sorting and transaction Automatic scaling and load balancing APIs for authenticating users and sending email using Google Accounts A fully featured local development environment that simulates Google App Engine on your compute Task queues for performing work outside of the scope of a web request Scheduled tasks for triggering events at specified times and regular intervals The Python Runtime Environment   Here we are going to discuss how to develop and uplo...