Posts

Showing posts with the label Architecture

CRUD Basics

Image
Greetings of the day!!! In this article,   you will see several concepts   which are important for the design of Rails applications.   These concepts will affect the way that we work with URLs,   how we write controller code,   and how our controllers manage our models and database data.   We're gonna start by talking about the concept of CRUD.   Let's begin with reviewing the MVC web architecture diagram.   You must learned how to use controllers and views   to create dynamic pages and return them back to the browser.   Next, learned to interact   with the database by creating models and associations. MVC Architecture And worked with those, not from a browser,   but via the Rails console would be feasible.   Now, we need to put the two together   and learn how to work with the models   inside our controllers.   Then we'll be able to manipulate   our database data from the browser, ...