Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Template engine for android [closed]

Tags:

android

I am looking for a template engine for Andorid like Apache Velocity for Java. I have already found Common Template Engine (https://code.google.com/p/commontemplate), but there is no user manual.

Do you know any other template engine? Have you any experiences with it?

Thank you very much

like image 850
mullen18 Avatar asked Jul 22 '13 21:07

mullen18


People also ask

Can we use template in Android Studio?

Android Studio provides code templates that follow the Android design and development best practices to get you on the right track to creating beautiful, functional apps. You can use templates to create new app modules, individual activities, or other specific Android project components.

Is JSP a template engine?

Spring MVC, Struts or Apache Wicket are examples of web frameworks, whereas JSP, Velocity or FreeMarker are examples of template engines.


1 Answers

Chunk is perfect for Android projects.

It has a small footprint but plenty of built-in functionality. The {$tag} syntax is straightforward and easy to learn.

With Android in mind, the docs include an extension example that loads templates from a web server, so you can change the templates without having to release a new version of your app.

Full disclosure: Chunk is my own open-sourced template engine.

like image 80
Tom McClure Avatar answered Nov 15 '22 00:11

Tom McClure