The lightweight JS framework SaturnJS 2.0 was officially released

Source: Internet
Author: User

SaturnJS is a lightweight JS framework that features flexible calling and a small kernel.

SaturnJS uses the On-Demand Loading Method to load various JS plug-ins. Some plug-ins use open-source JS Code on the Internet and are very easy to expand. This helps developers quickly create their own JS code library, thus improving development efficiency.

 

2.0 completely subverts the 1.0 architecture approach. Instead, it provides a virtual class and supports the features of constructor, inheritance, and multiple inheritance classes, it helps developers better use JS to implement more complex front-end applications.

New Features

Configuration File: The rtenv. conf configuration file is added. You can set paths for various modules and enable or disable some functions. You can also add configuration information to your applications to make it more flexible.

Virtual class: SaturnJS2.0 establishes a class concept and supports constructor, attributes, methods, inheritance, and multiple inheritance.

Class Library Import: SaturnJS2.0 provides a wide range of classes to help developers improve front-end development efficiency. By using class libraries, you can easily import the required class files and load them as needed.

Exception Handling Mechanism: Enriches the JS Error handling mechanism, adds the Exception Handling concept based on its own Error handling, and supports debugging functions. The loading part of all files is recorded in the internal logs, so that you can easily understand the cause and location of the error.

Cache Mechanism: Due to the shortcomings of cookies, SaturnJS2.0 provides a richer caching mechanism and faster access operations. This function supports mainstream browsers such as IE5.5 +, Firefox2 +, and Chrome.

SaturnJS 1.0

The main method is to load various JS plug-ins as needed. Some plug-ins use open-source JS Code on the Internet and are very easy to expand. This helps developers quickly create their own JS Code libraries, thus improving development efficiency.

Link: http://www.oschina.net/news/15948/SaturnJS-2-0

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.