Writing Ruby Classes

An important part of object-oriented programming is writing classes. Classes are the blueprints of objects and allow us to define the properties and behaviour that the objects of our applications should posses. Last week we looked at working with Ruby methods. Writing reusable methods is a big step towards becoming a programmer in the early […]

Continue reading...

Working with Records in Ember Data

Last week we looked at defining Models in Ember Data. A Model definition is like a blueprint that describes the attributes and relationships for that resource. The actual object that is defined by the Model is known as a Record. When you create a new object using a Model, or you find an existing instance […]

Continue reading...

Design Inspiration #190

Design Inspiration from Reedsy, Sproutvideo, The Spaces, Assembly, and REX! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Reedsy https://reedsy.com SproutVideo https://sproutvideo.com The Spaces http://thespaces.com Assembly https://assembly.com REX http://www.rex.is

Continue reading...

Working with Ruby Methods

So far in this Ruby series we have already touched upon using classes and methods a number of times, but we haven’t really looked at writing our own. A class is like the blueprint of an object and describes it’s properties and behaviours. If you are already familiar with object-oriented programming, using classes and methods […]

Continue reading...

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...