understand MVC Development mode , First of all, we need to understand the development trend One 、 What is software design Jack W.Reeves On 14 Years ago (1992 year ), In his paper ——《What is Software Design》 His personal point of view is given in ——“ Code source is design ”.

analogy : In the architectural design industry , The final completion of the architectural design marks the end of the design process , But can the software design process end with the completion of the software design document ? Conclusion : Software design is a repeated engineering process .

After that, let's think back to when we wrote the code , The source code we're exposed to , We should consider how to improve the quality of software , I simply divide it into : Functionality 、 reliability 、 Ease of use 、 efficiency 、 Maintainability and portability . The conclusion is that , Software design should reasonably control the cost 、 quality 、 Efficiency and so on .

MVC It's a kind of MVC(Model View Controller Model - View - controller ) Design and create Web application

1.Model( Model ) Represents the core of the application ( For example, database record list )

2. View ( View ) Display the data ( Render database records )

3. Controller ( controller ) Process input ( Records written to the database )

Graphic explanation :

Now we're going to learn about MVC Of advantage and shortcoming

Let's talk about a person's response to MVC The advantages of :

1. Low coupling 、 heavy (chong) High usability

2. Low life cycle cost

3. The deployment of fast

4. High maintainability

5. Good for software engineering management

The second is MVC The shortcomings of :

1. Fully understand MVC It's not easy

2. Not suitable for small size , Medium sized applications

3. Add the complexity of the implementation of the system structure

4. The process of view and controller is closely connected

5. Inefficient access of view to model database

Today, the blogger recommends several ways of learning :

1. Reading books , It's better to find some books on the Internet , I don't recommend buying books , Because I don't feel like I'm going to look at it every day , So I went to the Internet to collect some core knowledge

2. It is recommended to visit more learning websites, such as :W3CSchool Novice tutorial   w3cschool course , And Microsoft's official website , Because a lot of things are officially released, there are various versions , If you want to know the origin, you'd better look at the official website ( It's usually in English , And the translation is a bit boring, so if you want to learn it well, you have to endure loneliness )

3. Finally, I recommend :MVC Community websites (cnbol/msdn/csdn/codeprojects)……

Finally, I will tell you the depth of knowledge , It's about accumulation , Everything is : Persistence is the key , Learning must endure loneliness .

MVC More related articles about the development mode

  1. MVC User role permission control in development mode

    Premise : MVC Development mode The general idea is : 1. stay MVC Under development mode , Each function corresponds to a different controller or operation method name ( If you change the password function, it may correspond to User/changepd), Save the controller name and operation method name corresponding to each function to the data ...

  2. MVC One of the development models Servlet+jsp+javaBean

    Servlet+jsp+JavaBean Combinatorial development is a kind of MVC Development mode , controller Controller use Servlet. Model Model use JavaBean. View View use JSP. 1.Web Development request - ...

  3. Extjs MVC Detailed explanation of development mode

    Extjs MVC Detailed explanation of development mode   stay JS In the development process , On a large scale JS Scripts are difficult to organize and maintain , This has always been a top priority for front-end developers .Extjs To solve this problem , stay Extjs 4.x The version introduces MVC Development mode , ...

  4. What is? MVC Development mode and the difference between it and traditional development mode

    Model1 Pattern : Use pure JSP perhaps JSP+JavaBean Development , There are the following defects :JSP The page is mixed with HTML and JAVA Code , So as to give the code development and reading with There's trouble : It is very difficult to maintain and expand the system in the later stage , For example, in JSP page ...

  5. 【 turn 】EXT JS MVC Development mode

    Link to the original text :EXT JS MVC Development mode stay app( The root directory ) Create under the folder controller.model.store and view Folder , You know what code they should put by name . Then create Applicat ...

  6. Extjs 6 MVC Development mode ( Two )

    1.Extjs MVC Development mode stay JS In the development process , On a large scale JS Scripts are difficult to organize and maintain , This has always been a top priority for front-end developers .Extjs To solve this problem , stay Extjs4.x The version introduces MVC Development mode , Begin to ...

  7. ext.js Of mvc Detailed explanation of development mode

    ext.js Of mvc Detailed explanation of development mode and environment configuration stay JS In the development process , On a large scale JS Scripts are difficult to organize and maintain , This has always been a top priority for front-end developers .Extjs To solve this problem , stay Extjs 4.x The version introduces MVC open ...

  8. MVC Data operation process of development mode

    about java The classic development mode in MVC, There are some feelings ! Now let's talk about Java The running process of the data in , Because of my limited technology , If you are wrong, please put forward , No joy, no spray. ! We know that MVC Development mode , It includes three parts: view layer V(view). Control layer C(Co ...

  9. Java Basics 85 MVC Development mode

    1.MVC Development mode This article uses Servlet+JSP+javaBean To explain Model: use javabean Realization , Used to encapsulate business data View: use jsp Realization , Used to display data Controller: use ...

Random recommendation

  1. About maven Some common uses of

    1: View the target information of the plug-in :mvn help:describe 2: Generate javadoc And specify the code :mvn javadoc:javadoc -Dencoding=UTF-8 -Dcharset=UTF- ...

  2. Multithread programming learning (4)guarded suspension Pattern

    Guarded Suspension[ Production consumer model ] One :guarded suspension Participants --->guardedObject( Being defended ) participants                 1.1 The ...

  3. InstallShield Create your own Dialog

    1. stay "User Interface"-"Dialogs" Next , stay All Dialogs Right click "New Dialogs-" Create your own Dialog ...

  4. razor Type cast

    One . If the backstage gets a List type 1. Get array data in the background var dutyList = IOCFactory.R<IEmployeeContract>().BatchFind(m =&g ...

  5. GitHub client Desktop Summary of the installation and use of

    Preface I want to upload what I wrote to GitHub On , So I started to collect information and learn , Took a lot of detours ( msysgit And very slow FQ Internet speed makes me want to be immortal and die ), Finally, we found a more useful tool GitHub Desktop. Make your own decisions here ...

  6. hibernate Best practices for using enumerated fields

    Enumerating classes is simple , But it is often the most concentrated and complex part of the business logic in the system . This article will share our project based on hibernate Enumeration class usage specification for , Contains the enumerated column data types in the database . notes . The mapping between enumeration column and enumeration class . One . Enumeration class definition ...

  7. MATLAB Read the video and report an error Unable to initialize the video obtain properties (videoreader in Matlab)

    This bug Stuck for a long time , Here is a record of Error using VideoReader/init (line ) Could not read file due to an unexpected error ...

  8. C++ Of IO Processing header files and class understanding (2)&lt;sstream&gt; The header file

    C++ Of IO Processing header files and class understanding (2)<sstream> The header file The header file <sstream> All types defined in inherit iostream The type defined in the header file . Except for inherited operations ,sstre ...

  9. Android @id and @+id difference

    Android The components in need of a int Type of id Property values .id Property can only accept values of resource type , That is to say, we have to take @ Initial value , for example ,@id/abc.@+id/xyz etc. . If in @ Use... In the back “+”, When a cloth is modified ...

  10. javascript in forEach() and jquery in each() The difference between

    forEach yes ES5 A way to manipulate arrays in , The main function is to traverse the array 1.forEach Methods function The callback has three parameters : The first parameter is the traversal array content , The second parameter is the corresponding array index , The third argument is the array itself ...