PHP design pattern series-Specification pattern (Specification) 1. Pattern Definition
Specification can be considered as an extension of the combination mode. Sometimes some conditions in a project determine the business logic, and these conditions can be extracted and combined in a certain relationship (and, or, or not) to flexibly customize the business logic.
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
AMD specification for JavaScript and JavaScriptAMD SpecificationI. Origin
Many new JavaScript architecture solutions and standards have been proposed by CommonJS, hoping to provide unified guidance for front-end development. AMD specification is one of the most famous ones. Its full name is Asynchronous Module Definition, that is, Asynchronous Module loading mechanism. Describes the module definition, depen
Text: A brief talk on Android code and naming specificationObjective:The current work is responsible for the development of two medical app projects, while using Leancloud for cloud development, fully singled out.The present large framework has been completed and is being developed on the details moduleTake the time to summarize the development specifications for Android projects:1, Code Specification 2, naming conventions Note: Personal experience,
involves many aspects, such as PHP code specifications, PHP file naming code, Web site development process, Web site security and maintenance.
As the beginning of the PHP development specification, I from a pure PHP developer's point of view, I think that the PHP code specification, mainly from the PHP directory framework structure, PHP Code writing specifications, PHP file naming norms three angles to expl
In this article we will share the PHP comment syntax and naming conventions, and we know that annotations are very important in writing code, that good annotations make your code easier to read, and that you pay attention to the specification of annotations when you write code. I hope this article can help everyone.
HP Annotation Specification
Annotations are important in the process of writing code, and
combined freely by bitwise or manipulation.[Flags]Public Enumwatcherchangetypes{CREATED=0X0002,deleted=0x0004,changed=0x0008,renamed=0x00010,}Consider providing special enumeration values for common tag combinations. (bit operations are a high-level concept that is not required for simple tasks, FileAccess.ReadWrite is an example of this)[Flags]Public enumfileaccess{Read=1,write=2,readwrite=read| Write,}Avoid having a tag enumeration created that contains some invalid combinations.avoid using z
(1)
The requirement statement is the work result of the demand analysis stage, the basis for the communication Specification Analysis in the next stage, and the inspection standards for future acceptance projects.
Currently, the requirement specification does not have international or national standards, but it should containBusiness, user, application, terminal, and network requirementsFive requirement
IOS code specification document and ios code specification
File naming rules:
1. The project uses the class prefix ZY.
2. Classification naming + ZYExtension is used in the end. For example, NSDictionary + ZYExtension. h. Common Classification definitions are embedded and document comments are written. If there are many internal functional classification methods, you can consider naming them by function.
3.
Front-end encoding specification (2) HTML specification, front-end EncodingDocument Type
HTML5 document type statement is recommended:
(Html in text/HTML format is recommended. Avoid using XHTML. XHTML and its attributes, suchapplication/xhtml+xmlLimited space for application support and Optimization in browsers ).
In HTML, it is better not to close tags with no content element [1]. For example, useRather.H
can also support additionalPoint Type:■ Integer, whose value is a 32-Bit Signed binary complement integerSome Java card virtual machines can also support additional Shaping■ INTEGER: A 32-Bit Signed binary integer.
The supported Boolean types in Java virtual machines are the same.Value 1 is used to indicate that the true and 0 values are used to represent false values.The reference types are the same.
3.2 words,3.2 wordsAn abstract storage unit defined in the Java card virtual machine is ca
This article from Wikipedia: Http://en.wikipedia.org/wiki/JavaBeans#JavaBean_conventionsJavaBeans is a reusable software component in the Java language, which is a special Java class that encapsulates many objects into an object (bean). The feature is serializable, providing a parameterless constructor that provides getter methods and setter methods to access the properties of the object.Advantages:
The bean can control whether its properties, events, and methods are exposed to other pr
:10000), not all and (-webkit-min-device-pixel-ratio:0) {...}
Iphone/mobile WebKit
@media screen and (max-device-width:480px) {...}
10. Use after or overflow to clear the float 11. Both inline and inline CSS must be placed in the head of the page. Order is: full-station CSS, product-level CSS, page-level (external) CSS, page-level (inline) CSS, inline CSS12. Avoid the use of inefficient selectorsSuch as:Body > * {...}UL > li > a {...}#footer > h3 {...}Ul#top_blue_nav
abbreviations when using abbreviations to not allow color names, RGB () to ensure that the 16-binary notation is uniform in capitalization. (Recommended capitalization)2D Position (background-position)You must give the value of the background-position in two directions. Because the default is 0% 0%, but gives only one direction value, the other side defaults to the Center property value.textThe font-family attribute should use the English example: font-family: "Microfoft Yahei"; Font-size attri
-8 characters (non-English operators) as their function names. function 函数(){ console.debug("中文名的函数"); } function BigLetterFunctionName(){ console.debug("Method names cannot begin with an upper case letter"); }Naming conventions for IDsYou must start with a lowercase letter, you cannot start with a capital letter, and support Utf-8 characters (non-English operators).importQtQuick 2.0QtObject{ id:中文 // IDs cannot start with an uppercase letter}QML File Naming conv
The States Field Usage specification you should know, and the States Field Usage Specification
Preface
I recently encountered some things in my work. I think it is necessary to share with you that we want to unify the status fields of database tables, design database tables, and simplify the use of fields in program development, I won't talk much about it below. Let's take a look at the detailed introductio
Front-end HTML specification and HTML SpecificationHTML specification-Overall Structure
The file should start with "
The character set of the document must be affirmed and consistent with the encoding of the file itself. UTF-8 encoding is recommended.
Enter the appropriate keywords and description Based on the page content and requirements.
Page title is an extremely important and indispensable item.
HTML specification and html encoding Specification
1. The document type is correct;
2. Use a lower-case element name, which looks fresh and easy to write;
3. Close each tag to be closed;
4. disable empty HTML elements, such as
5. the attribute name must be in lower case;
6. attribute values are enclosed in quotation marks;
7. Add the alt attribute to the image;
8. Avoid a line of code that is too l
whether it is final. The 7) class member method is only intended for internal invocation of the class and must be private. The 8) class member method is only exposed to the inheriting class, and is limited to protected. description: Any class, method, parameter, variable, strict access to the scope. A wide range of access is not conducive to module decoupling. Think test: If it is a private method, you want to delete it, but a public service method, or a The scope of the variable
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.