Creating Carb Tracker with Ruby on Rails

Carb Tracker allows users to track their nutrition in order to reach their health goals. The original idea for the app was to build a tool to help users manage their diet based on The Primal Blueprint Carbohydrate Curve. Users are able to add foods, create recipes, and log their food consumption. Total nutrition statics are provided to help users understand their total consumption. The Nutrition Ix API was used to allow users to search for foods and automatically receive nutrition data when creating recipes. Carb Tracker uses the Ruby on Rails web development framework. The project was created for the Flatiron School’s Online Web Developer Program. Here is an overview of the process for creating the web app. Read more...

Passing Ruby Objects as Method Arguments

One part of the Ruby language has tripped me up on several occasions. In Ruby, passing an object (i.e. just about everything in Ruby) as an argument to a method gives you a reference to that object. Therefore changes to the object inside of the method are reflected on the original object. Read more...

Creating Photo Vistas with Sinatra

Photo Vistas provides customized browser homepages using photos from Unsplash. The app enables users to link their Unsplash account and add Unsplash photos they’ve liked or added to collections to their Photo Vistas queue. Homepage photos are rotated daily. Photo Vistas uses the Sinatra web development domain specific language (DSL). The project was created for the Flatiron School’s Online Web Developer Program. Here is an overview of the process for creating the web app. Read more...

CPOSC 2016 - Static Sites with Middleman

In November 2016 I gave a talk at the Central Pennsylvania Open Source Conference about creating static sites with the Middleman static site generator. Read more...

The Making of RetroCasts

RetroCasts provides a command line utility (cli) for quickly accessing episode data from RailsCasts.com. It provides a quick and convenient way to search the site without leaving the terminal. This post discusses the process for making the RetroCasts gem. The first major project for the Flatiron School’s Online Web Developer program is the “CLI Data Gem Project.” So far the program has had several other larger projects, but this is the first project where a test suite is not provided as a framework. Read more...

Static Sites with Middleman

In August 2016 I gave a talk at the Lancaster Front-End Meetup about static web sites and the static site generator Middleman. Read more...

My Path to Software Development

As part of the Flatiron School’s Online Web Developer Program, the students have been asked to write regular blog posts. The first topic asks why we decided to learn software development. I think that my reason is best told by a story about why I joined the program. Read more...

Middleman Blog with GitHub Pages

Middleman is a static site generation framework with an available blog extension package. I’ve tried to set up a blog with Middleman in the past, but I’ve always had trouble with deploying to GitHub pages. To me it’s not as straight forward as it could be, but I think with a few tips it can easily be done. Here are the steps that worked for me. Read more...