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

Design Inspiration #186

Design Inspiration from The Atlantic, Tinypass, Beagle, The Spaces, and Nucleo! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. The Atlantic http://www.theatlantic.com Tinypass http://www.tinypass.com Beagle https://getbeagle.co The Space http://thespaces.com Nucleo https://nucleoapp.com

Continue reading...

What are Symbols in Ruby?

If you’ve been following along with the posts in this series you might have been wondering what a Symbol is. You can recognise a Ruby Symbol because it will be a word that starts with a :. So far we’ve seen them as the key in a Hash (Working with Hashes in Ruby): And as […]

Continue reading...

Routes and Resources in Ember

URLs are very important in just about every type of web application. A well designed URL scheme should describe the user’s location within the hierarchy of the application. In a modern web application, the user should be able to navigate by either taking an action through the user interface, using a browser function or typing […]

Continue reading...

Design Inspiration #185

Design Inspiration from Swipes, Wolf & Son, Ariel Beninca, Aristo, and Upturn! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Swipes http://swipesapp.com Wolf and Son http://www.wolfandson.net Ariel Beninca http://arielbeninca.com Aristo http://aristolondon.com Upturn https://www.teamupturn.com

Continue reading...

Working with Structs in Ruby

Last week we looked at using Hashes in Ruby. A Hash is a dictionary of keys and values. This can be useful for passing around structured data that is unknown or could potentially have many key / value pairs. However it’s sometimes the case that you need to be a little more explicit with structured […]

Continue reading...

Using Templates in Ember

Last week we looked at setting up an Ember application as part of an existing Laravel repository. Ember is a front-end framework that makes building interactive client-side applications much easier than rolling your own Javascript. One of the core components of Ember is it’s templating engine. In today’s tutorial we will explore the Ember templating […]

Continue reading...

Design Inspiration #184

Design Inspiration from Tom Cole Architecture, Inspectlet, Delaneau, Spina, and J. Hornig! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Tom Cole Architecture http://tomcolearchitect.com Inspectlet http://www.inspectlet.com Delaneau http://delaneau.com Spina https://spinanyc.com J. Hornig http://www.jhornig.at

Continue reading...

Working with Hashes in Ruby

Last week we looked at Arrays in Ruby. An Array is a useful data structure for working with a collection of items. A Hash is a similar Ruby data structure in that it allows you to work with a collection of items. However, a Hash is a dictionary of keys and values, where unlike an […]

Continue reading...