Web Application Framework)

Source: Internet
Author: User

Introduction
With the development of Internet and enterprise-level applications, web applications become more and more complex, while the development cycle is getting shorter and shorter, how to quickly build a well-structured, scalable, and easy-to-maintain web application system has become a huge challenge for developers, and Web Application Framework (WAF) it was proposed to adapt to this challenge.
The so-called framework refers to a group of Cooperative Classes that can form reusable design structures for the construction of a specific type of software system. It defines the architecture of an application, the Web Application Framework provides a well-structured architecture and common functions required by web applications, allowing Web application developers to focus on enterprise logic, extends, uses, or implements classes and interfaces in the Web application framework to complete functions related to specific applications, so as to accelerate the development of stable and robust web applications.
As the. NET platform matures, constructing a web application framework on the. NET platform becomes a natural choice. In terms of structure, the Web application framework is at the top of the. NET platform. This helps to maintain loose coupling between the display layer and the logic layer, and clarify the division of labor between developers, so that developers at the display layer focus on creating web pages, the logic layer developers focus on control processes and enterprise logic.

WAF features
WAF has the following features:
(1) code reusability. Public services and Framework Services at the service layer provide reusable logic for the core layer, while the view in the core layer uses the composite view mode, it is possible to reuse Page code.
(2) Scalability: Add new request processing methods by introducing new actions in the controller, and add specific services to meet new application requirements.
(3) The application-level security mechanism introduced by the security service can better meet the security requirements of Web applications.

In short, WAF makes the code logic more fresh by introducing the service layer, hierarchical controllers and combined views, so that the entire framework is flexible and easy to maintain and expand.

Conclusion
At present, web application development is becoming more and more complex, and the complexity can be minimized by using the web application framework. This article introduces the web application framework ewaf, which is based on the widely used Asp.net, with scalable service layers, hierarchical controllers, combined views, and application-level security support, it provides a good choice for building reliable, secure, stable, and easy-to-maintain web applications. We have applied it to the implementation of the XX system and achieved good results.

 

Commonalities of Information Management Systems

The information management system mainly processes data, although each industry has different information to process, such as the medical industry, manufacturing industry, and power industry. However, these information systems have many commonalities. For example, they all use relational databases, XML or other data files to store information. All such information must be displayed, queried, added, modified, or deleted. If these operations can be encapsulated into a common module, the development process will be accelerated and the number of bugs generated by the program will be reduced, programmers can focus most of their energy on the processing of specific businesses. In addition to the above, a successful software product also requires a good operation interface, a unified interface style, or various attributes that can be customized. These can be completely encapsulated into a module and defined as an attribute file. Depending on the customer's preferences, you only need to modify the attribute file to generate another set of software products with completely different appearances.

 

Business Object (BO)

A business object is a software abstraction for real-world entities. It contains data and behavior. They correspond to one or more records in the database. Although the gap between different businesses is very large, they all share some common attributes, for example, the version number, description, operator, operation time, table name, and number of columns. Therefore, to avoid repeated definitions of these public attributes for each business object, an abstract parent class must be defined to store these public attributes. If necessary, public business logic can be defined in this class, such as paging.

This framework defines an abstract parent class, basebusinessobject. It contains the public attributes used by the Business Object. All business objects must inherit the parent class. Because almost every business object needs to be displayed by page, the pagination function is added to the parent class. If there are other public attributes in a specific project, the programmer can expand the class.

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.