Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Jemplate

< >

Jemplate is a template language created in 2006 by Ingy d枚t Net.

#1580on PLDB 18Years Old
Download source code:
git clone https://github.com/ingydotnet/jemplate
HomepageSource Code

JavaScript Templating is the best way to turn AJAX/JSON data into HTML. Jemplate is the best way to do JavaScript Templating.


Example from the web:
<style> .stretch { width: 100%; height: auto; max-height: 100%; } </style> <div class="row"> [% FOREACH kitty = items -%] [%- LAST IF loop.index==12; -%] <div class="col-md-2"> <a href="[% kitty.link %]"> <div style="width: 240px; height: 240px; overflow:hidden;"> <img src="[% kitty.media.m %]" alt="[% kitty.title.replace('#.+','') | html %]" class="img-circle stretch"> </div> </a> </div> [% END %] </div>

- Build the next great programming language Add Issues About Search Keywords Livestreams Labs Resources Acknowledgements

Built with Scroll v154.3.0