Front-end specification 1-HTML specification, specification 1-HTML SpecificationHTML Specification1. Code style (parameter 1 ,)Use Tab characters (four spaces in length). When there are too many hierarchies, try to write them in one line, but make sure that each line of code should not be too long, for example, the Code should not be too long.
For example, try to
Article Description: Background System Specification design experience.
The background system uses a whole set of UI, why the form is different? Can you unify and bring a better experience? Based on the inner doubt of the interaction designer, we are eager to produce a set of design specifications for the unified background operating system, conducive to the use of user habits of training and continuity, reduce learning costs, improve the u
Javasript modularity before understanding the Amd,cmd specification, it is necessary to understand briefly what is modular and modular development? Modularity refers to the systematic decomposition of a problem in order to solve a complex problem or a series of mixed problems, according to a sort of thinking. Modularity is a way of dealing with complex systems that break down into manageable modules that are more logical and maintainable in code struc
Javasript modularity before understanding the Amd,cmd specification, it is necessary to understand briefly what is modular and modular development? Modularity refers to the systematic decomposition of a problem in order to solve a complex problem or a series of mixed problems, according to a sort of thinking. Modularity is a way of dealing with complex systems that break down into manageable modules that are more logical and maintainable in code struc
PHP Design Mode Series Specification specification mode, specification mode
1. Pattern definition
Specification mode is an extension of the combined pattern, which is used more in framework development (project-level development is seldom used), and a simple introduction is made here.The
[Specification] Front-end encoding specification-html specification, standard front-end encoding htmlDocument Type
Html5 document type statement is recommended:
Language attributes
According to html5 specifications:
We strongly recommend that youhtmlSpecify the root elementlangAttribute to set the correct language for the document. This will help the speech synth
?,dependencies?,factory);
It wants to make all of the dependencies (DEP) when declaring the module, and also as a parameter to the factory, like this:
Copy Code code as follows:
define ([' Dep1 ', ' Dep2 '],function (DEP1,DEP2) {...});
If you have no dependencies, define a simple module, so here it is.
Define (function () {
var exports = {};
Exports.method = function () {...};
return exports;
});
Here are define, wrapping things up, that node imp
Reprint Source: http://blog.chinaunix.net/uid-26672038-id-4112229.html
Javasript ModularBefore understanding the AMD,CMD specification, still need to first come to understand what is modular, modular development.Modularity refers to the systematic decomposition of a problem in the process of solving a complex problem or a series of mixed problems, according to a sort of thinking. Modularity is a way of dealing with complex systems that decompose into
[Specification] Front-end encoding specification-jquery specification, front-end jqueryUse single quotes
Not recommended
$("div").html("
Recommendation
$('div').html('');Cache variable
DOM traversal is expensive, so we try to cache elements that will be reused.
Not recommended
var h = $('#element').height();$('#element').css('height', h - 20);
Recommendation
var
defined by RequireJS during promotion.
CMD is the standardized output of modules defined by SeaJS during promotion.
Similarly, there is also the CommonJS Modules/2.0 specification, which is the standardized output of the module definition in BravoJS during the promotion process. How many ??
These specifications are designed for the modular development of JavaScript, especially on the browser side.
At present, the implementation of these specification
1. Pattern definition
The specification pattern is an extension of the combination mode, which is used more in the Framework development (project level development is seldom used), and here makes a simple introduction.The specification pattern (specification) can be considered an extension of the combinatorial pattern. Sometimes certain conditions in a project d
for readability, as the following description contains indents:/** * Here are a method comment with some very special* formatting that I want indent (1) to ignore.* */Method annotations generally include:1. The main description of the method, in. Or. End2. Describe how the method accomplishes the purpose of the method, and the reason for using the method3. Describe how the method is used, including the environmental requirements used, such as preconditions, post conditions, and concurrency requ
element * Based on the passed in tag name * * @param {String} tag * @return {element} el Ement */function make (tag) { //... stuff ... return element;} 12.2 Use//as a single line comment. A single line of comments is used on the comment object above the other line. Inserts a blank line before the comment. 12.3 Adding fixme or TODO prefixes to annotationsHelp other developers quickly understand that this is a problem that needs to be reviewed, or provide a solution to the functionality that n
SQL Authoring Specification
1. Basic SQL Authoring Specification
(1) Direct use of table names in rule 1:sql, no schema as prefix, and cross schema access to create synonym (Data Warehouse, CRM database not applicable).
(2) Rule 2: You must use bound variables to avoid direct references to constants.
Description: Frequent hard parsing can affect database performance.
(3) Rule 3: Avoid applying a functi
1 Document Information
Entry
Content
Project number
General
Project name
General
Title
JavaScript Programming specification
Category
Specification document
Current
Trial draft
Summary
Current version
V1.0
Date
2015/11/9
Auth
Directory1. Functions/methods in the programming language (Function/method in programming language)2. Communication Program Design specification (specification:programming for communication)* Why need specification* Behavioral Equivalence* Standard structure: prerequisites and post conditions3. Design specification (designing specifications)* Classification Speci
JavaScript modularityBefore understanding the AMD,CMD specification, let's start with a simple understanding of what is modular and modular development.Modularity refers to the systematic decomposition of a problem in order to solve a complex problem or a series of mixed problems, according to a sort of thinking. Modularity is a way of dealing with complex systems that break down into manageable modules that are more logical and maintainable in code s
The specification and specification modes of the PHP design pattern series. The specification model of the PHP design pattern series. specification pattern 1. the Pattern Definition specification pattern is an extension of the combination pattern, there are many applications
Article Description: iOS Wow Experience-First chapter-iOS Human Interface Design specification Overview.
This is the first chapter of the IOS Wow Factor:apps and UX design techniques for iPhone and IPad, and the rest of the chapters will be released in succession.
The purpose of Apple's design specification for iOS HMI (Hig,human Interface Guidelines) is to provide the most authoritative and rel
1. Pattern definition
Specification mode is an extension of the combined pattern, which is used more in framework development (project-level development is seldom used), and a simple introduction is made here.The specification mode (specification) can be considered as an extension of the combined pattern. Sometimes the business logic is determined by certain co
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.