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

What are the different environment variables present in the ruby?

1 Answers  


difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?

1 Answers  


What is RubyGems in Ruby programming language?

1 Answers  


Explain me what is the difference between symbol and string?

1 Answers  


What is the naming conventions for methods that return a boolean result?

1 Answers  


Tell us what is class libraries in ruby?

1 Answers  


Explain the garbage collection feature of ruby?

1 Answers  


Tell me how can you declare a block in ruby?

1 Answers  


Explain some of the looping structures available in ruby?

1 Answers  


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

1 Answers  


What is rvm?

1 Answers  


Explain about portability?

1 Answers  


Categories