Development Framework Learning Model

Source: Internet
Author: User


A framework is a highly reusable application architecture. It can grasp the use of the framework. On the one hand, it can quickly build applications and adapt to the needs of modern rapid and complex software development, on the other hand, it can also be used as an entry point for learning a certain technology. Therefore, the ability to quickly learn and master the framework becomes one of the essential skills of software developers. So how can we master a development framework faster and better? Can we establish an effective learning model?


A development framework is an abstraction of the immutable part of an application. First, we need to find out what the framework is doing, what abstraction is provided, and what practical programming facilities are provided (common level, customizable). In short, let's look at the details first, and then enter the details.


Applicable scenarios:

1. A certain function and mode need to be applied in a large amount of time in the project, and the requirements for components are stable and reliable. After careful and rigorous tests, there is not enough time to study and explore and recreate;

2. using the framework removes the need for a lot of exploration and detours, but the learning time is still inevitable; the design and implementation of the framework should also consider the usability and learning curve of the developed framework for developers.

 

Three questions:

1. What is the core purpose of this framework? What facilities does it provide? How can developers use it? [Basic]

2. How does it complete its work? [Advanced]

3. What similar frameworks are available? What are their respective advantages and disadvantages? [Expansion]



Two phases:

1. Phase of use: focuses on the use of this framework to achieve development requirements. If necessary, it will go deep into the source code to find some implementations, sometimes for debugging;

2. in-depth stage: it focuses on exploring the internal implementation of the Framework and learning its essence so that it can be used in other projects.

In the use phase, we mainly experience the API design and how to adapt to business needs, rather than reading the source code too much,

In the in-depth stage, you should pay more attention to the source code, and connect the API design with internal implementation to understand its subtlety;

Each stage has its own focus.

Learning Mode:

1. Understand what the framework is doing, what problems it solves, what features it provides, and what unique features it has;

2. Find the official getting started documentation and a complete and simple demo to learn about basic usage, important concepts, and working principles;

3. Download the source code and API documentation for reference and reading at any time. You can browse the API documentation to find out which programming facilities are provided;

4. Find the source code of a real project and learn how to use the framework in a real project. Read and Write the framework first, which can reduce unnecessary initial exploration processes;

5. Read technical books or online articles about the development framework, refer to the real project source code, and try to do it by yourself;

6. multiple iterations: more in-depth use, understanding + reading the source code to understand the internal implementation.


Configuration programming:

Modern applications generally use various development frameworks. To achieve greater flexibility or portability during compilation or runtime, the development frameworks often use configuration files to customize their specific behaviors. Thus, configuration programming is generated. For example, in a real project, the configuration of ibatis shares the same proportion as the code, but the configuration file seems more complex.



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.