Quick Development with business basepage

Source: Internet
Author: User

For a long time, I have been using a method based on the page base class to implement interaction between pages and the business logic layer. The method is as follows:

 

 

 

BllbasepageWhat does this bring us? For example, we now perform a business flow operation for the corresponding customer table. Possible queries

Business Operation Object Instantiation,

Single customer,

Query all customers,

Bind customer type,

Basic Data Query conditions (sorting ),

Form Verification,

Get the name of the added customer,

Get the name of the added customer type,

And more about the customer's business operation calls.

The above pages may involve: customer list, customer addition, customer modification, and customer selection list.

 

Such operations may be used in every customer operation. If we write these operations on a business operation page, maintenance and reuse will be convenient.

This is more like controllers in MVC, which manages different processing of the same service in a unified manner. Controllers in ASP. net mvc also refers to the action of related services.

Write it in a controllers to complete the processing operations on a service. By doing so, more methods can be shared to achieve unified business management.

 

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.