There are many template engines that we can use with B4J to build web app.
WebUtils.ReplaceMap together with the CreateMap keyword are useful for building dynamic strings, especially for html output. For example, in the chat example when a user writes a message we want to add a html line with the user name and message. The user name should be bold and the message...
www.b4x.com
Hey there! Attached you will find an example on how to use these technologies with our beloved B4x. Find here the Freemarker library: https://www.b4x.com/android/forum/threads/freemarker-library.157971/ I plan on contacting the HTMX author and ask him to post this example here...
www.b4x.com
Allow me to introduce you to the library that I am developing for use in our clients' web app projects. Currently, the library is still under development, but I will introduce a few small components first and will gradually update them in the future. Part 1: Firebase Services class for jServer...
www.b4x.com
This is a mini template engine which can generate HTML dynamically by parsing templates on server-side. It is a bit like Django. 1. Templates A template is a text file which contains variables, tags. 1.1 Variable There are two types of template variables, one is common variable, the other is...
www.b4x.com
A wrap of Apache Velocity Engine library for B4A and B4J What is Velocity? Velocity is a Java-based template engine. It permits anyone to use a simple yet powerful template language to reference objects defined in Java code. Source: https://velocity.apache.org/ Download additional libraries...
www.b4x.com
Each solution comes with example.
In my projects, I use Velocity together with the ready made AdminLTE3 templates.