Suggested framework for self-developed Dojo _ dojo
Source: Internet
Author: User
The necessity for customizing the Dojo framework: 1. Every version of Dojo changes greatly.
2. The update of Dojo is relatively fast, basically a new version from 1 to 2 months.
3. There are many imperfections in Dojo. In actual applications, if you do not modify the code, it is impossible to implement all the functions you want.
The recommended development framework is as follows:
Root
-Dojo
-Dijit
-Dojox
_ Padesk
_ Dojo
_ Dijit
_ Dojox
_ Util
That is to say, create a directory named padesk (for example, you can select it as your own) and create a directory named dojo, dijit, and dojox under the directory named padesk, put the components that need to be modified before they can be used in the corresponding directory:
For example:
Dijit. form. Button
We want to customize a Button that only displays the Icon on this basis, which can be defined as padesk. dijit. form. iconButton.
As long as the corresponding module (or even the corresponding function) does not change, we can copy the Padesk folder to the new dojo version immediately. It saves a lot of twists and turns on the original code.
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