Application Framework Practice 6: application framework features

Source: Internet
Author: User

As mentioned before ,. net Framework for all. net programmers provide underlying support, and third-party open-source frameworks are built on... NET Framework and third-party framework to safeguard all aspects of project development. Although they all help programmers build applications better, different abstraction levels, from primitive to more specific, lead to the application framework has some characteristics.

First, there is no applicable application framework.

Because of the wide variety of application types, no application framework can cover the details of all applications, so the truly common application framework does not exist.

Some application frameworks are indeed common and can be used in various projects, but they only cover some of the features of the application framework. Such frameworks can be used as the basis, and then expand according to the characteristics of the application.

Second, the application framework is not stronger and better.

Powerful things may not be good. Strong means complexity and high learning costs. If a framework can only be used for a year, who would like to use it? The application framework is like a dress. The bigger it is, the better it is. The bigger it is, the bigger it may be, the better it is. The closer it is to fit it. Therefore, the application framework should be kept as simple as possible, and the framework should be reduced as necessary.

Third, the best application framework comes from you.

This is especially important.

When downloading to someone else's application framework, few people directly use their own projects, even if the framework is very powerful. Apart from your taste, you are not familiar with the framework. For an unmanageable framework, you naturally cannot exert its power, let alone expand it.

The coding style, habits, experiences, levels, and fields of each person are different. The application frameworks that make you satisfied can only come from your own hands.

There is no such thing as the best application framework. For you, the best framework is in line with your habits. You are the most familiar with it and can be scaled at any time to meet your development needs.

Fourth, the technical content of the application framework is not high.

The application framework is not as complex as many beginners think. As long as you learn, observe, and organize your applications, you can build your own application framework. To put it bluntly, it is just some supplementary code encapsulation.

. NET is mainly used for small and medium-sized information systems in the market. The technology of general projects is not too high.

The application framework needs to be built on a third-party technical framework, and all the lower-layer operations are delegated downward. Unless you have to, do not write the underlying things by yourself, mainly because of poor robustness and scalability, A waste of time. Of course, you can use it as an open source trainer.

However, do not think that the technical content is not high, so you don't have to learn ,. net basics, JS basics, common design patterns, common architecture patterns, TDD, and third-party frameworks all need to be understood. Otherwise, you need to extract and encapsulate what you want. Not only do you need to learn, but you also need to continue learning.

Fifth, the application framework is gradually enhanced by accumulation.

The starting point of the application framework is code reuse. When you are reading books, reading blogs, collecting source code everywhere, and developing projects, it is a great opportunity to enhance the application framework, your framework will gradually become useful.

Sixth, the application framework is endless.

The application framework is the continuous extraction and Reconstruction of the development model. As your experience grows, you will find that the Code gradually becomes clearer, rather than being as messy as it was before. But have you stopped? Carefully observe every development detail and ask yourself, "Can this if judgment be omitted?" and so on. Each small improvement may not play a significant role, but long-term persistence will benefit a lot.

Application Framework Practice 6: application framework features

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.