Full Stack Training articles

MEAN Stack certification

Our MEAN stack zero-to-hero course now includes several quizzes and certification when you successfully complete the course.

Simon Holmes | 22 August 2016 | Business news, MEAN stack

12 Benefits of Test-Driven Development (TDD)

Let's be honest, we don't all do TDD nearly as much as we think we should. In this article Simon takes a good look at 12 benefits of following a test-driven development approach to your coding projects.

Simon Holmes | 10 August 2016 | Testing

Unit testing an AngularJS factory method returning a promise

In this article we're going to talk about how to write a Jasmine unit test to validate the values of a promise returned from an Angular factory. It's not as complicated as it sounds!

Simon Holmes | 8 July 2016 | AngularJS, Testing

Arrow functions in ES6 / ES2015

Arrow functions are a new addition to the latest iteration of JavaScript (ES2015). They allow developers to write more terse functions (i.e. fewer lines of code) but there's also a major difference between a standard JavaScript function expression and an arrow function: a reference to this is not being created for every new function definition. Let's take a look at a bit more in detail and see what this means.

Tamas Piros | 7 May 2016 | ES2015, ES6, JavaScript

Promises and the 'resolve' property in AngularJS

As mentioned in an earlier post AngularJS has some services that use Promises (like $http) and there are other ways that you can utilise promises within your AngularJS application.

AngularJS can utilise promises in its routing via a property called 'resolved'. The resolve property guarantees that a particular route is going to be loaded only when a promise is successfully fulfilled (resolved).

Tamas Piros | 1 May 2016 | AngularJS

Using Promises in AngularJS

Promises (or Futures if you’ve been following the JavaScript news in the past) are allowing developers to write synchronous code in an asynchronous fashion. Before we get to AngularJS specific discussion on promises first, let’s discuss promises that come natively with JavaScript. (Refer to this table to see which browsers have native Promises implementation)

Tamas Piros | 4 February 2016

How to work with Event Emitters in AngularJS

In this article we take a deep look at how to work with the event emitters and listeners in AngularJS, covering $broadcast, $emit, $on and the importance of scope hierarchy.

Simon Holmes | 27 January 2016 | AngularJS

Form validation with AngularJS

The bane of my life has always been validating forms. Checking for X number of characters or numbers, making sure fields are all filled out, adding regular expressions to these checks, applying if and switch statements to these checks was never something I enjoyed doing. Maybe the developers behind Angular shared similar sentiments as they have come up with quite a few number of built in validation features for working with forms in Angular.

Tamas Piros | 19 January 2016 | AngularJS

AngularJS - ng-show/ng-hide vs ng-if

People who are new to AngularJS often ask this question - what is the difference between ng-show / ng-hide and ng-if. Although seemingly these directives work in the same way there is a significant and important difference between them.

Tamas Piros | 18 January 2016 | AngularJS

Build custom filters with AngularJS

AngularJS comes with a list of built-in filters that allows developers to modify bound values within the view template. The official description states that a filter "selects a subset of times from array and returns it as a new array".

Tamas Piros | 15 January 2016