How to Chain JavaScript Promises – Intro Tutorial to JavaScript Promises


What are JavaScript promises? In it’s new ECMA 6 version, JavaScript allows you to create a new type of object called a Promise. Promises are used for asynchronous or deferred computations, and can be an alternative to the usual callback approach. Promises can be used both on the browser (support is still not universal but … Read more

Node.js Quickies – Working with MySQL

Node.js Programming Tutorials

In this tutorial I’ll give you a quick overview on how to work with MySQL and Node.js. Firstly, you need to include the mysql package in your package.json file, under “dependencies”. Make sure you run “npm install” to download all your project’s dependencies. Like with many things in life, you start by establishing a connection: … Read more

HTML5 Mobile App Development for Beginners

HTML5 Mobile App Development for Beginners

Have you ever thought of a cool idea for an app, just to find out later that some punk kid built it first and became a billionaire? What if you could jump straight into iOS and Android app development using the tool set you already have: HTML, CSS and JavaScript? We live in post-pc world … Read more