NodeJS gives me the ability to write back-end code in one of my favorite languages: JavaScript. It's the perfect technology for building real time applications. In this tutorial, I'll show you how to build a web chat application, using ExpressJS and Socket.io... read more
Media Query Change Detection in JavaScript Through CSS Animations
The following is a guest post by Alessandro Vendruscolo . Media queries are relevant to both CSS and JS. The need and desire to manage those in one place is... read more
Line Clampin’
You want X lines of text. Anything after that, gracefully cut off. That's "line clamping" and it is a perfectly legit... read more
Winners of Interactive HTML5 World Maps from Simplemaps.com
Tweet Winners of Interactive HTML5 World Maps from Simplemaps.com May 5 2013 by Jacob Gube | No Comments Last month, we had a giveaway of interactive HTML5 world map licenses from Simplemaps.com. Each license, which lasts a lifetime, is worth $199.... read more
Getting Into Ember: Part 4
In my previous tutorial , I touched on how to use Ember.Object to define your models and work with datasets. In this section, we’ll look more closely at how Ember uses the Handlebars templating framework to define your app's user... read more
How to use local storage for JavaScript
Creating an to-do app is usually the first application you learn how to build in JavaScript but the problem with all those apps is that when you reload the page all those to-do’s are gone. There is a simple solution though, and that’s to use local storage. The good thing about local storage is that you can save those bits of data to the user’s computer so that when they reload the page all of their todo’s will still be there and local storage is actually quite simple when it comes to saving the data and making it available... read more
Defensive HTML and CSS
When it comes to rendering on somebody else’s DOM, you can’t naively write HTML and CSS like you might for your own self-contained web application. You’ve got to think carefully about how preexisting CSS and JavaScript code might affect your application. Before you begin to write any HTML or CSS, you’ll have to make an important decision regarding the look and feel of your... read more
Meet the Connect Framework
Newcomers to NodeJS typically find its API difficult to grasp. Luckily, many developers have created frameworks that make it easier to work with Node. Connect is one such... read more
How to use the download attribute
HTML5 came with all new APIs, new input types and attributes for forms. As is often the case, those major additions often obscure the minor upgrades and I think that this is particularly true of the download attribute. As you know, there are some files that the browser doesn’t automatically download; images, other web pages and depending on the settings in your browser, sometimes even PDFs.... read more
