file naming conventions best practices

Discover file naming conventions best practices, include the articles, news, trends, analysis and practical advice about file naming conventions best practices on alibabacloud.com

Common HTML, CSS, JavaScript front-end naming conventions

only used on large modules, class can be used in high repetition rate and children; The ID is, in principle, named when I distribute the framework file, except for the hooks reserved for JavaScript; 4. For JavaScript to reserve the name of the hook, please start with js_, such as: Js_hide, js_show;5. Class and ID naming: Large frame naming such as Header/footer/

thinkphp directory structure and naming conventions

Directory structure:Naming rules:The following naming conventions should be followed as far as possible during development with thinkphp: Class files are suffixed with. class.php (this refers to the class library file used internally by thinkphp, which does not represent an externally loaded class library file), is

PHP Naming conventions

A framework written using PHP must have its own specifications, thinkphp and vice versa. Here are The naming conventions that should be followed as much as possible using thinkphp: 2 .class.php thinkphp internal use of the class library file, does not represent the externally loaded class library file), using

Oracle database management scripting naming conventions _oracle

: Table 1 Physical location of database management scripts in the operating system Almost all of the system administration scripts in Oracle are saved in the file directory, which contains hundreds of different files. What is the effect of these different documents? This article discusses in detail the naming conventions that make up Oracle database management

Java Program Naming conventions

Program naming rulesTip: The module designer determines the module naming conventions for the software (such as classes, functions, variables, etc.) to ensure that the style of the module design document is consistent with the style of the code. You can extract or reference (if present) from the programming specifications of the organization.Naming rules1. Packag

Python Naming conventions-google-styleguid__python

in lowercase (such as lower_with_under.py). Although there are already many existing modules using names like capwords.py, this is discouraged because the module name happens to be in line with the class name. the code recommended by the father of Python Guido Main TipEven a file that is intended to be used as a script should be imported. And a simple import should not cause this script's main function (main functionality) to be executed, which is

Code Naming conventions

This journal is a summary of a reading material. File: Https://class.stanford.edu/c4x/Engineering/CS-144/asset/Naming.pdf (also available from Baidu cloud disk Download: http://pan.baidu.com/s/1hqf6KIw). Summarized as follows: The name should reflect the purpose of the code author. This saves unnecessary annotations such as int t; Time since born in days can be changed to int dayssinceborn;) and make the code easier to read. easy to

CSS naming conventions and writing specifications

: ScrollContents: ContentTags: tagsArticle List: ListHint Message: MSGTip: TipsColumn Title: TitleJoin: JoinusGuide: GuidesServices: ServiceRegistration: RegsiterState: StatusVote: VotePARTNER: Partnernotation:/* Header */Content Area/* End Header */Name of the ID:1) Page structureContainer: ContainerPage Header: HeaderContent: Content/containerPage body: MainPage End: FooterNavigation: NavSidebar: SidebarColumn: ColumnPage perimeter control overall layout width: WrapperMiddle: Left Right center

Customary PHP Naming conventions

From C + + to PHP has been a long time, has been a bit of code cleanliness, for the file name, interface name, class name, method name, etc. use strict hump naming method,But sometimes you hesitate to use the initial capitalization to differentiate or underline. Briefly summarize and statute today.1. File nameFile name Unified use of the big hump nomenclature, th

JavaScript Knowledge points Summary (naming conventions, scope of variables)

variable start with a lowercase letter:Function Validatename (Firstname,lastname)Prototype Naming method:Many of the new nomenclature is not intended to make the language readable, but rather to bring the language closer to other languages, which is even more beneficial for backend developers learning the front end.The following dash begins to represent a private variable:var _object= new Object ();Prototype also uses $ to express the shortcut method

Python Naming conventions

