Navigation | Build an App With Vue.js

Vue.js is an excellent front end library that focuses on the ViewModel and makes it easy to get up and running with single page apps. It’s heavily influenced by AngularJS, so using Vue feels quite natural if you come from an Angular background. One of the nice things about Vue is that you don’t have to worry about the overhead that can often come with setting up an Angular app, but you still get the tools to make awesome single page apps.

In […]

Auth0 | Creating Your First Aurelia App

Aurelia is a client-side JavaScript framework that has been gaining a lot of popularity lately. One of the nice aspects of Aurelia is that it anticipates common application needs and provides simple conventions for accomplishing them.

In this article I wrote for Auth0, we explore how to setup a basic Aurelia app that calls a NodeJS API for authentication and data. This example will be useful if you’re looking to get started with your first Aurelia app.

Token-Based Authentication for AngularJS and Laravel Apps (continued)

This post is a continuation of the Token-Based Authentication for AngularJS and Laravel Apps tutorial on If you haven’t read it yet, head over there and take a look before continuing with this one.

Where We Left Off

In the tutorial on we created a new app called jot-bot to look at how to implement token-based authentication in AngularJS and Laravel by using jwt-auth and Satellizer together. On the Laravel side, jwt-auth let’s us generate JSON web tokens when […] | Easy AngularJS Forms with angular-formly

Have you ever created a form in AngularJS and been frustrated with how bloated your HTML was? Putting lots of Angular attributes on our HTML tags can make things get big quickly and can lead to a mess of markup.

To get around this, I really like using angular-formly, a module that let’s us have just a couple lines of HTML and then define our form fields and their behaviour in JavaScript.

To show you how to use angular-formly, I’ve written an […]

AngularJS Custom Filters

Creating a Complex Custom Filter

AngularJS filters are awesome for modifying the output of data as it is being displayed in the view and Angular comes with many of these filters built-in with the framework. For example, with the currency filter we can easily display numeric values with a dollar sign and two decimal places and with date we can format dates and times however we like. The built-in filters are great, but what if we want to make a custom […]

Make Code Reusable with AngularJS Services

Using AngularJS Services

While AngularJS certainly is an opinionated framework, it also gives developers a lot of freedom when it comes to application architecture. In many cases this can be a positive thing, but it can also lead to applications getting built in ways that aren’t the most maintainable.

One area this freedom of architecture often shows up is in the controller. When starting out with Angular, it can be tempting to put all bits of logic directly into the controller, especially […]

Laravel PUT Requests: Updating Only Specific Fields

Using a PUT Request to Update Records

Using a PUT request to update a record in a database can be tricky when you only want to update the value for a specific field. By default, the PUT request will override the entire entry, and this is often undesirable. Support for PATCH (used to update a specific field in a record) is increasing, but for various reasons, using it is not always an option. For those times when you need to use […]

Simple Typeahead With AngularJS and Laravel – Part 2

Part 2 – Setting Up the Back-End for our AngularJS and Laravel Typeahead

Now that we’ve got our front-end in place for our typeahead input, let’s work on retrieving data from a database instead of just from a static JSON file on disk. For the back-end we’ll be using Laravel 4.2 with a MySQL database.

Get the code on GitHub

This tutorial will assume a basic working knowledge of Laravel, so if you’re brand new to the framework, it’s worth getting familiar […]