garann / template-chooser

Tool to help select the right template engine for a project.
http://garann.github.com/template-chooser/
476 stars 66 forks source link

Added logicfull and not-format to doT.js #6

Closed olado closed 12 years ago

olado commented 12 years ago

I added logicfull (as JS is allowed) and not-format as doT has an option to preserve original formatting or strip whitespaces. doT.js is flexible.

garann commented 12 years ago

Thanks for the PR, and I'm sorry about the lack of clarity. I need to find a better way of stating some of these things. I'll change doT to logicful, but the formatting thing is meant to indicate whether you write the template in a language other than HTML. Going to close the PR and try to find a better way of expressing that..

olado commented 12 years ago

Thanks. Additional criteria that might be good to add: 1) Size of the engine 2) Does the code in the compiled function have dependencies on the engine - useful when you want to produce and ship compiled templates vs the text. 3) Is it HTML specific or can it be used on any kind of text.

------Original Message------ From: Garann Means To: Laura Doktorova Subject: Re: [template-chooser] Added logicfull and not-format to doT.js (#6) Sent: Apr 30, 2012 6:45 PM

Thanks for the PR, and I'm sorry about the lack of clarity. I need to find a better way of stating some of these things. I'll change doT to logicful, but the formatting thing is meant to indicate whether you write the template in a language other than HTML. Going to close the PR and try to find a better way of expressing that..


Reply to this email directly or view it on GitHub: https://github.com/garann/template-chooser/pull/6#issuecomment-5429724