Dec. 12 2011

HAH – super cool template / DSL engine for PHP


HAH ( HAH Ain’t HAML ) is a HAML-like template language specifically for PHP with some added features and a focus on development speed. This is my first official beta release of this engine. You can check out examples, documentation and download it at http://hah.bluelinecity.com/.

Its goal is to make HTML/XML authoring in a PHP Template environment as simple and painless as possible.

4 Responses to “HAH – super cool template / DSL engine for PHP”

  1. Bruno Molteni Says:

    Hi Bryan! just wanted to tell you that this is what I’ve been looking for a long time, I tried the port of jade to php but it’s not really finished, and your project is exactly what I wanted! any chance you put your code on github or something similar to make issues reporting easier?

  2. admin Says:

    Thanks Bruno! I’ve been wanting to get some of my stuff up on google projects for that exact reason. Thanks for the input!

  3. Bruno Molteni Says:

    Hey Bryan, is there a chance you can implement something for using variables for inclusions… like:

    instead of

    !content.hah

    using

    !$content

    and change the file to load from the variable.

    I gave it a shot myself but couldn’t manage to get it to work…

  4. benglish Says:

    Hi Bruno, I actually had a future feature using that very syntax to include tabular data from a variable… however if understand what you’re asking I think your idea better.

    You’re saying $content would have a path to a template to include and would be evaluated as such?

    I think I can add that.

Leave a Reply

4 Comments »




  • I Killed WarMECH

    Morgue File

    Electronic Frontier Foundation

    Librarian Chick, a collection of links to the best of the Internet's FREE resources for those with big brains and small pocketbooks!



    Flying Spaghetti Monster

    The Out Campaign: Scarlet Letter of Atheism