Douglas Crockford has imparted a useful single case pattern (singleton patterns) to implement this rule, and I think his model is beneficial to your application based on Yui. Douglas called it modular Mode (module pattern). It works as
Although the syntax of JavaScript is very simple, it is still difficult to write a program because of its operating environment: web-based browsers.
JSLint
JSLint is a web-based tool for validating JavaScript error codes. It has the features and
Article Introduction: The other is "reset" for a particular project, a custom modified content that can be placed in files such as Layout.css, TYPOGRAPHY.CSS, and they are imported into a base.css to form the underlying style of a project. This
Here's how to asynchronously pick up all the nodes of a tree, which is very different from the official Sync node, especially on the id attribute of JSON, and here is some of my groping, perhaps not the best solution, to be studied together.
The
ExtJS ExtJS (Yui-ext) is a group of extensions from Yahoo! UI, a CS-style Web user interface component. The main UI includes: Dialog,grid,layout,tabs and so on.
jquery jquery is a fast, concise JavaScript toolbox that lets you manipulate HTML
9, Yui writing class way
Here is the introduction of Yui 2.7.0 version, just introduce Yahoo.js. Yui introduced a namespace, similar to the Java package. The following Yahoo Tools function pack
Yahoo.namespace
Yahoo.lang
Article Introduction: using the CSS framework, you can simplify your work and improve your productivity. A CSS framework is a collection of CSS files that contain basic element resets, page layout, grid layout, form styles, common rules, and other
UGLIFYJS
UGLIFYJS is a code compression tool built on the NODEJS server, which is currently compressed by jquery and has a better compression effect.
GitHub Home: http://github.com/mishoo/UglifyJS/
Online use: HTTP://MARIJNHAVERBEKE.NL/UGLIFYJS
Explain the global variables as the devil in the javascrui mode. In YUI, we only use two global variables: YAHOO and YAHOO_config. YUI uses YAHOO object-level members or variables in the member scope. We recommend that you use similar rules in your
Global variables are the devil. In YUI, we only use two global variables: YAHOO and YAHOO_config. YUI uses YAHOO object-level members or variables in the member scope. We recommend that you use similar rules in your application. Douglas Crockford
Global variables are the devil. In YUI, we only use two global variables: YAHOO and YAHOO_config. YUI uses YAHOO object-level members or variables in the member scope. We recommend that you use similar rules in your application. Douglas Crockford
Now for the front-page developers, few people do not use some JS framework or Web UI library, so these can effectively improve the development speed of the site, and can be unified development environment, for the compatibility of different browsers
Jsbuilder2 (extjs.com/products/jsbuilder) is a newly released source code packaging tool for extjs 3. It is written in Java and packaged and compiled into jar format. The execution file is released to the programmer. As a packaging tool for
DWR (Direct Web remoting) is a web Remote Call framework. using this framework can make Ajax development very simple. using DWR, you can use JavaScript on the client side to directly call the Java method on the server side and return the value to
Demo address: www. atool. orgyui. php supports all functions and commands of YUICompressor, and supports online compression, obfuscation, and merging of JavascriptCss files to reduce the number of website network requests and connections. Multiple
Generally, frameworks are the most common JavaScript frameworks, web application frameworks, and CSS frameworks. The following is a popular JavaScript framework:
1. dojo
Dojo (http://dojotoolkit.org) is a powerful object-oriented JavaScript
Currently, few website developers do not use some JS frameworks or web UI libraries, which can effectively improve the development speed and unify the development environment, you do not need to worry about the compatibility of different browsers.
"Framework"Refers to a set of tools, function libraries, conventions, and attempts to abstract reusable General modules from common tasks. The goal is to enable designers and developers to focus on the specific aspects of the task project, avoid
1. OverviewJquery is a very good JS library. Compared with many JS class libraries such as prototype, Yui, and mootools, it is a powerful tool, starting from the practical point of view of web development, aside from some other useless items in Lib,
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.