Custom Pipes in Ionic 2
Pipes are a convenient way to modify data before displaying it to users in templates. You can think of them as a pipe in a literal sense. You can push data through this pipe, something happens to it...
View ArticleIntroduction to Testing Ionic 2 Applications with TestBed
Creating automated tests for your application is a great way to improve the quality of your code, protect against code breaking regressions when implementing new features, and speed up testing and...
View ArticleGetting Started with Google Maps in Ionic 2
Google Maps is one of the most used features in a mobile application, and my tutorials on Google Maps have consistently been the most popular on the site. My previous video on using Google Maps in...
View ArticleCreating a Music Player Interface in Ionic 2
In this tutorial, we will be building a custom music player interface in Ionic 2, with a focus on creating a visually pleasing design. The interface will include the following features: Track list with...
View ArticleAn Explanation of Cordova Plugins for Ionic 2
One of the downsides of creating a web based mobile application is that you don’t have access to all of the device functionality that a native application does, and you can’t submit your application to...
View ArticleDynamically Loading Markers with MongoDB in Ionic 2 – Part 1
In this tutorial series, we are going to cover how to dynamically load markers from a server and add them to a Google Map in Ionic 2. When dealing with a small number of markers it isn’t a big deal to...
View ArticleTest Driven Development in Ionic 2: An Introduction to TDD
The concept of creating automated tests for your application allows you to improve the quality of your code, protect against regressions when making updates, and speed up the testing and debugging...
View ArticleDynamically Loading Markers with MongoDB in Ionic 2 – Part 2
In Part 1 of this tutorial series, we built a Node & Express server which uses MongoDB to store location data. We created a route that we could make a POST request to, and through supplying some...
View ArticleUsing Semantic CSS Styling in Ionic 2
When creating styles with CSS it is common to attach .classes and #ids to DOM elements so that we can reference them in the CSS file. We can also just use element names directly to apply styles, and...
View ArticleHow, Why, and When to Use Providers in Ionic 2
Providers allow you to create a self-contained service that provides some kind of functionality to your application. The role of a provider might include things like fetching data from a server,...
View ArticleAn Overview of the Ionic 2 Build Process
I was browsing through the analytics for this website when I saw that someone had arrived on one of my articles by searching for: “why does Ionic have a node modules folder?”. The answer to that is...
View ArticleTest Driven Development in Ionic 2: Http and Mocks
In the previous tutorial in this series, we introduced the concept of Test Driven Development and how those concepts can be applied to Ionic 2 development. I won’t be introducing the concepts again...
View ArticleBuild a Tap to Reveal Component in Ionic 2
In this tutorial, we are going to walk through how to build a simple tap to reveal component in Ionic 2. The concept is quite straightforward, we will build a component that has two possible content...
View ArticleHow to Install 3rd Party Libraries in Ionic 2
Ionic 2 allows you to do a wide range of things right out of the box, but there is likely going to come a time where you need to install some 3rd party library to add additional functionality into your...
View ArticleImplementing Google Plus Sign-In with OAuth 2.0 in Ionic 2
I had originally planned to create a tutorial on how to integrate an Ionic 2 application with a user’s Google Calendar, but then I thought it would be wise to first cover authenticating with Google. I...
View ArticleAn Introduction to NgModule for Ionic 2
We all use it, it’s a critical part of our applications structure, but I think a lot of people are confused by what exactly it is and what it does. I’m talking about the @NgModule in the app.module.ts...
View ArticleTest Driven Development in Ionic 2: Navigation and Spies
In the previous tutorial in this series, we covered the concept of mocks and creating a fake backend that we could make HTTP requests to. The general idea is that we want to isolate the thing we are...
View ArticleGame Mechanics in Phaser: Simple Helicopter Obstacle Course
This will be the first part in a new series I plan on creating for creating HTML5 games with the Phaser framework. We will be focusing on how to create bare-bones versions of common game mechanics with...
View ArticleAn Introduction to Structural Directives: *ngIf & *ngFor
In this video tutorial, we cover the concept of using structural directives like *ngIf, *ngFor, and *ngSwitchCase in Ionic 2. Structural directives are an Angular concept, but we will be discussing...
View ArticleUsing Gestures & Uncommon Event Bindings in Ionic 2
In this video tutorial, we cover how to create event bindings other than the usual (click) event binding in Ionic 2. We will cover how to use gestures like press, swipe, pan, pinch, and rotate, as well...
View Article