FreshMarker 2.6.0 Released
Just in time for Easter time there is a new FreshMarker release available. There are some more enhancements to the built-ins through the addition of an easy lambda support.
Thoughts on agile software development
Just in time for Easter time there is a new FreshMarker release available. There are some more enhancements to the built-ins through the addition of an easy lambda support.
Vor vier Jahren begann das Abenteuer FreshMarker mit dem Blog-Beitrag „FreshMarker, eine frische Template Engine für Java“. Was als akademisches Experiment startete, hat sich inzwischen zu einer vielseitigen und stabilen Template Engine entwickelt. Mit Version 2.5.0 und insgesamt 87 Blog-Beiträgen, die verschiedenste Aspekte beleuchten, ist nun der richtige Zeitpunkt für ein Resümee.
Some algorithms are real classics and yet nobody really knows them. Day in, day out, everyone is happy about the beautiful wrapping of their text in the word processor, but why does the text actually look so beautiful spread across the lines?
It’s not that often that a design pattern really blows my mind anymore, but recently I discovered the Passage of Time Pattern by Mathias Verraes. This pattern describes how to deal with time-dependent processes in event-based systems. What makes this pattern stand out is its elegance and simplicity.
This article is a slightly updated English version of the article “REST Endpunkte mit Filtern”.
In addition to sorting and pagination, filtering is a fairly common action on REST endpoints. In contrast to the first two, however, there is no adequate solution for filtering in the Spring Boot framework. With little effort, however, this can be elegantly implemented with the Spring Boot tools.
Tunnel constructions are classic waterfall projects in which extensive planning is carried out and then construction can be completed without major changes. There are geological surprises from time to time, but a tunnel plan is, quite literally, set in stone.
Mit der aktuellen Version von FreshMarker steht eine neue Prompt-Direktive zur Verfügung, mit der KI-generierte Inhalte direkt in Templates eingebettet werden können. Diese Funktion erweitert die Möglichkeiten von FreshMarker erheblich und macht dynamische, kontextbasierte Inhalte noch einfacher nutzbar. Was ist die Prompt-Direktive? Die neue Direktive <#prompt> ermöglicht es, innerhalb eines Templates einen Prompt an eine … Read more
As a developer, I work with the IntelliJ IDEA development environment, as do many other developers. I don’t want to discuss its many advantages for developers here, but rather how to use Playfair with the AsciiDoc plugin.
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.
In the meantime, a lot has happened and the release of Playfair 1.0.0 was forgotten. We would like to make up for this omission and briefly present the highlights of the release.
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.
Just in time for Carneval there is a new FreshMarker release available. There are several enhancements to the built-ins through the addition of an easy lambda support.
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?
In the first article on the Select Operator, the implementation was provisionally terminated with a few weaknesses. In this article, two of the weaknesses are eliminated.