FreeMarker 2.3.10 is released
We're pleased to announce that FreeMarker 2.3.10 is now released. This release contains several important bugfixes and minor feature improvements. It is completely backwards compatible with any other 2.3.x version and as such can be used as a drop-in replacement for them.
Download from SourceForge
Full list of changes
8 Comments:
Any chance of getting this in the Maven repo?
Yes, Mirko Nasato submitted the Maven upload request to Codehaus JIRA.
Great Work!
FreeMarker is amazing. Thank you very much!
I use it use it instead of just JSP I find its library of built-ins, its handling of control flow, its macro and function definition features, scoping, and general "works as expected" to be far superior to plain JSPs. I get a significant productivity boost from using FreeMarker, and I'm a big fan.
A little while ago I posted a bug in FreeMarker 2.3.9 on Java 6 that was giving me grief. The FreeMarker team responded quickly and efficiently. After some discussion and testing a release candidate, FreeMarker 2.3.10 is now officially available to the public and contains the fix to the bug I reported. Kudos, guys.
-Y.B
All of us at iCentris have currently embarked upon a torrid love affair with Freemarker templates. I admit that I, too, have been very excited about having them around. A freemarker template has quickly become the knee-jerk, defacto response to generating output - which is great for readability and maintainability. But lately, after repeated profiling sessions with all the top offenders coming from freemarker packages, I’ve come to realize that we’re using them way too much. And here’s why…
When should a template engine be used? There seem to be two answers to this question which both carry equal weight with developers. They are:
1. You want to have an easily editable version of your dynamic view. This will allow easy customization.
2. You want the representation to be easily readable to future developers. This will keep it understandable and maintainable.
Now, this might seem like a minor point to pick at. But bear with me…
So, how much faster is pure java than freemarker templates? Well, this is going to depend largely on the complexity of the template. As an example, I’m going to pick a template of medium complexity that renders an HTML button tag in a consistent fashion. The output will be very simple and we’ll have a lot of HTML attributes that can be set within the template.
car struts: If you have identified specific bottlenecks during your profiling, feel free to share them with us.
By the way, 2.3.14 will include some significant scalability improvements in template caching on multicore CPUs. It is not released yet, but you can grab a build from the Artifact section of our Bamboo.
Free Marker is cool. We use it in to generate export files with specific patterns. As we already have java data objects available so freemarker goes pretty slick to generate text export files with custom pattern.
Post a Comment
<< Home