Overview of the frame

Overview of the frame

1, the general definition

Framework (Framework) is a basic concept of the structure, or to solve a complex problem.

2, the definition of the software industry

In fact, the framework of a semi-finished products

Framework (Framework) is designed entirely or partially reusable system, the performance of a set of methods and between the member instance of an abstract interaction member; another definition that, the framework may be customized application developer application skeleton. The former is defined from the application of the latter is given from the aspect of the purpose.

It can be said, a framework is a reusable design components, which defines the architecture of the application, illustrates the entire design, dependencies between cooperating members, responsibility and control flow distribution, expressed as a set of abstract classes and their examples of the method of collaboration between, it provides a multiplexed context (context) relationship member. Therefore, large-scale reuse component library also needs framework.

3, the application framework [scaffolding]

It provides basic functions such as system development

[Image dump the chain fails, the source station may have security chain mechanism, it is recommended to save the picture down uploaded directly (img-KUZ4WFr9-1574503741958) (overview of the frame .assets / clip_image002.jpg)]

The concept is very simple application framework. It is not a small piece member comprising an application program, but to achieve a fully functional general application area (excluding special application portion) of the underlying service. Using this framework can begin programming a particular system based on a common development has been achieved on the function. Framework provides a set of classes all of the default behavior of the application desired. Specific applications to support application specific behavior rewriting subclass (subclass belonging to the frame of the default behavior) or an object assembly.

4, we will define the framework to learn

Framework, that framework. In fact, some kind of semi-finished application is a set of components for you to choose your own complete system. It simply is using someone else setting up the stage, you do the show. Moreover, the general framework is mature, and constantly upgrading software

5, why should learning framework

Because software development today is very complex, especially in server-side software, knowledge related to the content, too many problems. In some respects others use sophisticated framework, equivalent to let others help you do some basic work, you only need to concentrate on the business logic to complete the design of the system. And the general framework is mature, stable, and he can handle the system a lot of details, such as transaction processing, security, data flow control and other issues. There have been general framework used by many people, so the structure well, so scalability is also very good, and it is escalating, you can directly enjoy the benefits of upgrade code to others brings.

| - such as the use Servlet to submit form data

| - Setting coding

| - get the data

| - Data conversion

| - Data package

| - call service saved

| - response to the client

6, frame difficult?

Difficult, fairly simple to use, but the principle is not well understood

7, we will learn the framework
  1. mybatis DAO layer frame
  2. spring - control layer frame
  3. springmvc - control layer receives a request frame and the response to the client
  4. Redis - caching framework
  5. Doubbo - Ali's distributed framework
  6. Shiro - Secure authentication framework
  7. Zookeeper: Ali cloud PaaS platform for enterprise-class distributed applications
  8. Activiti workflow engine framework
8, learn how to frame

Framework is provided by others. Regulatory framework is developed by someone else go. Learning framework is actually learning the rules. We have to use the framework to follow the regulatory framework.

Framework are all constant and variable part of. Learning framework is needed which will not become, which is becoming understood.

Published 37 original articles · won praise 7 · views 1202

Guess you like

Origin blog.csdn.net/zy13765287861/article/details/103216963