Providing a seamless user experiences often means removing the need to refresh a page when adding or removing content. This can be accomplished by working with AJAX within your Rails application.
If you think of an individual tweet as a Handlebars template, you can understand why it would be expensive to compile a template each time a tweet is rendered. Precompiling templates saves time on the client side by reducing your application’s runtime.
There are so many reasons to use SASS over traditional CSS. For those of you who are unfamiliar with SASS, it’s a CSS extension language that allows you to code CSS like you would a traditional programming language.
Node.js is tiny and wasn’t really meant to build websites, which is why frameworks like Express.js are useful. Express gives Node structure so you can build a functional website. Along with a templating engine such as Handlebars.js, Node can be used to build fully functional web applications.
Devise is a powerful authentication system for Rails applications. This tutorial walks you through setting up devise, as well as setting up your user MVC. Follow along with the code sample on GitHub.
If you do any front end development, you will have to navigate your DOM and properly target DOM elements. Several jQuery functions exist to traverse the DOM. Having a strong command of the most common traversal functions will speed up your development time immensely.
Templates are useful when building web applications by allowing you to easily display repeating data. Handlebars.js is a templating engine that allows you to take repeating data and display it in an organized fashion.