module names.After Drupal 8 and after, you should use the Const keyword instead of the define () function to define constants, because it is more efficientNote that const cannot be used in PHP expressions, so in conditional judgment and non-literal value??? , you should still use the Define () functionGlobals (Global Variables)When you define a global variable, you should start with an underscore and a module/topic nameClasses (Class)Class names should be named with the Hump (that is, the first
Basic requirements
1.1 Program Structure analysis, easy to understand, a single function of the number of programs can not exceed 100 lines.
1.2 What to do, to be simple, straightforward when the code is streamlined to avoid garbage programs.
1.3 Use standard library functions and public functions as much as possible.
1.4 Do not arbitrarily define global variables, try to use local variables.
1.5 use parentheses to avoid ambiguity.
2. Readability Requirements
2.1 Readability first, effici
There is no doubt that anomaly specifications are a compelling feature. It makes the code easier to understand because it clearly describes what kind of exception a function can throw. But it's not just an interesting note. The compiler can sometimes detect inconsistencies in the exception specification at compile time. And if a function throws an exception that is not in the exception specification range, the system can detect the error at run time,
GBIC is the abbreviation of Giga Bitrate Interface Converter, is an interface device which converts gigabit electrical signals into light signal. The Gbic design can be used for hot-swappable. The gbic is an interchangeable product that conforms to international standards. Gigabit switches designed with GBIC interfaces are flexible and have a large market share in the market.
Cabling Specifications for Gbic ports
The following table shows the cablin
Apply:ACCESS2000 ACCESS97
Database specifications are the working limits of MDB, to the following ACCESS2000 specifications, and ACCESS97 only very few differences, the difference is particularly noted.
Database
Database file size: 2 billion bytes (ACCESS97 to 1 billion bytes)
Number of components within a database: 32,768
Die Fast: 1024
Number of bytes in a component name: 64
Number of bytes in a pa
MySQL Technical specifications
Oracle MySQL Cloud service
MySQL Database as a service
A flexible architecture
Open source
Multithreading
Pluggable Storage Engine Architecture
INNODB,NDB Cluster
MyISAM, merging, memory, archive
ANSI SQL Standard
ANSI SQL
Sub-query, join, cursor
Prepared statements
Tags: number of specifications post storage engine settings Select keywords Influence andA brief introduction: Today we talk about research and development norms Two specifications1 table1 Choosing the right character set and storage engine recommended InnoDB UTF8MB42 table name do not include MySQL keyword, conform to naming convention3 foreign keys are not recommended4 Try not to use partition table, the use of sub-database table is the best solutio
Tags: diagram definition condition management Create author promotion include apply color Atitit Database view view using recommended specifications and best practices and methodologies 1. Advantages of the view:1 1.1. * * improve readability and customize user data to focus on specific data 1 1.2. Using views, you can simplify data manipulation. 1 1.3. * * increase The refactoring change of the underlying table of the extensibility shield
, index specification, usage specification, etc.Normative existence meaning
Guaranteed Online Database Schema specification
Reduce the probability of a problem
Easy and automated management
Specifications need to persist for a long time, for development and DBA is a winning thing
Constraint specification
Table Character Set selection UTF8, if need to store emoj emoticons, need to use UTF8MB4 (MySQL 5.5.3 later suppor
name.Prefix: Use the lowercase letter TB, which represents the table. In the actual name, a system tries to take the same word, multiple after add _ to connect the distinction.Therefore, the legal table name is similar to the following.TbmemberTbmember_infoTbforum_boardTbblog_comment1TableTable names such as Order/useraccoutComplies with the following specifications:(1) Uniform use of singular form, against orders(2) Capitalize the first letter, mult
Why should we develop our own php coding specifications?
When we write code, a good coding specification can play a lot of undesirable effects for us. At least, it has the following benefits:1. improve our coding efficiency. Uniform Code makes it easy for us to copy and paste it!2. improve code readability.3. show our major. When others see our code, they find that the entire code writing process is uniform, and the code is immediately pushed up!4. fa
details about the specifications, see the specifications.2.4 each function has a description of the function header. For details about the specifications, see the specifications.2.5 comments can reflect the meaning of a major variable (structure, union, class, or object) when defining or referencing it.2.7 DEFINE a co
ArticleDirectory
I. Review in the previous chapter
Ii. Summary
Iii. Outline of this Chapter
Iv. Multiple Ways to separate concerns
V. Related Design Methods
Vi. Summary in this Chapter
VII. Series progress
8. next announcement
IX. Demo download
I. Review in the previous chapter
In the previous chapter, we mainly discuss the specific principles and norms in the system design specifications and principles. How to ac
Basic Requirements
1.1ProgramStructure analysis is easy to understand. The number of program lines of a single function cannot exceed 100.1.2 What are you going to do? It should be simple and straightforward,CodeStreamline and avoid spam.1.3 try to use standard library functions and public functions.1.4 do not define global variables at will. Use local variables whenever possible.1.5 use parentheses to avoid ambiguity.
2. Readability requirements2.1 readability first, efficiency second.2.2 k
Bluetooth Core Technology Overview (5): Bluetooth protocol specifications (irOBEX, BNEP, AVDTP, AVCTP ),
Keywords: Bluetooth Core Technology protocol irDA BNEP AVDTP AVCTP
Author: xubin341719 (You are welcome to reprint it. Please indicate the author. Please respect copyright. Thank you !)Correct the mistakes and learn and make progress together !!
Download link:Bluetooth PROFILE SPECIFICATIONS(Basically co
C # writing specifications
I. Naming
The naming scheme is the most influential help for understanding the logical flow of an application. The name should indicate "what" rather than "how ". By avoiding the name of the public basic implementation (which may change), you can retain the abstract layer that simplifies the complexity. For example, you can use GetNextStudent () instead of GetNextArrayElement ().
Naming principles:
Selecting the correct name
Of the 13 J2EE specifications (1) JNDI, j2ee13 specification jndi
Recently I was studying J2EE. I thought J2EE was also a high-level language similar to J2SE, c #, and vb. I didn't expect that when I learned the video, I realized that other languages are not like this.
J2EE is a set of technical architecture completely different from traditional application development. It contains many components, which can simplify and standardize the development an
Most of our routers use an external power adapter for power supply. To ensure the normal use of the router, the output specification of the external power adapter must match the router's power specification, which can be confirmed by the following methods.
Confirmation method
1
, the shell label to view the router's power supply specifications
The router is labeled with a power supply specification, as shown below:
The pow
On programming specifications in JavaScript
This is written in the previous blog post. First, let's talk about the importance of programming specifications. It keeps our code consistent, predictable, and easier to read and understand. A new developer can read the code written by other team members to get started faster.
The first point is indent.
One bad thing is inconsistent indentation, because it looks l
Traditional network technologies have been left behind by history, so popular new technologies must adapt to social development. The formation of networks in the family also faces many problems, the home network standards and specifications are described here. Wireless voice network-when each wireless phone can view and manage up to four common telephone service (POTS) lines, multiple PCs can be used on the LAN at the same time. The mobile phone displ
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.