DWZ (1): First understanding of the framework and first understanding of the dwz framework

Source: Internet
Author: User

DWZ (1): First understanding of the framework and first understanding of the dwz framework

The DWZ rich client framework (jQuery RIAframework) is an open-source Ajax RIA framework developed by Chinese people based on jQuery. The design goal of the DWZ rich client framework is simple and practical, easy to expand, fast development, RIA ideas, and lightweight.

The DWZ framework supports HTML extension instead of JavaScript code. As long as you understand the HTML syntax, you can refer to the DWZ user manual for Ajax development. Developers can also use Ajax for projects and various UI components without writing JavaScript. This basically ensures that programmers do not understand JavaScript and can also use various page components and Ajax technologies.


As mentioned above, what is the rich client framework of DWZ? What are the advantages of DWZ? This blog post will show you about DWZ from the macro perspective.

Rich Client, English name RichClient. In short, IE browser is a thin client. Therefore, non-IE browser programs can be considered as fat clients. In details, we can say that a program can be operated by downloading files, running an application, or requesting an application-based service from a file server. It needs to be installed and is different from a Thin Client, such as a common Web page. A rich client is a client with complex UI interfaces and interactions.


As an excellent rich client framework, DWZ has many advantages over other JS frameworks:


· Completely open-source, with no obfuscation in source code, facilitating expansion.

· CSS and JS Code are completely separated to facilitate style modification.

· Simple and practical, easy to expand, lightweight framework, and rapid development.

· The HTML page layout is retained.

· Supports calling UI components in HTML extension mode. Developers do not need to write JavaScript.

· As long as you understand HTML syntax and do not need to be proficient in JS, you can use the Ajax development background.

· Based on jQuery, the UI component is released in the form of jQuery plug-ins for convenient extension.


A large amount of javascript is required for ajax projects to achieve satisfactory results. many programmers in China are not familiar with javascript, which greatly affects the development speed. use the DWZ framework to automatically bond javascript results. developers do not need to care about how to write javascript. You only need to write standard html. DWZ simply extends the html standard and defines some special class and attribute for HTML. the DWZ framework finds the special classes and attributes in the current request results and automatically associates them with the corresponding js processing events and effects.


Core JS introduction:


Dwz. core. js

Provides the program entry;

Extended jQuery for DWZ and extended basic data types;

 

Dwz. ui. js

Provides a global callback method;

During DWZ initialization, The Global Method initEnv () is called back and the interface is initialized. The custom plug-in can be extended in the initUI () method;

 

Dwz. ajax. js

Provides a global tool for ajax operations;

 

Dwz. regional. zh. js

It provides Chinese-based English-to-Chinese language conversion;

 

Common components:Link (a), dialog box (dialog), Tab layout (navTab) component, panel component,Tab Panel (tabs) Component,Table), The detailed introduction of these components will be discussed in the next blog, so stay tuned.

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.