DOTNET Object-Oriented Development Framework Planning
1, background purpose
In order to standardize the rationality and fluency of the DOTNET object-oriented development framework structure, the future development work can be carried out under a relatively complete frame structure, improve development quality and efficiency, according to my for .NET's preliminary understanding and past development Experience, summed up a set of DOTNET framework development structures.
2, frame structure diagram
project
Windows application development
Web development
Database operation
Business operation
Page configuration
Business a
Business B
Database settings
data
Library operation
Basic page
Control page
Be determined
3. Specific description
The above frame structure diagram uses three-layer structure-oriented three-layer structure, which will be described in detail below:
First, the database package layer
The settings associated with the database are all encapsulated in this layer, and the underlying data interface of the three-layer structure is realized. Mainly divided into two categories:
(1) Database settings: Contains the definition settings for database information and database related controls (such as SqlConnection, SQLCommand ..., etc.)
(2) Database operation: Contains various specific result functions for operations for the database (such as by the database operation, return to the DataTable dataset ..., etc.)
Second, the business logic layer
This layer involves the specifications and definitions of all business processes of the project, which is important for project development.
(1) Business A: Contains all operational method functions involving a business (such as user service, including user registration functions, user login functions ..., etc.)
......
Third, page display layer
This layer is the final result of the user, including the page display settings of the entire project system.
......
4, summary