
Remember that Web 2.0 Google Developer Event we were telling you about? You know the one where you can learn all about web development the Google way? Well there's a reason for you to attend that event for sure now…
Google has just released, in private beta, a new service called the Google App Engine. Now you host your web applications on Google's servers and get all the benefits of a fully integrated application environment.
But there's a catch…
No, it is free. When you sign up you get 500MB of persistant space along with the bandwidth and CPU power for 5 million monthly page views — specificially 200 million megacycles/day CPU time and 10 GB bandwidth (both ways) per day.
You also get a free domain name on the appspot.com domain. Or you could serve your applications up through your GoogleApps domain and limit access to them.
The application environment has the following features:
- Dynamic web serving, with full support for common web technologies
- Persistent storage with queries, sorting and transactions
- Automatic scaling and load balancing
- APIs for authenticating users and sending email using Google Accounts
- A development environment that simulates Google App Engine on your computer
Let's have a look at some of the features of the new Google App Engine:
The Sandbox
Your applications will run in a secure environment that is independent of hardware, OS and physical location of the web server. This environment ensures there is limited access to the underlying operating system, so you can't screw anyone else up.
There are several limitations to living in the sandbox:
- File System: You cannot write to the file system, but you can read fromit as long as your files were uploaded through your web application.
- Contact Your App: Connections are purely though http/https and your application must return a response to a request within a few seconds. Your application's contact out is purely through the API, URL fetch and email services provided.
The Runtime Environment
Ah…there's the catch..The Google App Engine currently only supports Python version 2.5.2. Google says that they will support other languages in the future but this is it for now.
There are also several Python modules that are disabled due to core features not supported by the runtime environment. You can upload third party libraries to use as long as they don't try to access these disabled Python modules.
In addition, the App Engine also includes the Django web application framework, version 0.96.1.
The Datastore
The datastore is not a traditional relational database. It is Google's own Bigtable database system providing data features such as a query engine and transactions.
Google provides a Python API for the datastore which has a data modeling interface that can define a structure for datastore entities.
Google Accounts
Another API provided is one that helps you integrate with Google Accounts eliminating your need to create authentication and authorization capabilities. And if your app is running under your Google Apps domain, it has access to the same features with organization members.
URL Fetch and Mail Services
Want to contact outside web services or use Google Mail? The App Engine provides a URL Fetch Service and a mail service.
Continue reading this article: