JS Frameworks (14)


Events in Node.js

Since Javascript is an event driven language, many objects in Node.js emit events. Events are the important things that make Node.js awesome. There are tons of objects that emit events in node. You can find several examples in the documentation. To access events you need to use require(“events”). I’ve written a sample application that demonstrates […]




Form Validation in Node.js with Express-Validator

I spent a good amount of time scouring the internet for a good form validation tutorial using Node.js. Since I was only able to find one decent tutorial I decide to write my own using express-validator, which is an express.js middleware for node-validator. If your using Node.js and your not using Express then you aren’t […]




A Sample App with Node.js, Express and MongoDB – Part 2

In my last post, we created a simple Employee database using Node, Express and MongoDB. In this tutorial, we’ll add the ability to edit and delete employees. Edit an Employee The first thing we need to do is add additional functions to employeeprovider.js. employeeprovider.js //find an employee by ID EmployeeProvider.prototype.findById = function(id, callback) { this.getCollection(function(error, […]




A Sample App with Node.js, Express and MongoDB – Part 1

In this post, we’re going to be creating a simple Employee database using Node, Express and MongoDB. By the end of this tutorial, you should be able to save a new employee and display all saved employees. Getting Started MongoDB Installation and configuration of MongoDB is beyond the scope of this post. You can download […]



Getting Started with Node.js on Mac OS X

This is a step-by-step process on installing Node.js on Mac OS X. There are several “getting started” tutorials online but I didn’t find much on Mac OS X. The ones I did find were a little confusing since I had no previous experience with Node.js. At the time of this tutorial, I’m running OS X […]




Creating Components with Angular.js

One of the great things about Angular.js is the ability to create reusable components. Components are created using directives which are only available in Angular. Directives let you invent new HTML syntax, specific to your application. In this tutorial, I’ll walk you through the steps of creating a <contactform> component. The first thing we’ll do […]



A RESTful Client with Angular.js

In my last post, I showed you how how to create a RESTful API in PHP. In this post, I’ll show you how to implement that API using Angular.js. Angular.js is a JavaScript framework developed by Google, designed to make your front-end development as easy as possible. Angular follows the MVC (model-view-controller) pattern of software […]