A Program of Reflection


Musings on computer science and coding

mapStateToProps vs mapDispatchToProps

Connect is a powerful function provided by react-redux. Connect typically receives 2 parameters, mapStateToProps and mapDispatchToProps. These parameters allow programmers to customize the data that their components receive and reutilize functionality.


Stacking up to the TopShelf

After roughly a year of full time work, full time study, and a pandemic, I could really use a drink; and I’m confident those in my cohort would agree. So, for my final project at Flatiron, I decided to build a React application as a way to catalog celebratory drinks.


API, CSS, Action! MovieScript: Single-page JS App

MovieScript is a single-page JavaScript application with a Ruby-on-Rails API backend. The application renders information persisted by list and then by individual title. Users on the site can create, view, and delete both titles and movies. Lists have many movies and individual movies belong to lists; this allows the front end to access movie data quicker than making a separate fetch request.


Checking Out Rails: Libraily

Starting Rails after Sinatra was like stepping into a magical world: magical in that way where one doesn’t always comprehend exactly what is happening or what may happen next.


Souvenear - Sinatra, CRUD, and MVC app

One of my favorite aspects of travel is remembering interesting aspects of the trip. I have a map where I record locations and make notes about past vacations and what I brought back. Souvenear is the natural outcome of digitizing this process. Souvenear is an MVC app featuring CRUD with both a trip model and a souvenir model. Users are able to sign up and login, creating records of trips and souvenirs that appear on their account page. In addition, users can be administrators, which allows users to see a full list of all recorded trips, rather than only their own. I learned how to better set up ActiveRecord migrations (and about the dangers of extra white space), as well as how to test the project using the Shotgun gem.