Programming: MVC / Model-view-controller Overview of


Being fully MVC's Model View Controller. You may already know. MVC design pattern of the software or the software architecture pattern or software development. MVC is the code of the confusion


 Use the correct and logical to separate code and interface code.
Software Development, Web Site / App Development Mobile App Development before the MVC architecture or software that you need to know about the pattern.

 MVC is a program into three main categories: the

     Model
     View
     Control

 

Part of the logic of the model is the software. That part of us just what kind of software will not work, you should work on. Besides, if the database is to use our software, then you have to work and communicate with the database part of this model.

View presentation layer of the software. What would a software skin, the program will be the color, etc. This parte. Part of that is the user interface.
Communication between the model and the view controller to perform the work. The user will use the software using view controllers, the software will not perform any work / interact with the software that will handle the controllers. Controller will take hours and interaction model will pass. According to the logic of the model will be performed and the response send Controllers. According to the response to the show view.

MVC's easier to distinguish these three different roles, depending on code. This will make some changes to our user interface, only works if the code changes to Table View. Again, the logic of our software in any part of the change, and the software does not change the code will work only if the logical change in the code.

Another major advantage of the project to be done. The three parts of the project for the three types of Programmer / Coder works. Can operate without relying on one another.

Software design patterns like MVC, there are many more. When we hear the name of the framework, but missing some extra wandering MVC or any other software that uses a design pattern is writing code. Many of these libraries contain. The software developed in the framework of our work can take. Programming Language that each different kinds of software, apps, web apps, etc. to create a framework for many of these are. The programming that will help Google can pick out her own favorites. If you wish, we can create their own as a framework. Reinventing the wheel, but it will be like. That have been adopted to create what you need, do not use it to create the new?

No comments:

Post a Comment