go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  MVC (Model-View-Controller)
 
Subject: MVC (Model-View-Controller)
Author: Linux
In response to: Rails Probject II-- Blog
Posted on: 09/11/2017 05:46:55 AM

Rails framework follows the MVC philosophy:

                            +-----------+
                            |   View    | /app/views/
                            +-----------+
                                  |
                                  |
                                  |
                            +------------+                +-----------+ 
   client ----> routes ---> | Controller |----------------|   Model   | /app/models/
                            +------------+                +-----------+
           /onfig/routes.rb    /app/controllers/                |
                                                                |
                                                              ------
                                                              | DB |
                                                              ------



 

> On 09/11/2017 05:44:30 AM Linux wrote:


Prerequisites

Rails is a web application framework running on the Ruby programming language. In order to create a new Rails project, you need to have some prerequisites installed.

  • Database -- which is used to store Rails project's objects.
  • NodeJS -- a JavaScript runtime
  • Bundler -- which is used to manage project's version control.





    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.