You’re closer than you think to a career in tech. Our grads have launched rewarding new careers — you can too.View Our Jobs Report
The following is a guest post by Aaron Streiter and originally appeared on his blog. Aaron is currently a student a The Flatiron School. You can learn more about him here, or follow him on twitter here.
One of the primary challenges of learning Ruby on Rails is understanding the MVC Pattern. For newbies to rails, this can be a challenge.
In practice, Rails is a complex directory structure with hundreds of dependencies–not ideal for learning concepts.
If you are brand new to Rails, I suggest diving deep into Sinatra. Although Sinatra and Rails are two distinct frameworks, Sinatra can express models, views, controllers, routes on one line each, in just one file:
Here is the code for the above app; I suggest playing around with simple apps such as these to get insight into how Rails works on a high level.
Blog Post Author
Since we opened our doors in 2012, thousands of students have joined Flatiron School to launch new careers in tech.
Find the perfect course for you across our in-person and online programs designed to power your career change.
Connect with students and staff at meetups, lectures, and demos – on campus and online.
Have a question about our programs? Our admissions team is here to help.