Writing a presenter's course - Part 03

Today I started an experiment I've been thinking for a long time. I'll write a course on stream in order to share the knowledge. On this stream I work in a course about creating a framework agnostic presenter library in Ruby. Here's a snapshot of the course syllabus so far: Basic Presenter [4/4] free What is a presenter? Target and Context Forwarding to the target object Demistifying the view Instantiating Presenters [2/5] paid Mystique. [Read More]

Why do I stream?

Recently I started a Twitch channel where I've streaming different things, like learning or re-learning technologies. My intention for the channel is to provide some value by recording myself learning and/or programming. I don't have many views and followers so far. This is probably due to a couple of reasons: I haven't really cultivated an audience I'm really new to streaming I don't promote the channel enough I don't have a fixed schedule And, probably the biggest, I'm not a great entertainer. [Read More]

Writing a presenter's course - Part 02

This was one of the most frustrating streams I made so far. My UPS went crazy in the middle of it, so I ended up having to split the video in two. And all that was after streaming for about an hour with the stream not really working. Part 1: Part 2: I started an experiment I've been thinking for a long time. I'll write a course on stream in order to share the knowledge. [Read More]

Writing a presenter's course - Part 01

Today I started an experiment I've been thinking for a long time. I'll write a course on stream in order to share the knowledge. On this stream I work in a course about creating a framework agnostic presenter library in Ruby. Here's a snapshot of the course syllabus so far: Basic Presenter [4/4] free What is a presenter? Target and Context Forwarding to the target object Demistifying the view Instantiating Presenters [2/5] paid Mystique. [Read More]

Presenter's course Syllabus

Here's a snapshot of the course syllabus so far: Basic Presenter [4/4] free What is a presenter? Target and Context Forwarding to the target object Demistifying the view Instantiating Presenters [2/5] paid Mystique.present (with) Inferring the presenter class TODO Mystique.present_collection Defining the base presenter class (Mystique::Presenter) This is already done in "Forwarding to the target object". Adding context This is already done in "Forwarding to the target object" [Read More]

Presenting: Presenters

What is a presenter? When we're writing a web application, we often find ourselves struggling with trying to put display logic in the right place. We have some logic that can either go on the model (or the domain object), but it can also go on the view. For example, we might have a user with a first and a last name. We want to show the full name in a particular way, so we can write this logic on the domain object, but this means that it'll spread across the entire app. [Read More]

Learning ROM, a Ruby Persistence Library - Part 02

This is the second stream on a series where I sit down to learn the Ruby Object Mapper library. On this stream I moved to a file based SQLite database instead of a memory based one. Things I learned on the stream: Configuring a file based SQLite database. How to write the SQLite database URI (I always forget how to do this). How to write migrations. How to create Rake tasks for creating migrations and migrating the database. [Read More]

Learning ROM, a Ruby Persistence Library - Part 01

This is the first stream on a series where I sit down to learn the Ruby Object Mapper library. I created the basic structure of an application, but just the persistence layer. I've started with Sqlite on memory just to get the basic setup up and running. On the next streams on this series I'll try to configure Postgres with migrations and seeds. Things I learned on the stream: I started by learning some of the basic concepts Repository It's the entry point to ROM persistence layer. [Read More]

Re-Learning CSS - Rebuilding Habitica Part 02

Continuing with the series about rebuilding Habitica, I finished building the top bar and resolving some of the issues on the layout.

In this series, I try to re-create the Habitica design with only HTML and CSS (well, SCSS). I'm not doing any actual functionality, just the look and feel.

Re-Learning CSS - Rebuilding Habitica Part 01

This stream is the first on a series where I rebuild Habitica. Habitica is a habit tracker disguised as an RPG game. It's really nice to play with. In this series, I try to re-create the Habitica design with only HTML and CSS (well, SCSS). I'm not doing any actual functionality, just the look and feel. On this first part, I managed to get the top bar almost set up, but with a couple of small design problems. [Read More]