HomeAboutBlogPortfolioTechNews Register Login

My Blog


As I have studied development I have learned that there is a lot to know. Everytime I learn something new, I realize there is much more I don't know.

Because I am learning, I may edit these blog posts multiple times.

I also may be incorrect on my understandings. So please feel free to create an account and use the comment section to point out where I am wrong. Also feel free to correct me on an grammatic errors.

Here are some things I have learned along the way!

Rails Backend

RAILS MVC

Published over 3 years ago

For this post I want to talk about the basic structure of Ruby on Rails.  Rails is a MVC software architectural pattern. Where M stands for model, V for view, and C for controller. Most websites communicate with databases to pull information and display it to the user.  However, there are some that do not and those are called static pages. Rails though is a Ruby web application framework built to work with databases.

 

Controller

 

In order to control the information that is accessible from the database rails uses the MVC pattern.  When a user types in a web address it first goes to your routes. Your routes will direct you to a controller.  What is the controller’s job? Well it’s in the name. It controls a lot of the data flow of the application. It is the control... Continue reading