Do you want to know how to develop your skillset to become a Web Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. Building web apps with Node.js
2. HTML5 Programming Cookbook
3. CSS Programming Cookbook
4. AngularJS Programming Cookbook
5. jQuery Programming Cookbook
and many more ....
I agree to the Terms and Privacy Policy

Getting a new node project started with npm

The aim of this guide is to get people getting started with Node.js and npm, while also showing some of the handy commands I use to bootstrap my projects.           Create your project directory. Change to the directory you just created. Tell git to make a repo. Pull down a preconfigured .gitignore file for node projects ...

Read More »

Browser to browser communication with Vert.x, websockets and HTML5

I’ve been playing around with Vert.x for a couple of weeks and I’m really starting to like the simplicity of the framework. With very little configuration you can quickly get impressive results. In this article I’m diving a bit deeper in how to set up browser to browser communication using the Vert.x eventbus by using the javascript client side API. ...

Read More »

How to use Gulp to generate CSS from Sass/scss

              Contents 1. Set up the infrastructure 1.1. Install Node.js 1.2. Install gulp 1.2.1. Install gulp globally 1.2.2. Install gulp in your project devDependencies: 1.2.3. Create a gulpfile.js at the root of the project: 1.2.4. Run gulp 1.3. Install Gulp plugins 2. gulpfile.js 2.1. Load the modules 2.2. Gulp tasks 2.3. Pipes 2.4. “Watching” ...

Read More »

PHP vs node.js: The REAL statistics

When it comes to web programming, I’ve always coded in ASP.NET or the LAMP technologies for most part of my life. Now, the new buzz in the city is node.js. It is a light-weight platform that runs javascript code on server-side and is said to improve performance by using async I/O. The theory suggests that synchronous or blocking model of ...

Read More »

Direct Server HTTP Calls in Protractor

When you’re running end-to-end tests, chances are that sometimes you need to set up the system before running the actual test code. It can involve cleaning up after previous executions, going through some data setup “wizard” or just calling the raw server API directly. Here’s how you can do it with Protractor. Protractor is a slick piece of technology that ...

Read More »

Javascript Prototype methods vs Object methods

In JavaScript, when you define an object, you can attach it’s functions in two different ways. Inside object’s constructor function, using this.func = function(){...} Using prototype. i.e. Obj.prototype.func = function() {...}. In both approaches, the function func() will be accessible to all the instances of your object. But which one is the best way to use? In short: Use prototype ...

Read More »

A canonical web test in NodeJS

Working with web applications in NodeJS is great. Using the same language and libraries on the client and server simplified the thinking. And NodeJS has fast tests and restart for a super quick edit-verify cycle when you’re coding. I like to write tests to verify the server-side and client-side logic, but do you know that the whole solution really is ...

Read More »

Integrating Node.js with a C# dll

Recently I had to integrate a Node.js based server application with a C# DLL. Our software (a web-app) offers the possibility to execute payments over a POS terminal. This latter one is controllable through a dedicated DLL which exposes interfaces like ExecutePayment(operation, amount) and so on. As I mentioned, there is the Node.js server that somehow exposes the functionality of ...

Read More »

Things I learnt creating a jQuery Plugin (Part I)

jQuery is one of the most used JavaScript libraries, if not the most used one, which allows to make great things with the big set of little tools it offers to the web developers: HTML/DOM manipulation, CSS manipulation, HTML event methods, effects and animations, AJAX, utilities, … One of the key aspects of jQuery is the possibility to extend it ...

Read More »