One requirement to talk about WCF (5)

Source: Internet
Author: User

Remarks

This small demand has been completed, but there is a problem that deserves further discussion. This requirement is to retrieve dynamic data from the database and bind it directly to the front-end. This is a data-driven programming idea. It is simple, flexible, and adaptable. In actual product development, you should carefully consider whether to do so. In most actual projects, most of them adopt a layered architecture to differentiate complex requirements and ensure the clarity of the system structure. When a layered architecture is adopted, you should not know the database structure or even the data table name on the interface. The requirement for this example is as follows:ArticleThere is no need to adopt a layered architecture to provide a topic. In some other small scenarios, the data-driven architecture is more convenient and appropriate. Sometimes select an appropriateProgramThe architecture is not easy. You need to balance the various requirements of the customer, the organization structure of the company, the development capability of the Department staff, and other factors. You should make appropriate choices based on the actual situation. I hope that my example will not be misleading. The main purpose of this example is to demonstrate custom message encryption, rather than promoting data-driven table binding.

It was not until today that I wrote my own articles that I realized how hard the enthusiastic people who frequently published technical blogs are. I would like to pay tribute to you again.

 

Example of: http://download.csdn.net/detail/wantalcs/4494183

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.