Introduction to the MVC-based open-source framework and the mvc open-source framework

Source: Internet
Author: User

Introduction to the MVC-based open-source framework and the mvc open-source framework

The full name of MVC is Model View Controller, short for model-view-controller. It is a Model of software design, organize Code by means of separation of business logic, data, and interface display, and integrate the business logic into a component to improve and personalize the custom interface and user interaction, you do not need to rewrite the business logic.


MVC is a pattern used to design and create a Web application using MVC (Model View Controller Model-View-Controller:

  • Model indicates the application CORE (such as the database record list ).
  • View (View) displays data (database records ).
  • The Controller processes input (written to database records ).

Struts open-source framework:The purpose is to help us reduce the time needed to develop Web applications using the MVC design model. Struts is an MVC framework based on the Sun J2EE platform. It is mainly implemented using Servlet and JSP technologies. Because Struts can fully meet the needs of application development, it is simple and easy to use, agile and fast, and has received a lot of attention. Struts integrates Servlet, JSP, custom tags, and message resources into a unified framework. Developers do not need to code themselves to implement a full set of MVC patterns during development, it greatly saves time and is a very good application framework.

Spring open-source framework:It is created to solve the complexity of enterprise application development. Spring makes it possible to use the basic JavaBeans to accomplish the tasks previously only completed by EJB. However, Spring is not only used for server-side development. From the perspective of simplicity, testability, and loose coupling, any Java application can benefit from Spring.
Spring provides a unique data access abstraction, including a simple and efficient JDBC framework, which greatly improves efficiency and reduces possible errors. Spring's Data Access architecture also integrates Hibernate and other O/R mapping solutions. Spring also provides a unique transaction management abstraction that provides a consistent programming model for various underlying transaction management technologies, such as JTA or JDBC transactions. Spring provides an AOP framework written in the standard Java language, which provides POJOs with declarative transaction management and other enterprise transactions-if you need to-implement your own aspects. This framework is powerful enough to allow applications to get rid of the complexity of ejbs and enjoy key services related to traditional ejbs. Spring also provides a powerful and flexible MVC Web framework that can be integrated with IoC containers.


Is mvc an open-source framework the same as an open-source program?

MVC is neither an open-source framework nor an open-source program. However, many open-source frameworks and open source programs provide the MVC mode. The full name of MVC is Model View.
Controller, short for model-view-controller, is a software design model that uses a business logic and Data Display
Code is organized by the separation method, and the business logic is aggregated into a component. The interface and user interaction around data can be improved and customized without re-writing the business logic. MVC is unique
It is used to map traditional input, processing, and output functions in a logical graphical user interface structure.

What frameworks are used to implement the MVC model ???

MVC is an idea that can be implemented without a framework.
It is a manifestation of a level. In my opinion.
MVC has advantages and disadvantages.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.