Agile Web Development with Rails 5.1 is my portal to Ruby on Rails. Here are a few things I learned today:
- All Rails apps are implemented in MVC (Model/View/Controller). I’m so excited about this because MVC makes sense to me!
- Rails has testing support baked in. That means that when I create a model file, the corresponding unit test file will be created for me to write. Or if it’s a controller file, a functional test file will be created, etc.
- Ruby is Object Oriented Programming. I’m not really familiar with OOP but I’m excited to learn.
- Convention over Configuration. This means that tasks that would be done in external configuration files are done inside the codebase. More plainly, Rails expects things to be named certain things and in certain places (That’s what I’ll do as the programmer). And it takes care of configuring them.
- DRY (Don’t Repeat Yourself) is a major philosophical underpinning of Ruby on Rails.
Next post, here.