user-jackychan / trimpath

Automatically exported from code.google.com/p/trimpath
0 stars 0 forks source link

Support same syntax as velocity #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The syntax of trimpath is quite close to Velocity's syntax, but not close
enough to directly use the templates from each system in the other.  It
would be really nice to allow the same syntax to be used exactly, so that
templates could be parsed on either the server or client side.  

The templates can then be run in 2 modes.  JavaScript disabled mode, where
the templates are used on the server to directly produce HTML
pages/content, and JavaScript enabled mode, where the templates are served
to the client and used by the JavaScript interpreter.  

Even better would be to have 2-3 other implementations for different
languages so that templates could be shared across a variety of servers.

Original issue reported on code.google.com by wayfarer...@gmail.com on 15 Feb 2008 at 7:50