[Django]-Is there a Django apps pattern equivalent in Google App Engine?

3👍

The Django implementation of apps is closely tied to Django operation as a framework – I mean plugging application using Django url mapping features (for mapping urls to view functions) and Django application component discovery (for discovering models and admin configuration). There is no such mechanisms in WebApp (I guess you think of WebApp framework when you refer to AppEngine, which is rather platform) itself – you have to write them by yourself then persuade people to write such applications in a way that will work with your url plugger and component discovery after plugging app to the rest of site code.

There are generic pluggable modules, ready to use with AppEngine, like sharded counters or GAE utilities library, but they do not provide such level of functionality like Django apps (django-registration for example). I thing this comes from much greater freedom of design (basically, on GAE you can model your app after Django layout or after any other you might think of) and lack of widely used conventions.

👤zgoda

2👍

I’d like to add that you can run Django apps inside App Engine. I’ve been doing this successfully for the last few months. Basically, you can make use of the App Engine Helper project or App Engine Patcher. The App Engine Helper is maintained, in part, by google employees, so that’s the one I use, thought the App Engine Patcher’s maintainer is always feverishly promoting and updating his project (perhaps a little too much 🙂

👤Luis

Leave a comment