Discover file naming conventions best practices, include the articles, news, trends, analysis and practical advice about file naming conventions best practices on alibabacloud.com
Category: Cake Tags: cake chinese document 4,312 people browse
Cake's naming conventions are quite important, and follow the naming conventions of the cake framework to get the various features built into the framework. After the release of CakePHP2, the naming convention do
naming avoids the confusion that occurs when a div with ID right-column moves to the left of the page. This naming of Div sidebar is more appropriate because the name is still intuitive to developers, no matter which side of the page it appears on.3. ConventionAndy Clarke analyzed 40 of the source code for Web sites designed by developers who respected the concept of standardized web design. Although the c
1. Documents1. attribute file suffix is properties, and conforms to Java I18N specification;2. For each product module's own configuration file must be placed in its own module Conf directory;3. File naming needs to have a certain meaning, as short as possible, the name conforms to the requirements of the operating sys
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
The Hungarian nomenclature is a naming convention when programming. The basic principle is: variable name = attribute + Type + object description. Each object's name requires a clear meaning and can take the full name of the object or part of the name. Naming is based on the principle that easy memory is easy to understand. The naming
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 nam
prefixes for three libraries are now given:①, the General function library, with cm as the prefix.②, the three-dimensional function library, using the VR prefix.③, the image function library, using the IMG prefix.For macro definitions, the result code is prefixed with the same prefix.5. Naming conventions for file names (including dynamic libraries, components,
Data file namingMode 1: Data file naming takes system name +_+ file type. mdf, such as system name Comsys, the database file is namedComsys_database.mdf, there are several database files, such as SQL Server has 2, one is the database textAnd the other is log files, then thei
situations clearly between multiple members.
C # Document Layout
Generally, the copyright, developer, development date, and other information must be added to the C # file first, which can be implemented by registering the class template without the need to add or rewrite the file one by one.
/*************************************** ************************* Developer: netsoul soldier
*
* Cache instance.
-content".7. Footer"Footer" contains some additional information about the site, which can also be named: "Copyright."Two. Points to note:1. Consider the role or "intention" of the element by naming itself as a semantic. Do not use surface-style naming.such as: Red/left/big and so on.2. Combining naming conventions:[Element type]-[element action/content]Such as:
Concise Summary Multiple Write notesI. About naming conventionsThere must be a unified specification for development projects, but what are some of the naming conventions that need to be done?A: First, it cannot be anti-human . Come again is, want to look at the text and know its meaning .Here's how to regulate our code in detail. How to name? 1) JAva class fil
Naming conventionsThe most important consistency rule is naming management. The naming style quickly learns what the name represents: type? Variable? Function? Constant? Macro...? You don't even need to find a type declaration. The pattern matching engine in our brains can handle these naming
name and version number and whether it is a compressed version, such as jquery-1.4.1.min.js; introduction plug-in, file name format for library names + plugin name, such as JQuery.cookie.js;5. All codes conform to the XHTML standard, label attribute attribute naming must consist of lowercase letters and underscore numbers, and all tags must be closed, including BR (6. Make full use of the non-compatibili
★LOB segment Data private tablespace is named after its data table space +_+lobs, as in the previous example, where the data table space is Aud_data, the LOB segment table space can be named Aud_data_lobs3.2.2 Table Space FilesTablespace file naming consists of table space name + two-digit ordinal number (ordinal starting from 01), such as AUD_DATA01, etc.3.2.3 TableTable
This article has collated various CSS specifications in Web front-end development, including document specification, annotation specification, naming specification, writing specification, test specification, etc.Document specification 1, files are archived to the agreed directory. Specific requirements through the Watercress CSS specification to explain: All CSS is divided into two categories: general-purpose classes and business classes. A generic CS
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
Specification | Development Guide
Fleaphp's naming rules and directory structure look more complicated at first, but after you get used to it, you'll see a lot of benefits from this naming convention. The same approach is therefore used in the Zend Framework.
Of course, fleaphp has no mandatory requirements for application naming rules and directory structures. S
style for a separate home page
Head.css: Head style, multiple page head design style is used simultaneously.
Base.css: Common style.
STYLE.CSS: The style file used by the standalone page.
GLOBAL.CSS: Page style basics, global common styles, pages must contain.
LAYOUT.CSS: Layout, layout style, common types of use, generally used in the home page and product class pages
MODULE.CSS: Modules, for product class pages, can also be
long names (less than 15 letters for normal selection)
6, avoid the use of similar names, or just the case of different names
7. Avoid using underscores (except static constants, etc.)
2. Identifier type description1. Naming of packages (package)The package name should be in full English descriptors, which are made up of a lowercase word. And the prefix of the package name is always a top-level domain,Usually com, edu, gov, mil, net, org
library named libz.so, which will cause an error if it is not found.The above mentioned Realname/soname/linker name 3 naming conventions are the key to the Linux system Management shared library,In specific terms:1) When a library developer creates a shared library, the library is typically named Realname2) When a version of the shared library is installed, the installation script usually downloads the 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.