Discover screenwriting conventions, include the articles, news, trends, analysis and practical advice about screenwriting conventions on alibabacloud.com
Common CSS Naming conventions
Head: Header
Content: Content/container
Tail: Footer
Navigation: Nav
Sidebar: Sidebar
Column: Column
Page perimeter control overall layout width: Wrapper
Middle: Left Right center
Login Strip: Loginbar
Logo: Logo
Ad: Banner
Page body: Main
Hotspot: Hot
Press: News
Download: Download
Sub-nav
At the beginning of the name of the time do not know how to name a mess of their own look dizzy, I am afraid of themselves, finally checked some information summarized as follows:The name of the first character can not be a number, followed by any letter or number and underscore, cannot be reserved words or spaces, variable naming is a type prefix + meaningful word composition, with camel-type nomenclature to increase the readability of variables and functionsEach local variable needs to have a
For the writing order of CSS1. Location properties: (e.g. position,top,right,z-index,display,float, etc.)2. Size: (Width,height,padding,margin)3. Text series: Font,line-height, Letter-spacing,color-text-align4. Background: Background,border5. Other: Animation,transitionFor writing Specifications:1. Use CSS abbreviation properties, such as for Padding,margin,font properties2. Remove the 0 in front of the decimal as Font-size:.8em3. Abbreviated name (but for example, to ensure its semantics)4.16 b
using _tips selectors, which are not valid in IE6)
Good to distinguish JavaScript variable name (JS variable name is "_")
Here is a detailed discussion of dashes and underscores, in English: Click to view the Chinese text: Click to viewDon't feel free to use IDID in JS is unique, can not be used multiple times, and the use of class selector is reusable, and the priority of the ID priority and class, so the ID should be used on demand, and can not be abused.Add a status prefix to the se
addition, there are some agreed idiomatic English word abbreviations, such as internationalization->i18n;
Do not use abbreviations in the program, unless the abbreviation is customary.
Naming conventions:
Package (packages): Use the anti-domain naming rules, all using lowercase letters. The first level of the package name is the top-level domain name, such as COM, two-level package named XX (can be a company or personal casually), three-
The naming rules for Cisco switches are more complex than the naming rules for routing,Look at these:ws-c2960-24tc-l, WS-C2950G-24-EI-DC, Ws-c2960-24tt-l, Ws-c3750g-24ts-e, Ws-c3750g-24t-s, We didn't find them on the switch, we just saw the Catalyst 2950 series and wrote it all: The Cisco Catalyst 2950 Series, which means the Cisco switch 2950 series, Catalyst This word is the meaning of Cisco switching. Today we're going to talk about a long list of naming
Naming rules for packages, classes, methods, properties, constants in Java1: Package: Used to classify classes that do different functions, put them under different directories (packages), and package naming conventions: reverse the company domain name as the package name. For example, www.baidu.com for package name: each letter needs lowercase. For example: Com.baidu.test; The full name of the test class under the package is: Com.baidu.Test.java.If t
Java Development Naming Conventions The Writing specification (package) that summarizes the names of the packages recommends using a company or organization's top-level domain name as the prefix for the package name to guarantee the uniqueness of the package name used within each company/organization. The package name is all lowercase and has a practical meaning
Precautions before use:1, due to the Java object-oriented programming characteristics, in
Name mangling (also called name Decoration name decoration). In many modern programming languages, this technique is used to solve problems that require unique names, such as naming conflicts/overloads.In Python, a class variable that starts with a double underscore uses the name mangling technique, which automatically adds the class name prefix.What's the use? You can prevent accidental modification to a subclass or outside of a class. Although a variable with a single underscore also has a pri
In the learning time will be forgotten each time the class, module, function whether the first letter is uppercase or lowercase, this document is for memory use, complete naming specification please refer to other network documentsExample: http://book.douban.com/reading/10700087/1. Package, naming specification for modulesAll lowercaseFilename:pythonmodule.py2. Naming conventions for classes, objectsCapitalize the first letter of each word, other lowe
1. Project NameAll lowercase, such as: test2. Package NameAll lowercase, such as: Com.tju.lirui.test2. Class nameCapitalize the first letter of each word, such as: HelloWorld3. Variable name1, static variables: All uppercase, the words with the underscore "_" separate, such as: Boolean_flag2, ordinary variables: First letter lowercase, the beginning of each word capitalized, such as: Wordtype4. Name of function1. In the function name, the first letter is lowercase, then the first letter of each
Variable declaration:JavaScript is a weakly typed language whose variable type is determined by its value, and VAR is a variable declaration.Variable type:Base type: Number, String, Boolean (Boolean type: var a=true/false;), undefined (undefined type: var A;), null (Null object type var)Composite type: Object (objects Type)Naming conventions:1) Case-sensitive2) The first character must be a letter, underscore, dollar sign $3) Other characters can be l
This article is to learn the CSS before, in order to standardize the name of CSS, looking for a note on the Internet.Feel good, so share out to let everyone see.Original Portal: http://www.divcss5.com/jiqiao/j4.shtml
standard usage in Web page making Div+css naming rules that can improve the effectiveness of optimization especially when teamwork can provide collaborative production efficiency, specific DIV CSS Naming conventions css naming encyc
Database Naming Conventions
1 Purpose
A naming convention that regulates the various objects of a database.
2 Database naming principles
2.1 Data Files
If the database is based on a file system rather than a raw device, the following naming conventions are agreed:
1 The data file begins with the table space name, with the. dbf as the end, all with lowercase letters plus a digital name. If the table sp
operation of subclasses, you can use the protect to encapsulate the properties, so that the external cannot see directly After the inheritance, since there is a father-son relationship, so you can use an upward-downward transition to complete polymorphism, but there is not much direct inheritance between classes and classes in development, often inheriting abstract classes or implementing interfaces, which can be accomplished when several small operations require decoupling. Since there are inn
message values :Implemented a custom message in the Code SendMessage (), today did not want to find the original custom message umsg value needs greater than wm_user, such as Wm_user+1, on the line, and then look at my original set value: 12345, fortunately there is no problem.Wm_user (value: 1024)To prevent user-defined message IDs from conflicting with the system's message ID, MS (Microsoft) defines a macro wm_user that is less than the Wm_user ID being used by the system, and that the ID gre
A summary of the variable definitions for Java is as follows, with only alphanumeric and dollar signs and underscores1, the first text is written in English letters (A-Z-a-to-a--), or $, or underscore _ start2, the second letter can be used after the text3. Strict case Difference4, no limit on length5, can not use the reservation language (If,goto, etc.) Public classTest1 { Public Static voidMain (string[] args) {intA=1; int_23; int $; int#;//can't start with him . int34;//cannot start wi
--2015.09.24When building a web App using Gradle:The directory structure is as follows (eg):Src/main/java/bla ...Src/main/resources/log4j.xmlSrc/main/resources/schema.sqlSrc/main/webapp/resource/x.csssrc/main/webapp/web-inf/view/xxx.jspSrc/main/webapp/web-inf/spring/zz.xmlAfter buildingsrc/main/java/Bla.javaWeb-inf/classes/bal.classSrc/main/resources/log4j.xmlWeb-inf/classes/log4j.xmlSrc/main/resources/schema.sqlWeb-inf/classes/schema.sqlSrc/main/webapp/resource/x.cssApp/resource/x.csssrc/main/w
Master.css,style.css
of the main
Module.css
Module
Base.css
Basic common use
Layout.css
Layout, layout
Themes.css
Theme
Columns.css
Column
Font.css
Text, Font
Forms.css
Form
Mend.css
Patch
Print.css
Print
CSS naming other instructions:div+css naming Summary : either use "." (lowercase pe
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.