The basic development framework is the core of the entire basic framework Platform, and open and self-implemented are the basis of its functional requirements.
Microsoft. the net Framework provides us with a series of class libraries necessary for the development of the basic development framework. Taking visual studio 2005 as an example, the technical approach adopted is also based on. net framework to achieve self-improvement, self-updating, so use. net Framework is technically feasible to implement the basic development framework.
Analyzes the framework composition of the visual studio. net 2005 tool, including
1. workbench
The workbench contains panels and views, similar to containers, but does not know how to display views and panels on the screen.
A view is a window that contains text and other editing content;
A panel is a tool window such as a resource manager.
Workbench is a windows program with multiple forms.
2. workstation window
Map basic window functions to interfaces. Contains the title, closing method, selection method, and triggering event to indicate changes or window action information.
3. View
It is displayed on the panel of the MDI window or tab page. Main View:
Solution Resource Manager, Class View, document outline, Object Browser,
Error List, output, attribute window, toolbox, search result,
Menu Bar, toolbar, text editor, interface designer, compiler, and debugger.
4. Panel
A panel is a tool window, which is slightly different from a view. It can be hidden. Only one tool window can be opened for each type. A tool window usually does not display the file content, but helps users complete tasks. The format can be: tool bar, floating window, etc. In general, each major view implements a panel.
5. layout manager
Displays views and panels to complete all updates when using the GUI library. The layout manager manages an MDI layout and puts the workbench form into the MDI area, where the window can be maximized, minimized, or arranged.
Therefore, the technical points and difficulties of this framework are as follows:
1. abstraction of the basic part of the framework (as described above );
2. Use the model-view-controller (MVC) mode to control the display of views and panels and message communication between views.
3. Integrated Environment in the framework: Development of Form Designer, code editor, compiler, and debugger.
The next step is the framework abstraction design.