Checksums with FreshMarker File

Some time ago, I had the idea that a checksum calculation could be added to the FreshMarker File library. FreshMarker File is an extension for FreshMarker to support the Java types File and Path. A checksum support would allow the current checksum to be added to lists of files without any major detours. The idea is quite simple. A corresponding built-in is appended behind a file or path variable.

Context-Sensitive Tokenization With CongoCC

If you want to interpret a programming language or a DSL, there’s no way around using a parser generator. At the heart of FreshMarker is a template parser generated by the CongoCC parser generator. I can’t praise this JavaCC successor from Jon Revusky highly enough. Many new features and completely revised parts make the parser generator much more usable than its seemingly dead predecessor. CongoCC also helps wonderfully with a small current problem.

Quo Vadis, Lambda?

To implement a new built-in for sequences, lambdas were added as a new language component of the FreshMarker Expression Language. The lambda expression made it much easier to map the semantics of the new count built-in in an easily readable syntax. Now that lambda expressions are available, what else can they be used for and what still needs to be implemented?

Select Operator for FreshMarker

An important component of the FreshMarker template engine is the built-in expression language. The expression language is used to utilize not only variables but also complex expressions in directives and interpolations. When evaluating other expression languages for customer projects, sometimes I am interested in integrating some findings into the FreshMarker expression language.

Spider Charts with Playfair

Spider charts, also known as radar charts, are among the most versatile tools for data visualization. These circular charts make it possible to display multiple variables simultaneously and present complex data sets in an intuitive form. They are particularly valuable for analyzing performance indicators, evaluations, or comparisons between different objects or time periods. Wouldn’t it be nice to have Playfair generate spider charts?

Playfair with EchoSVG

Pie Chart

You may have noticed that the Playfair project started with the JFreeSVG library and has now switched to the EchoSVG library. Both libraries have their advantages and disadvantages, but JFreeSVG’s GPL 3.0 license in particular makes working with it difficult in many projects, often even impossible. With the next version 0.7.0, Playfair will switch to the Apache 2.0 license. This would be a little too little content for a blog post, so let’s take a look at one of EchoSVG’s weaknesses.