using with google app engine

13 views
Skip to first unread message

spider100

unread,
Jan 26, 2010, 2:26:47 AM1/26/10
to JSON Template
Can i use this with google app engine (python)
can i have an example fo how to do so by loading a html template from
my app.

Can i also have an example of javascript just a simple string template
and json object.
many thanks

Andy Chu

unread,
Jan 27, 2010, 4:43:11 AM1/27/10
to JSON Template

On Jan 25, 11:26 pm, spider100 <spydre...@yahoo.co.uk> wrote:
> Can i use this with google app engine (python)
> can i have an example fo how to do so by loading a html template from
> my app.

It's easily usable with App Engine. It's just a single .py file that
you can copy into your app.

The CGIs in http://code.google.com/p/json-template/wiki/JsonTemplateExamples
, reusing_the*.py, are perfectly usable on App Engine. Although most
people will want to use a "web framework" rather than CGI.

There is nothing special about using it on App Engine as opposed to in
any other Python program.

> Can i also have an example of javascript just a simple string template
> and json object.

An example is linked from the intro article:

http://json-template.googlecode.com/svn/trunk/doc/testTableExample-01.js.html

Andy

Reply all
Reply to author
Forward
0 new messages