Teach you vb.net. Seven Layer design ideas (i)

Source: Internet
Author: User

As our requirements for programming become more and more high, we are not just satisfied with the functionality of the software, we are increasingly focused on code reuse, ease of maintenance, program reliability and security.
Okay, nonsense, I'll just log in as an example to analyze the implementation of layer seven.

(a) Let's design the database first.

(ii) Project establishment and citation

        在Visual Studio中建立机房重构项目。项目类型为Windows窗体应用程序 ,图解如下

Then in the establishment of U-layer, B-layer, D-layer, solid layer, appearance layer, factory layer, interface layer.
Build the project in addition to the U-tier as a Windows Forms application, the remaining layer project types are class libraries.
and set the U-Layer as the startup item.
The seven-storey design is as follows.

You will then need to add a U-layer reference to the entity layer and the appearance layer;
The reference of the façade layer to the B layer and the solid layer;
b Layer reference to the entity layer, the factory layer, the interface layer;
The reference of the factory layer to the interface layer;
Interface layer reference to the entity layer;
D-Layer references to interface layer and entity layer.
Reference diagram:

So the seven-tier development environment is set up, the next blog is how to design, how to code
Cond...

Teach you vb.net. Seven Layer design ideas (i)

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.