Write a framework DreamScript by yourself

Source: Internet
Author: User

DreamScript is a framework I wrote since last January. Later, in June, due to job changes, I had no more time to write it myself. During this period, I made many improvements to DreamScript, I hope you can take a look at learning together. If you are interested in doing it together, I would also like to welcome it. Here I want to explain that he is mainly using SOAP and WebService to exchange data. This is also my idea. He only uses WS as the communication standard. Here I have integrated many highlights of the framework and wrote them according to my preferences.
The following describes the versions of my recently added features:
V0.612.29.1712
Add web-client.xml profile resolution feature (initial build)
The onload and onunload listeners are added to the window. You can use the onLoad and onUnLoad methods instead.
Add autoStartupListener in onload resolve the profile web-client.xml here
Add autoShutdownListener in onunload
Add the configFileName attribute for system. config, which defaults to a web-client.xml

V0.612.31.1452
Add Cookie operation class and add operation based on XMLDOM.

V0.701.05.1020
Rewrite system. Component, system. ui. Control, system. Enum to streamline system. ui. Control code to improve efficiency.

V0.701.09.1037
The onBeforeUnLoad event is triggered when window. onbeforeunLoad is added to the system. ui. Page class.

V0.701.10.1114
Add AlternateItem for the system. ui. Repeater control, and add the range attribute to control whether the generated data items are horizontally arranged.

V0.701.13.1634
Enhances the PaginationItem function of system. ui. Repeater, adds page number output, and cancels the range attribute. You can set the style for the DIV by yourself.
(For horizontal arrangement, you can set style = "float: left"). Repeater does not process the div style.

V0.701.15.1057
Add system. ui. DOMControl basic class. The function of the control is expanded based on the DOM and the lifecycle is added.
A single, non-complex logical control, such as label, textbox, link, and so on. In DOM event processing, the events are encapsulated to conform to the unified
Change to style. For example, label. onClick is executed in label. onclick, but the label. onClick parameter e agrees to the processing.
Certificate ----------------------------------------------------------------------------------------------------------------------------------------------------------------
DreamScript \ Forum \ Main.htm can be used to directly view the results. The logic code of the DreamScript \ Forum \ Bin \ Main. js page
Certificate ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Myqq: 81415669
Thanks to aoao for helping upload
--------------------------------------
Aoao: the attachment has been uploaded.
Download this file

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.