Common web development software architecture
1. view requirement analysis and product PRD: Product Requirement document
2. Create a database table based on the PRD and product prototype. Pay attention to the requirements of the three paradigm, use tools to access the relational database, and quickly clear the Database concept.
3. Build a project architecture. Three layers are commonly used and automatic generators, such as Neusoft or codesmith.
Build the framework:
1. system. dal
In the data access layer, common generators can generate code for basic addition, deletion, modification, and query, or use EF + LINQ to compile complex data access methods.
2. system. BLL
Business logic layer for business processing based on specific business needs
3. system. Model
The system entity layer usually uses code generation tools to automatically generate basic classes. You can manually compile complex models as needed.
4. system. Cache
Cache layer, including session cache and memcache
5. Using E. Common
Public class. All public methods required by the system are put here.
6. system. Logger
Logging is essential for a robust system. Common log4net Components
7. system. unittest
Unit Testing is essential. TDD: Test driven development test-driven development can ensure the high quality of the system at that time despite time and effort.
8. system. Web
Traditional ASP can be used for web development. net Space drag (of course, the efficiency is extremely low), you can also use webmethod + jquery + Ajax asynchronous submission, not only high performance, but also good user experience.
You can also use ASP. net mvc for development.
9. system. WCF
In addition, if you need to call a third-party system to call the services of the other party, a WCF layer is essential.