Category Archives: JavaScript

Review: jQuery 2.0 Development Cookbook

There are many JavaScript libraries out there but jQuery is still one the most commonly used and probably one of the most popular JavaScript libraries in use today. Today I’m going to review the “jQuery 2.0 Development Cookbook” by Leon … Continue reading

Posted in JavaScript, Open Source, Reviews | 30 Comments

Getting started with WebSockets using Python and Tornado

Using WebSockets in Python with Tornado is very easy. Today I’ll show you how to build a very simple application that will demonstrate the basics of getting everything working.

Posted in JavaScript, Open Source, Python, Tornado | 6 Comments

Book Review: Creating Mobile Apps with jQuery Mobile

Today I’ll be reviewing the eBook version of Creating Mobile Apps with jQuery Mobile authored by Shane Gliser and published by Packtpub. You can check out Shane’s blog here.

Posted in Android, HTML5, iPhone, JavaScript, Mobile, Open Source, Reviews | Comments Off on Book Review: Creating Mobile Apps with jQuery Mobile

Book Review: CoffeeScript Programming with jQuery, Rails, and Node.js

Today I’m going to review the ebook version of CoffeeScript Programming with jQuery, Rails, and Node.js authored by Michael Erasmus and published my Packtpub.

Posted in CoffeeScript, JavaScript, Node.js, Open Source, Rails, Reviews | Comments Off on Book Review: CoffeeScript Programming with jQuery, Rails, and Node.js

Using Python to build a web project using jQuery (AJAX) and Flask

I’m working on a new project where I need to have a dashboard fetch updates on a regular basis from it’s host server. I decided to use Flask which is a microframework for Python based on Werkzeug and Jinja 2 … Continue reading

Posted in JavaScript, Open Source, Python | 1 Comment

Tutorial: Embedded JavaScript templates (EJS) and Node.js

There are several ways to create web applications with Node.js. One popular way is to use Jade. Today, I’ll show you how to use EJS (Embedded JavaScript templates) with Node.js to create a simple web application. If you’ve used PHP … Continue reading

Posted in JavaScript, Node.js, Open Source | 4 Comments

An easy tutorial on using callbacks in Node.js

In a previous post I showed you how to use the EventEmitter to give a notification when a webpage had been downloaded (or ran into an error). Today I’ll show you the same project but using a callback instead.

Posted in JavaScript, Node.js, Open Source | Comments Off on An easy tutorial on using callbacks in Node.js

A quick guide to JavaScript classes and inheritance

Today I’m going to go over how to create classes in JavaScript and how to work with inheritance. The first thing to confess is that JavaScript doesn’t actually have classes (please keep this in mind as I mention class in … Continue reading

Posted in JavaScript, Node.js | Comments Off on A quick guide to JavaScript classes and inheritance

Working with Events in Node.js using EventEmitter

The EventEmitter class in Node.js is pretty easy to work with when it comes to triggering custom events in your projects. Today I’m going to show you a simple demo project to fetch the contents of a website and then … Continue reading

Posted in JavaScript, Node.js, Open Source | 1 Comment

Performing content-negotiation with Express 3 and Node.js (examples in CoffeeScript and JavaScript)

Express version 3 introduces a nice feature that performs content-negotiation on the request accept header field when present. This makes it easy to respond to a client request with the requested format. In this article I’ll show you how to … Continue reading

Posted in JavaScript, Node.js | 1 Comment