January 11, 2013

Mustache

I saw an interesting approach to view rendering. Often in web projects, the template or views will grow to include many conditionals. You will start to see conditions littered about. Some get to contain logic like this:

<% If (someObject.Count() > 0) { %>
            <div>Something...</div>
          <% } %>
          

Enter…

Continue reading