Confirming Users with Trailblazer

Over the last couple of weeks we’ve started building a registration process using Ruby on Rails and Trailblazer. In Using Inheritance for Trailblazer Operations we created the functionality to create new users and import users from an existing application. When a new user signs up to the application they will need to click on a […]

Continue reading...

What are Elixir Structs?

A couple of weeks ago we looked at working with maps in Elixir. Something that we didn’t cover, but you will come across are Structs. Structs are an extension of Maps that provide a number of interesting benefits. In today’s tutorial we will be looking at Structs, how to use them, and what benefits they […]

Continue reading...

Design Inspiration #246

Design Inspiration from Grammerly, Molekule, Ugmonk, Frontify, and Instrumental! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Grammarly https://www.grammarly.com Molekule https://molekule.com Ugmonk http://ugmonk.com Frontify https://frontify.com Instrumental https://instrumentalapp.com

Continue reading...

Building out a User Confirmation flow in Trailblazer

A couple of weeks ago I built out the action for creating new users in Culttt using a Trailblazer Operation (Using Inheritance for Trailblazer Operations). In this application I need 3 different ways of creating new users. Firstly, I need to import users from the old WordPress application. Secondly, I need to create confirmed users […]

Continue reading...

Working with Enumerables and Streams in Elixir

So far in this introduction to Elixir series we’ve touched upon the Enum module a couple of times. The Enum module is a collection of functions that act on enumerable data structures. The Enum module is extremely useful, and it will probably be something that you use a lot in your day-to-day Elixir work. Elixir […]

Continue reading...

Design Inspiration #245

Design Inspiration from Siteleaf, wrk, Thoughtbot, Field Notes, and L’Avenir! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Siteleaf http://www.siteleaf.com wrk http://waaark.com Thoughtbot https://thoughtbot.com Field Notes https://fieldnotesbrand.com L’Avenir http://avenirclinic.com

Continue reading...

Getting started with Trailblazer Cells

The very first component of Trailblazer was Cells. I briefly mentioned Cells in my review of Trailblazer, but so far in this exploration of Trailblazer we yet to explore them. Cells encapsulate parts of your UI into components. A Cell is basically a View Model that allows you to define logic for your view using […]

Continue reading...

Understanding Recursion and Tail Call Optimisation in Elixir

Last week we looked at branching and conditionals logic and how we can rewrite these constructs as multi-clause functions to make our code more declarative and easier to understand and read. If you are coming to Elixir from another programming language you are probably very accustomed to using loops to iterate through a list of […]

Continue reading...

Design Inspiration #244

Design Inspiration from Summer Fridays, L’Estrange London, Made of Sundays, Ebullition, and Spendesk! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Summer Fridays http://summer-fridays.com L’Estrange London https://lestrangelondon.com Made of Sundays https://www.madeofsundays.com Ebullition http://www.agence-ebullition.com Spendesk https://www.spendesk.com

Continue reading...

Using Inheritance for Trailblazer Operations

Over the last couple of week’s we’ve been looking at some of the basic concepts that go into building a Ruby application using Trailblazer. A technique that is promoted heavily in the Trailblazer book is inheritance. Inheritance is of course one of the basic building blocks of Ruby (Understanding Inheritance in Ruby), and so you […]

Continue reading...