My team is currently exploring Freemarker as a web view and template language. "Jsp is overkill for what we need", "no code snippets in view code", "it supports tag libraries", "the macros are powerful" were all listed as top benefits. In addition, there is some interest in developing tests that validate the output of views.
I'm scratching my head on this one. Another template language? I used Velocity in my last project and even dropped some hints in this blog on using Velocity with Eclipse. Velocity is good for creating email templates, but I would never recommend using it as a front end for a website.
So why will Freemarker be better? Why do I want to prevent developers from using snippets? Can't I just implement development standards instead of using a template language to enforce good programming techniques? What's so bad about just using a standard like JSP? And will Freemarker be around in three years or will it be superseded by the next latest and greatest template language?
continue reading "Is FreeMarker Another Velocity? Or Just Use JSP?"
I'm scratching my head on this one. Another template language? I used Velocity in my last project and even dropped some hints in this blog on using Velocity with Eclipse. Velocity is good for creating email templates, but I would never recommend using it as a front end for a website.
So why will Freemarker be better? Why do I want to prevent developers from using snippets? Can't I just implement development standards instead of using a template language to enforce good programming techniques? What's so bad about just using a standard like JSP? And will Freemarker be around in three years or will it be superseded by the next latest and greatest template language?