Histone - open source template engine for Java, JavaScript and PHP

Friday, August 24, 2012 Posted by Ruslan Matveev
Hi all, it's been a while since my last post, but I'm back and I have a good news. I'm happy to give you a short introduction to a project that I've been working on with my team for the last half a year. It's finally came to the state when I can share it with all of you. Histone is cross-platform open source template engine, implemented in JavaScript, Java and PHP. So why another template engine? Well because there is simply no product that matches the list of the requirements that we set for ourselves when we were looking template engine for one of our projects:

  • - Cross-platform templates. Template engine should be able to produce same result using the same data and template on different platforms (web-browser and server).
  • - Simple and intuitive template syntax. In my opinion Smarty template syntax is a good example of well-designed, simple and clean template syntax. Maybe that's because this was the first template engine I've ever work with, maybe that is because it really has no syntax constructions that complicates it's all.
  • - No embedded code in templates. Some template engines allow you to use code embedding, which means that you can enrich your template with the blocks of the programming code. I think that is very bad idea.
  • - Extensibility. Developer should be able to extend template language by adding his own methods, properties and so on, which is specific to the project that uses it.
Project is currently in alpha stage, and there are many many things that we'd like to improve before the official release. We're actively looking for contributors, who can give us a feedback, help us to improve the documentation and so on. If you're interested, please let me know by commenting in this blog post, by email or privately. You can find more information about the project here:


Post a Comment