Common web development software architecture

Source: Internet
Author: User

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.

Related Article

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.