5

Are there any alternatives to duel engine? We would like to use it but there's not enough documentation and downloadable examples. Perhaps something more popular and tested would be preferable. We are looking to generate server-side templates and then pass the template as an object to a view using ajax requests. It would also be beneficial if we didn't have to send the entire template on each request but if we had the option to send snippets from start div to end div for example. We also really like the idea of using REST services to provide templates to clients.

1

Mustache is a nice template library that has implementations for many languages including Java and JavaScript. It provides everything that is needed for a template engine and avoids support for logic.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.