Dealing with Exceptions in a Laravel API application

Exceptions are a very important method for controlling the execution flow of an application. When an application request diverges from the happy path, it’s often important that you halt execution immediately and take another course of action. Dealing with problems in an API is especially important. The response from the API is the user interface […]

Continue reading...

Design Inspiration #201

Design Inspiration from Mailtrap, Harbor Suites, Fancy Hands, Nixon, and Vayable! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Mailtrap https://mailtrap.io Harbor Suites http://www.harbor-suites.com Fancy Hands https://www.fancyhands.com Nixon http://www.nixon.com Vayable https://www.vayable.com

Continue reading...

Understanding and Using Ruby Rake

Something that you will see a lot in Ruby projects is Rake. Rake is a build tool for automating tasks. This means you can define a set of tasks that should be carried out as part of a build process, or perhaps a set of tasks that should be executed every time you run a […]

Continue reading...

Adding Validation to Ember Forms

Last week we looked at creating a new task in an Ember application. This involves accepting data from the form, creating a new task in Ember Data, and then saving the task, which will send a POST request to the server. A good API will validate incoming data to ensure that it is of the […]

Continue reading...

Design Inspiration #200

Design Inspiration from No Divide, Tictail, Fubiz Media, Stowaway, and Brent Comber! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. No Divide http://nodivide.us Tictail https://tictail.com Fubiz Media http://www.fubiz.net Stowaway https://stowawaycosmetics.com Brent Comber http://www.brentcomber.com

Continue reading...

Eloquent Ruby [Review]

One of the most commonly found books in many of the “top Ruby books to read” lists you will find on the internet is, Eloquent Ruby. This book is a thorough overview of the Ruby programming language, which will walk you through all of the major topics required for being a modern Ruby developer. Eloquent […]

Continue reading...

Creating new Ember Data objects

In last week’s tutorial we looked at transitioning to view an individual task. This involved writing a failing test and then incrementally implementing the functionality to make the test pass. So far in this mini-series we’ve created a task list, added task replies, and looked at viewing individual tasks. In today’s tutorial we will look […]

Continue reading...

Design Inspiration #199

Design Inspiration from Charity Bank, Zeplin, Infinit, Freddie Meadows, and Soverin! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Charity Bank http://charitybank.org Zeplin https://zeplin.io Infinit https://infinit.io Freddie Meadows http://freddiemeadows.com Soverin https://soverin.net

Continue reading...

Using Ruby Exceptions

When developing an application, it’s easy to just think about the happy path. The happy path is the flow through the application when everything works as expected. The user enters the correct data, the request satisfies the business logic and any interaction with third party services or infrastructure happens without a hitch. In reality, there […]

Continue reading...

Transitioning to new pages in Ember

Over the last couple of weeks we’ve built out the main task list using TDD. First we built out the task list using static HTML (Writing your first Ember.js Acceptance Test). Next, we made it dynamic by returning data from the Controller (Introducing Controllers and Models to an Ember.js Application). Next, we mocked an API […]

Continue reading...