Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Adding pure.js to the list? #9

merged 2 commits into from

2 participants


Hi Garran,
I've added pure.js to the list of template engines, do you mind to add it?


Sorry for letting this sit so long. If you remove the 'speedy' and 'parts' classes, I'll go ahead and merge it. Thanks!


I'm quite late too!
pure.js allow partials and recursive templates, what made you doubt about it?

For speedy, well... it may be slower than some raw string ones.
The speed of a web app is more about network latency than rendering time.
Comparing tens of msec of rendering compared with hundreds of latency, doesn't make a big difference.



Ah - I didn't see anything in the documentation about creating partial templates, but perhaps I missed it. Do you have a link? 'Speedy' isn't merely an adjective in this case - it corresponds to the question "is this one of the very fastest?" which just shows the fastest three.


A compiled template is a JS function, that can be called inside another template logic.
Here is a particular case of a template with an inner call to itself:

line 51 the template is compiled
line 52 the rendering starts
line 46 recurse, etc... Here it could be a call to another partial template.

Ok, for dropping speedy.
It looks my explanation on why raw speed does not matter client side needs some rework to impact.


Thanks for the link. I didn't find that when I looked over the docs.

The nice thing about speediness is that, as you point out, it may or may not be a crucial factor, so folks using this tool aren't obligated to consider it. :) If you drop that I'll merge this in.


Most people come from a server rendering past where speed is a crucial factor. I was like that.
But ok. I removed it.

@garann garann merged commit 9f43c30 into garann:gh-pages

Merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 11, 2012
  1. @pure

    Added pure.js to the list

    pure authored
Commits on Jan 23, 2013
  1. @pure

    Remove speedy class

    pure authored
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 1 deletion.
  1. +6 −1 index.html
7 index.html
@@ -101,6 +101,11 @@
<a href="">github</a>
+ <div class="add client-side logicless compile parts dom format">
+ <h2>pure.js</h2>
+ <a href="">project</a>
+ <span>(11.7k)</span>
+ </div>
<div class="add client-side logicless dom format">
<a href="">project</a>
@@ -115,4 +120,4 @@
<script src=""></script>
<script src="script.js"></script>
Something went wrong with that request. Please try again.