AngularJS Tutorial: Unit Testing Angular Applications Using Jasmine and Karma

In the previous installment of this series we’ve learned how to perform End-to-End application testing using Jasmine and Protractor. In this part, we’ll discuss how to test controllers and how to automate this process. In fact, running tests manually may make the whole process tedious and may prompt one not to use tests altogether, so we’ll learn how to make test ...

Read More »

Building a Node Module That Connects to DB2

The NPM registry contains many Node modules that help you to connect to a wide variety of databases including MySQL, Oracle, Mongo and even IBM DB2. This article demonstrates how to write a very simple Node module that connects to DB2 using the ibm_db Node module provided by IBM. Key concepts covered in this article: Creating a simple Node module Using ...

Read More »

HTML5 Notification Example

In this example we are going to learn about HTML5 notification API.                           For this example we will use: A computer with a modern browser installed. notepad++. Wamp Server: You can actually use any server, the most important thing is that your app has to be hosted on ...

Read More »

Comparing Elixir and Go

Elixir and Go have both grown significantly in popularity over the past few years, and both are often reached for by developers looking for high concurrency solutions. The two languages follow many similar principles, but both have made some core tradeoffs that affect their potential use cases. Let’s compare the two by taking a look at their backgrounds, their programming ...

Read More »

Effectively Testing Dockerized Ruby Applications

Docker is an incredibly popular tool for virtualizing development and production environments. Its value lies in the idea that it creates portable, scalable environments that anyone can scaffold within minutes. However, a consequence of virtualizing environments is that we have to take a different approach to testing them. How do we effectively test Docker applications? This can be a loaded ...

Read More »

AngularJs 2 Series: Concept of Services

Introduction In this article I will demonstrate the concept of Services in AngularJs 2. I will show you how to develop a custom alert service that displays a message as an alert notification. We will use Angular CLI (Command Line Interface) to build the AngularJs 2 Service. The article assumes that you have already setup AngularJs with CLI. For more ...

Read More »

HTML5 History API Example

Pre HTML5 we could only perform few basic operations on the browser history stack, simple operations like re-visiting a previously visited URL. Today (with HTML5) we can perform more complex operations on the browser history stack.   In this example we are going to develop simple modules that work with the new features added to HTML5 history API.     ...

Read More »

Setting Up Deployment for AWS CodeDeploy and AWS Elastic Beanstalk

In the second post of this series, we continued with a quick tutorial on deploying new Docker images to Amazon’s EC2 Container Service with Codeship. We’ll wrap things up with a discussion about the similarities and differences of Amazon’s Elastic Beanstalk and CodeDeploy. So, we’ve seen how to deploy Docker images to ECR, but what about Amazon’s other non-Docker code ...

Read More »

Docker Hub Nginx Tutorial

In this tutorial we will see how to take advantage of Docker Hub to deal with Docker images, with an Nginx image, one of the most used web servers in the last times. For this tutorial, Linux Mint 18 and Docker version 1.12.1 have been used.               Tip You may skip Docker installation and ...

Read More »