db based templates and caching render function

1 view
Skip to first unread message

Roberto Saccon

unread,
Jan 25, 2010, 7:01:08 PM1/25/10
to nitro-devel
I have a django based app with customized db-based template engine. I
want to migrate that to nitro. Of course that would require a bit of
work (in the case of django it also caused me a lot of headache) to
adapt the template engine. Or has anybody already started hacking on
something like that ?

And what is the most efficient way to handle normal templates in
Nitro ? Serializing the render functions and caching them (in memcache
in case of appenginejs) ?

--
Roberto

George Moschovitis

unread,
Jan 26, 2010, 2:30:03 AM1/26/10
to nitro...@googlegroups.com
I have a django based app with customized db-based template engine. I

what is a db-based template engine?

And what is the most efficient way to handle normal templates in
Nitro ? Serializing the render functions and caching them (in memcache
in case of appenginejs) ?

you mean Normal Template? The latest version of Nitro will provide a (plugable) Template manager for Normal Templates (you can easily write template managers for other template engines).

-g.

--
http://www.gmosx.com/blog

Roberto Saccon

unread,
Jan 26, 2010, 3:17:58 AM1/26/10
to nitro-devel

On Jan 26, 4:30 am, George Moschovitis <george-moschovi...@gmosx.com>
wrote:


> > I have a django based app with customized db-based template engine. I
>
> what is a db-based template engine?

the templates are stored in db, not file system. This makes sense,
e.g. when app users can provide or update templates or when developer
does not want to re-deoply the app for template changes.

George Moschovitis

unread,
Jan 26, 2010, 3:20:49 AM1/26/10
to nitro...@googlegroups.com
ah, wait for the next push,
you will have to provide a custom template manager that loads from db...
I 'll give you more details in the next few days.

-g.

--
You received this message because you are subscribed to the Google Groups "nitro-devel" group.
To post to this group, send email to nitro...@googlegroups.com.
To unsubscribe from this group, send email to nitro-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nitro-devel?hl=en.




--
http://www.gmosx.com/blog
Reply all
Reply to author
Forward
0 new messages