Design discussion: What kind of framework is designed?

Source: Internet
Author: User

Today I talked to my colleagues about designing a framework for our system. I asked him what he wanted a framework for, and he gave me a picture:

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8B/5C/wKioL1hK3cSy9BxoAAANSWYFYWI806.png-wh_500x0-wm_3 -wmp_4-s_411311567.png "title=" qq picture 20161210003501.png "alt=" Wkiol1hk3csy9bxoaaanswyfywi806.png-wh_50 "/>


My first feeling is: Is this the SPRINGMVC dispatch servlet? The second feeling is this: the gay brother doesn't seem to know what kind of frame he wants.


A good frame must have at least two functions.

The first function is to reduce duplication of effort and improve development efficiency. For example, springmvc/struts reduces the duplication of HTTP operations, Hibernate/mybatis, and reduces JDBC operations, while some companies have business frameworks that put repetitive business functions into the framework. This has played a role in improving the efficiency of development.

The second function extracts and regulates the business logic. This is basically the type of business framework in which I write posting functions, approval functions, and task assignments in the company. Such frameworks are better known as business models than they are called business frameworks. It helps to understand the product and business logic, but also facilitates the maintenance of existing functionality and the expansion of new features.

However, there is often a conflict between the strict business model and the system optimization. This one's been taken.


From the perspective of improving the efficiency of development, the Comrade Brother's framework to do things, basically SPRINGMVC has done for us.

From the perspective of normative business logic, this framework can assume part of the responsibility. But it's a bit challenging to put them all into a set of processing logic that varies widely between different businesses.

This article is from the "Programming Capricorn Man" blog, make sure to keep this source http://winters1224.blog.51cto.com/3021203/1881389

Design discussion: What kind of framework is designed?

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.