Using Handlebars JavaScript with Ruby on Rails

Handlebars allows to build semantic templates. Handlebars is largely compatible with Mustache templates. In most cases it is possible to swap out Mustache with Handlebars and continue using your… Read more

Similar

JavaScript without loops

We've been talking about writing less complex JavaScript. We do this by choosing the right abstraction to solve a problem. But how do you know which abstraction to use? So far, we haven't looked at any concrete examples of how to do this. In this article ... (more…)

Read more »

Obfuscate JavaScript Code in 3 Steps

How to obfuscate JavaScript code to hide it from View Source? Best javascript Tutorials, Articles, Tips and Tricks by Yogesh Chauhan. Well written, nicely organized, simple to learn and easy to understand Web development building tutorials with lots of ex... (more…)

Read more »

How to break out of JavaScript forEach() loop

forEach() loops in JavaScript are fun to use – until you need to get out of them. Here is a short guide on how forEach() works, how to break out of a forEach() loop, and what the alternatives to a forEach() loop are. What is a forEach() loop?A forEach() l... (more…)

Read more »