incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Goodenough <david.goodeno...@linkchoose.co.uk>
Subject Re: Template file names
Date Thu, 12 Aug 2010 12:27:03 GMT
My question was not so much about which template system to use
as about whether the template system had any sensitivity to the
file extension of the template files, in particular does it set the
content-type from the extension.

David

On Wednesday 11 August 2010, Chris Anderson wrote:
> CouchDB doesn't care which template system you use. There are lots of 
them
> implemented in JavaScript. You might also look at Mustache.js.
> 
> For the one you have now .erb might provide good highlighting too.
> 
> Typed on glass.
> 
> On Aug 11, 2010, at 2:21 AM, David Goodenough 
<david.goodenough@linkchoose.co.uk> wrote:
> > I want to be able to develop CouchDB apps using the Eclipse plugin 
and
> > I want to use templates.
> > 
> > Templates have <%...%> tags in them, and the Helios (Eclipse 3.6) 
HTML
> > validator objects, saying this is not valid HTML (which is true). 
> > However if I called these file .jsp rather than .html it would be legal.
> > 
> > So my question is whether the template system cares about file 
extensions
> > and whether this has any effect on things like content types?
> > 
> > David


Mime
View raw message