Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is mvc and why do we use it?



What is mvc and why do we use it?..

Answer / Ankit Rastogi

The Model-View-Controller (MVC) design pattern separates an application into interconnected components for maintaining a clear structure, improving code organization, and promoting reusability. In Ruby on Rails, the MVC pattern is used to simplify web development by dividing the application logic into three interacting parts: Model (handles data), View (handles user interface), and Controller (handles input/output operations). We use it because it makes applications easier to manage, maintain, and scale.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

How ruby looks up a method to invoke?

1 Answers  


What is the difference between nil and false in ruby?

1 Answers  


Why Ruby is known as a language of flexibility?

1 Answers  


What are the object-oriented programming features supported by ruby?

1 Answers  


In Ruby, it explains about the defined operator?

1 Answers  


How can you removed from array in ruby?

1 Answers  


what the difference is between false and nil in Ruby?

1 Answers  


How many types of associations relationships does a model has?

1 Answers  


What is the use of load and require in ruby?

1 Answers  


How do the following methods differ: @my_string.strip and @my_string.strip! ?

1 Answers  


What is the pattern matching operator in ruby?

1 Answers  


Explain about the command line options?

1 Answers  


Categories