Jonathan Share wrote:
> Mike Orr wrote:
>> On Wed, Apr 9, 2008 at 4:25 AM, Jamie Wilkinson <[EMAIL PROTECTED]> wrote:
>>>  This one time, at band camp, Alagu Madhu wrote:
>>>  >
>>>  >Hi
>>>  >
>>>  >How to get started with Pylons and Google App Engine ?
>>>
>>>  Follow the appengine tutorial, and then apply your pylons knowledge to it.
>>>  it's WSGI so bootstrapping your application into it should be pretty easy.
>>>  The hard part will be porting your database to the data store model.
>> According to IRC yesterday, appengine doesn't allow C modules, so that
>> takes out Mako, SQLAlchemy, and parts of Paste and Setuptools.  So it
>> will take a while to get any non-trivial Pylons app running on it.
>>
>> http://pylonshq.com/irclogs/%23pylons/
>>
>>
> 
> Mako can be easily switched for another templating language that does 
> not require native code. I believe genshi fits this, if not you can of 
> course use the django templating language, this works fine.

A correction: Mako doesn't rely on C code.  It relies on the ast module, 
which appengine has disabled.  Genshi also relies on this.

> SQLAlchemy is a non issue as the intention is that you use Google's ORM 
> interface (looks like it's based on the Django ORM, and I'm sure I read 
> somewhere the data ends up in a BigTable instance). Paste is replaced by 
> google's dev_appserver.py and setup tools is almost replaced by appcfg.py.

Well, Paste does a lot of things.  Certainly the Paste HTTP server 
doesn't need to be used.  Setuptools is another separate issue.  Right 
now most people (this only having been a couple days) are writing their 
apps with just some Django libraries, and other built-in stuff, so they 
are kind of skipping the library issue entirely.  But I don't think it's 
realistic that you should just not use libraries if you use appengine.

All of these are resolvable with some level of rewriting.  Even 
SQLAlchemy could probably have a BigTable backend.  It's just a question 
of how much rewriting the upstream authors are willing to do.

   Ian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to