In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
What is lightweight JS framework SaturnJS 2.0? I believe many inexperienced people don't know what to do about it. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
SaturnJS is a lightweight JS framework with flexible invocation and compact kernel.
SaturnJS loads all kinds of JS plug-ins by loading on demand, and some plug-ins use open source JS code on the Internet, and it is very easy to expand, which helps developers to quickly create their own JS code base, so as to improve development efficiency.
2.0 completely subverts the architecture of 1.0, but provides a virtual class and supports the features of constructors, inheritance, and multiple inheritance, helping developers to better use JS to implement more complex front-end applications.
New features
Configuration file: a new rtenv.conf configuration file has been added, which can set the path of various modules and turn on or off some functions. Users can also add configuration information to their own applications to make it more flexible.
Virtual classes: SaturnJS2.0 establishes the concept of a class and supports constructors, properties, methods, inheritance, and multiple inheritance.
Class library import: SaturnJS2.0 will provide rich classes to help developers improve the efficiency of front-end development, using class library import can more easily import the required class files, and really load on demand.
Exception handling mechanism: enriches the error handling mechanism of JS, adds the concept of Exception exception handling based on its own Error handling, and supports debugging functions. All file loading parts are recorded in the internal log, which makes it easier to understand the cause and location of the error.
Caching mechanism: due to the shortcomings of cookie, SaturnJS2.0 provides richer caching mechanisms and faster access operations, which supports mainstream browsers such as IE5.5+, Firefox2+ and Chrome.
SaturnJS 1.0
All kinds of JS plug-ins are loaded mainly by loading on demand, and some plug-ins use open source JS code on the Internet, and it is very easy to expand, which helps developers to quickly create their own JS code base, so as to improve development efficiency.
After reading the above, have you mastered what is the method of lightweight JS framework SaturnJS 2.0? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.