Defining Models in Ember Data

A model is a class that defines the properties and behaviour of an object that is persisted as part of your application. The model is the blueprint for how each record should be created. If you’re familiar with Object-relational mapping, the concept of a model should already be pretty familiar to you. In today’s tutorial […]

Continue reading...

Design Inspiration #189

Design Inspiration from Jewelbots, ProtectWise, Skargaarden, Earnest, and Reformation! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. JewelBots http://www.jewelbots.com ProtectWise https://www.protectwise.com Skargaarden http://skargaarden.com Earnest https://www.meetearnest.com Reformation https://www.thereformation.com

Continue reading...

What are Lambdas in Ruby?

Over the last couple of weeks we’ve looked at working with blocks and Procs. A block is a chunk of code that can be passed to a method. This makes it really easy to write flexible methods that can be used in a number of different ways. If you are already familiar with other programming […]

Continue reading...

Understanding Models and Ember Data

The majority of web applications aren’t going to be very useful without data. In a typical MVC application, it is the model layer that usually deals with the data of the application. In single page applications this is usually in the form of a JSON API to some kind of backend service. In today’s tutorial […]

Continue reading...

Design Inspiration #188

Design Inspiration from Linequality, Wallmob, Paradox Design Studio, Purgo Tea, and Island! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Linequality http://www.linequality.com Wallmob https://www.wallmob.com Paradox Design Studio http://paradoxcreates.com Purgo Tea http://purgotea.com Island https://weareisland.com

Continue reading...

What are Ruby Procs?

Last week we looked a blocks in Ruby. Blocks are one of the most commonly used, yet often misunderstood parts of the Ruby language. If you are familiar with other programming languages, a block is basically a way of passing a chunk of code to a method to be evaluated. However, unlike just about everything […]

Continue reading...

Using Controllers in Ember

Last week we looked at Ember Routes. The Route is responsible for providing the model data, selecting the controller and rendering the template. The Controller is an important and well recognised component of the MVC paradigm. Controller’s in Ember sit between the Template and the Model to deal with logic and properties that do not […]

Continue reading...

Design Inspiration #187

Design Inspiration from Acorns, Tyler Copeland, Plaid, Brdr. Krüger, and Pelican Books! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Acorns https://www.acorns.com Tyler Copeland http://tylercopeland.me Plaid https://www.plaid.com Brdr. Krüger https://brdr-kruger.com Pelican Books https://www.pelicanbooks.com

Continue reading...

Understanding and using blocks in Ruby

If you have been following along with this series, you might be confused by the use of blocks. So far we’ve seen blocks being passed to iterator methods such as each, map and select whilst looking at Arrays, and Hashes. A block is simply a chunk of code that can be passed as an argument […]

Continue reading...

Working with Routes in Ember

Last week we looked at the basics of routing in Ember. Routing URLs is one of the core components of a framework because it is the URL that drives the behaviour of the application. I mentioned last week that you don’t always have to specify things in Ember because certain defaults will be assumed. This […]

Continue reading...