Hi,

> I noticed that the extension used for Velocity template files is .vm
> As I undestand this is done so to suggest the relationship between
> Velocity and WebMacro wm -> vm. In my opinion stressing this relationship
> becomes less and less important as Velocity drifts away from it's
> origin. We could use another name, that is prettier and more
> meaningful. I propose the extension .vt It's more meaninguful
> = Velocity template and it's also prettier in my opion. It resembles
> a well known equation kinematics 'distance equals velocity times time'.
> Feel free to flame if you find this a stupid idea :-)
>
> Rafal
>

Just another idea. In our template engine we use standard extensions (*.htm,
*.txt, *.xml) so that the engine can return the corresponding MIME type. The
focus is on the base language (text / HTML / XML ...), not on the template
language. That is very usefull, at least in our case: we can return a
text/plain document for example. Mapping is done by putting templates in
specific directories. This is not incompatible with a specific file
extension; just put the right mapping in web.xml.

I've been lurking at various Apache projects, and found Velocity. Our own
template engine will be also open source (but be patient). For the curious,
there is a very short introduction at
http://www.helide.com/htm/g-intro2.htm. My opinion is that there are too
many template engines, and many of them will not survive; that's wy i'm here
(just lurking for now): we need a standard, and that certainly could emerge
from the Apache community.

Regards.
Rolf.








Reply via email to