What is MVC? MVC is a design pattern. It’s not a specific piece of code as much as it is a way of organizing code into familiar reusable pieces. Design patterns are used to take your code and break it down into reusable parts that are interchangeable. So that no one part is really depending on the other too much. The concept of design patterns that computer science has, directly taken from the world to build architecture. One of the examples for the use of MVC architecture is CodeIgniter. Why MVC? User interfaces change often, especially on the internet where look-and-feel is a competitive issue. Also, the same information is presented in different ways. The core business logic and data is stable. "Each pattern describes a problem that occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice...
Comments
Post a Comment