Koren Leslie Cohen

  • About
  • Blog
  • Contact

8 comments

Ruby / Rails

:remote => true in Rails Forms

December 2, 2014 by Koren Leslie Cohen

rails

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.

7 comments

JavaScript

Precompiling Handlebars Templates

November 13, 2014 by Koren Leslie Cohen

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

JavaScript

Pausing a JavaScript Loop

November 3, 2014 by Koren Leslie Cohen

preloader

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

CSS

Styling with SASS and Compass

November 2, 2014 by Koren Leslie Cohen

devise redirects

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

JavaScript, Tutorials

Node.js Tutorial: Creating a Simple Application with Node, Express and MongoDB

October 29, 2014 by Koren Leslie Cohen

devise redirects

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

Ruby / Rails, Tutorials

Rails Tutorial: Authentication with Devise

October 19, 2014 by Koren Leslie Cohen

rails

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

JavaScript

Traversing the DOM with jQuery

October 11, 2014 by Koren Leslie Cohen

front end engineer interview questions

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

JavaScript, Tutorials

Handlebars.js Tutorial: Templating with Handlebars

October 5, 2014 by Koren Leslie Cohen

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

JavaScript, Tutorials

Backbone.js Tutorial: Getting Started with Backbone

September 28, 2014 by Koren Leslie Cohen

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

JavaScript Objects & Prototypes

September 3, 2014 by Koren Leslie Cohen

javascript array methods

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.

  • Newer Posts
  • 1
  • 2
  • 3
  • 4
  • 5
  • Older Posts

  • GitHub
  • Instagram
  • LinkedIn
  • RSS
  • Twitter

Looking for something?

Copyright 2025 Koren Leslie Cohen