first parameter of a class method. If a function's parameter name conflicts with reserved keywords, it is usually better to use a suffix underline than to use abbreviations or strange spellings. 5) Constants: The constant name is all letters capitalized, and each word is connected by an underscore, such as max_overflow,total. 6) exception Because exceptions are also a class, follow the naming

CSS Naming conventions

should be capitalized.If you can, color as far as possible with three-bit characters, such as #aabbcc written #abc.If there is no border, do not write border:0, should be written border:none.Try to avoid using AlphaImageLoader.Try to merge duplicate styles as much as possible while keeping the code decoupled.Background, font, and so on can be abbreviated attributes, as far as possible using abbreviated form.Common naming:Container: ContainerPage Header: HeaderContent: Content/containerPage body

Oracle X $ table naming conventions

Oracle X $ table naming conventions [plain] X $ table naming conventions [plain] [K] ernel Layer [2]-Phase Commit [G] lobal [T] ransaction [E] ntry X $ K2GTE-Current 2 PC tx X $ K2GTE2-Current 2 PC tx [C] ache Layer [B] uffer Management Buffer [H] ash X $ BH-Hash Table Buffer LRU Statistics X $ KCBCBH-[C] urrent [B] uf

Web Standard one: standard definitions, benefits, noun interpretations, common terminology, naming conventions

: KeyWord;4. Use PX (pixels) as the basic unit of measurement;5. Use of hollow grid: Full angle: Chinese space half angle: nbsp;6. In the project completion package, the document and the file name all use lowercase letters, do not use the Chinese file name;7. Reduce the number of nested layers of div;8. Add alt attribute to important picture, add title to important element and truncated element;9. Use the c

Golang Naming conventions

Golang Naming conventionsImage Filename The main portal file for the entire app or package should be or be the same as the main.go app name shorthand. For example: Gogs The main portal file is named gogs.go . Function or method If a function or method is a judgment type (the return value is primarily a bool type), the name should begin with, or, f

CSS Naming conventions

Page body: Main Page End: Footer Navigation: Nav Sidebar: Sidebar Column: Column Page perimeter control overall layout width: Wrapper Middle: Left Right center Name of the ID-navigation Navigation: Nav Main navigation: Mainnav Sub-navigation: Subnav Top Navigation: Topnav Side navigation: Sidebar Left navigation: Leftsidebar Right navigation: Righ

iOS project icon and default picture naming conventions

the latest Apple Developer documentation for iOS APP Programming Guide and iOS Human Interface guidelines. From the official documentation, I found what we needed to prepare for the retina display of the new ipad:ipad main app icon (144x144 pixels): Previously used on ipad 1, 2 generation is 72x72 pixels. Now we need the extra @2x version (144x144 pixels).ipad search results icon (100x100 pixels): This icon appears in the system search results (Translator Note: Also in system settings, if the a

thinkphp Learning Note 1-directory structure and naming conventions

, directly read a few words than to read an array simple Ah, but the way to name the underscore PHP is the habit of the inventor, we have to reluctantly accept.2. Case, I remember that the custom variables in PHP are case-sensitive, the others do not distinguish, but in order to avoid the case we switch between the words, suggest or distinguish, I think I can use lowercase as far as possible in lowercase, go to school to do English reading comprehension there is no very annoying to appear upperc

Best practices and coding conventions for the officially recommended ActionScript by Adobe

I. Naming Conventions 1. Using naming conventions with variable names provides the following important functions:-These conventions make the code easy to read so that you can immediately identify the data type of the variable. This helps students (persons who learn code) and

CSS-Naming conventions

CSS File classification1. Common type: Label reset, default setting, Universal style2, Special type: Special layout, special module, special skinCSS File Reference order1. Public2. Main body3, skin and other modulesCommon file namesMaster.css or INDEX.CSS or main.css the mainMODULE.CSS ModuleBASE.CSS or GLOBAL.CSS Basic publicLAYOUT.CSS layoutThemes.css ThemesSki

Total Pages: 5 1 2 3 4 5 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.