Loading ...
Sorry, an error occurred while loading the content.

In-browser templating (Jenner)

Expand Messages
  • deadpixi.software
    Hi everyone, Thought y all might be interested in another project of mine: Jenner. Jenner is a completely in-browser template engine, using JSON as the model
    Message 1 of 1 , Sep 12, 2009
    • 0 Attachment
      Hi everyone,
      Thought y'all might be interested in another project of mine: Jenner. Jenner is a completely in-browser template engine, using JSON as the model and Esel as the template expression language.

      Unlike other in-browser template engines, Jenner templates are just web pages with Esel expressions embedded anywhere. Unlike other in-browser template engines, there is no overloading of "class" attributes or a fallback on XSLT or anything like that. The templates are written in a very natural way.

      Not to hold you in suspense, here's a sample template:

      <ul>
      ${for i from 0 to people.length return
      <li>${people[i].name}</li>
      }
      </ul>

      Putting that in a web page will render in-browser, with no modifications or scripting languages or anything on the server-side.

      Please feel free to take a look at http://www.deadpixi.com/jenner. There are live demos available as well - be sure to view the source of the pages, so you can see the templates.

      Please feel free to contact me directly (contact info is available at http://www.deadpixi.com) if you have any questions. Please especially contact me if you find Jenner useful.

      Thanks,
      Rob
    Your message has been successfully submitted and would be delivered to recipients shortly.