In software, a framework defines the overall program structure, with the goal of helping improve the efficiency of developing applications in a given domain. To achieve its goal, framework brings in a number of benefits, which are becoming more and more popular.
First, framework reduces complexity. It breaks up a complicated whole into something simpler and decouples parts systematically. Thus, the application becomes much more understandable and also manageable, thus easily developed.
Second, framework separates common parts from special parts. Experts with domain experience design the framework, consisting of the common parts as frozen points, as well as special parts as hot points. Frozen points are usually closed to modification, so the overall program’s flow of control is not dictated by the caller. At the same time, hot points are open to extension, so programmers using the framework can add new code to add a functionality specific to their own project. As a result, developers can focus on applications-specific code.
Customers and managers like framework, because it requires shorter development cycles and a higher quality of product. In addition, both expert programmers and novice programmers are benefiting from it. On the one hand, framework helps experts understand new projects quickly, especially when they may already be familiar with the common parts; on the other hand, with a well-designed framework, novices can begin from a relatively simpler hot part as a low starting point.
网友评论