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.
8 comments
7 comments
Precompiling Handlebars Templates
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.
0 comments
Pausing a JavaScript Loop
A traditional JavaScript loop iterates over an array almost instantaneously. What happens if you want to pause each iteration of the loop? This sounds easy enough, but you’ll have to address JavaScript’s scoping issues.
0 comments
Styling with SASS and Compass
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.
13 comments
Node.js Tutorial: Creating a Simple Application with Node, Express and MongoDB
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.
6 comments
Rails Tutorial: Authentication with Devise
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.
4 comments
Traversing the DOM with jQuery
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.
14 comments
Handlebars.js Tutorial: Templating with Handlebars
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.
10 comments
Backbone.js Tutorial: Getting Started with Backbone
Step by step Backbone.js tutorial to help you get started with Backbone, a lightweight JavaScript framework designed to give structure to web applications. (Featured in JavaScript Weekly.)
0 comments
JavaScript Objects & Prototypes
JavaScript data types include simple data types such as numbers, strings and booleans, and complex data types such as objects. An object is an unordered list of data stored in name-value pairs. Property values in an object may be of any data type, including arrays, functions and strings.