One problem is that Google introduction and samples don't touch begineers, but experienced ones. And not all experts, but in the Linux and PHP related. For example if you have knowledge on Visual Basic .net, then you can't easily make a Google App Engine application. However if you are a python or Linux coder, then Google App Engine is familiar for you.
This is normal, but Google don't provide very detailed information. I sometimes found problem on understanding what it talks about.
Google App Engine isn't flexible:
Google App Engine is cool, only if you look to the application but it's not flexible at all. You need to manage it through a command line tool, which is very annoying.
Simple Start-up:
Here's what a Google App Engine Application is (without the loosing Google tutorial).
- A simple webpage on a server like PHP that run with Google App Engine (instead of apache)
- Instead of uploading with FileZilla, you upload with the command line.
- Instead of running your webserver through a program you run it with a command line.
- Instead of using .php you use .py
- The configuration file (like in ASP.net) is app.yaml
How to create your App Engine Application in 5 minutes:
- Already have python and Google SDK Installed
- Create a folder in c:/ and name it test
- Create an app.yaml file
- Create a test.py file
Put the following on the app.yaml file
application: helloworld
version: 1
runtime: python
api_version: 1
handlers:
- url: /.*
script: helloworld.py
Put the following on the test.py file
run your App Engine server:print 'Content-Type: text/plain'
print ''
print 'Hello, world!'
To run your server, open the Ms-Dos Command line and type
google_appengine/dev_appserver.py c:/test/
Now you should be able to see the application in localhost(8080)
Like ASP.net in stone age!
Yes, while having an easy to use Server, editor and uploader, you have a very hard environement to work. But it's not a matter, Google and me will arrange those things together!
1 comment:
Hi, You have a nice blog. I am also learning google app engine. Basically I have started after a look of your blog and following it. Please Keep going with new posts. Anyway I found your blog template excellent with customized google adsense code. Please can you give me your template. Here is my email address virus_guru1@yahoo.com. Thanks a lot in advance.
Post a Comment