What Is Rails?
Something I need a refresher on being a recent graduate from Flatiron School, what is Rails exactly? Its a web application framework implemented as a Ruby Gem includes everything needed to create a database-backed web application. Its a huge help to create web applications and it includes most of the tools you’ll need! Which is why I have always used Rails for every project as my backend! But the things is Rails is not a programming language.
How do I use Rails? This is something I have forgotten in my early phase of the course thanks to being into too many things at once instead of tackling the most important things first such as STARTING A NEW BACK-END APPLICATION. So we start with creating a new rails app by typing the following in the terminal “rails new (application name)”. If you would need further help such as myself as I always do… Heres the site you could use!
With creating a rail application you’ll begin to see something like this:
These are all the tools you’ll need to begin your rails application! Today I will not be deep diving into everything but just the basics so there is an easier understanding if it’s a reader’s first time looking over rails!
Now the introduction to the application flow, we will be using user as our MVC. Now what is MVC??? Welp, the acronym spelled out is MODEL VIEW CONTROLLER which is an architectural pattern, it really helps out reading information. Here we have a diagram of how everything interacts with one another in the backend with users being the index.
With this being a part of the basics. We’ll be digging deeper into the rails language as we go along in more blogs. For now this is where I believe I should end before going into anything deeper before things get really confusing. So thank you for reading! Very short but straight to the point!