Google App Engine

Published on 12.08.2009 at 22:15

Today I launched my first Google App Engine site Ross Gload Is Everywhere. So far I’m pretty impressed with what Google has to offer. The coding part is plan old Python with some basic framework tools. The ORM is usable, more on that in a minute and the development environment is what you would except. The shinny star IMHO is deployment and management. With a simple command in Terminal your fresh code is deployed and running live. No messing with SSH, version control, stopping or restarting services. I dig it. Plus they give you nice dashboard to view log files, request information and lot more. Really other hosting companies could learn a thing or two from the dashboard.

Lets take a minute to mention the ORM and data store. I come from doing mostly Django development these days. While the ORM is close its no cigar. I understand why so many basic things are left out. I mean they do give you a turn key “highly scalable” data store. It’s just some simple things are annoying. For instance on the main page of Ross Gload Is Everywhere I display a random entry. This is not a basic query, you need to store a attribute that is set to a random float between 0 and 1. Then you use that attribute to query for 1 record closest to your another random float.

class Object(db.Model):
    rand = db.FloatProperty()

    def put(self, *args, **kwargs):
        self.rand = random.random()
        super(Object, self).put(*args, **kwargs)

object = Object.all().filter('rand > ', random.random()).order('rand').get()

Seems silly to me, maybe there is a better way i dunno. Over all I think App Engine is great for super simple sites but I wouldn’t bank a big project on it. At least not right now. Try it out and see what you think for your self.

0 Comments

Comments are closed for this entry.

About Steps and Numbers
avatar

Steps and Numbers is the personal blog of web developer/designer Sean Brant. I enjoy coding and designing wonderful user experiences for the web. I spend my spare time hanging out in the beautiful city of Chicago, coding random projects most of which never see the light of day, and attempting to resurrect my failed carrier as a rock musician. You can contact me if you want and I’ll try and respond.

Flickr Photos
IMG_0970.JPG
IMG_0991.JPG
IMG_1002.JPG
IMG_0990.JPG
IMG_1015.JPG
IMG_1001.JPG
Search
Feeds
Post, Links, and Quotes
Just Posts
Just Links
Just Quotes