Android coding specifications and performance optimization, and android Performance Optimization
Recently, we have seen that there are too many problems with the new android code, and there are some basic problems. So we have re-trained the code specifications, hoping that we will be able to get better later.
I. Android coding specifications
1. the java code does
Android coding specifications and performance optimization
Recently, we have seen that there are too many problems with the new android code, and there are some basic problems. So we have re-trained the code specifications, hoping that we will be able to get better later.
I. Android coding specifications
1. the java code does not contain Chinese characters. A max
Naming conventions under the Anim directory单词全部小写,单词之间采用下划线分割。
Fade_in.xml
Fade_out.xml
Slide_in_from_left.xml
Slide_in_from_top.xml
Slide_out_to_right.xml
Slide_out_to_bottom.xml
Coding specifications
Try not to show Chinese in the code. Comments and exceptions. The code is displayed in Chinese using the Strings.xml reference.
The control declaration is placed at the activity level so that it can be used
Basic knowledge of Java EE specificationsI blog article URL: https://www.peretang.com/basic-knowledge-of-javaee-standard/
Introduction to Java EEJavaee,java Platform Enterprise Edition, which provides a standard platform/specification for developing Web applications and enterprise applications.Implies that Java EE containers/servers provided by all D Java EE server vendors must contain/support implementations of all Java EE specifications. Devel
Transferred from: http://www.cnblogs.com/x3d/p/php-psr-standards.htmlPsrPHP Standard recommendation shorthand, it should be called PSRs, that is, the series of recommended standards: the current adoption of the specification has PSR-0 (autoloading), PSR-1 (Basic Coding) , PSR-2 (Coding Style Guide), PSR-3 (Logger Interface), PSR-4 (improved autoloading). It is not the official PHP standard, but a series of standards extracted from well-known PHP projects such as Zend, Symfony2, and now more and
1. Significance and role of the norm
Coding specification maximizes team development collaboration efficiency
The coding specification reduces the maintenance cost of a software as much as possible, and virtually no software is maintained by the initial developer throughout its lifecycle.
Coding specifications can improve the readability of the software, allowing developers to quickly and thoroughly understand the new code
Normati
How can we standardize the security of wireless networks? Here we will give a detailed introduction to network technical specifications for new users or network administrators.
Service Set Identifier (SSID) for wireless network technical specifications)
You can set different SSID for multiple wireless Access points and require the wireless workstation to display the correct SSID to Access the AP. This allow
Do you have a headache in obtaining MYSQL database naming and designing specifications? If this is the case, the following articles will give you corresponding solutions. The following articles mainly introduce solutions for obtaining MYSQL database naming and designing specifications, the following is a detailed description of the relevant content. 1) help standardize and standardize data
Do you have a hea
With exception specifications you have to be very careful to make sure that the function call's child function, the registered callback function, does not violate the Convention. It is more difficult to ensure that exceptions are inside the design template.When designing a callback mechanism, if the caller prescribes a non-throwing exception, you must ensure that the registered function does not throw an exception, as shown in the book:void (*callback
Best of 11 PHP programming specifications
From the beginning of the design, PHP was widely used to develop web-based applications. Since PHP is a scripting language, some specifications must be adhered to when developing.
This article will discuss commonly used good code practices, or code specifications, in the PHP field.1, error Report open
Error reporting is
Wireless Security is an eternal topic and an important and important topic to be discussed. The following sections will introduce six wireless security technical specifications. We hope this article will play a role in solving wireless security issues.
Service Set Identifier (SSID), one of the wireless security technical specifications)
You can set different SSID for multiple wireless Access points and requ
Programming specifications are very important, so that the code of the team can be easily read and maintained, and the function can be extended in the future.
To do this, you must first sharpen your tools! As a Java programmer, dealing with Eclipse may be a matter of a lifetime. Setting Eclipse to conform to the company's programming specifications will save us a lot of time.
All users who use Eclipse know
specification and annotation specification.
In fact, the php script we wrote is actually composed of two major parts: writing code and commenting on the code! Different frameworks, or even different companies, may have different requirements for this. Here we just make a summary of our writing specifications! Hope to inspire other friends
1. code writing specifications
Folder name:
The folder must contain
What are the contents of the PSR Series specifications of PHP, what are the PHPPSR specifications?
Psr
PHP Standard recommendation shorthand, it should be called PSRs, that is, the series of recommended standards: the current adoption of the specification has PSR-0 (autoloading), PSR-1 (Basic Coding) , PSR-2 (Coding Style Guide), PSR-3 (Logger Interface), PSR-4 (improved autoloading). It is not the officia
OpenGISWhat is
OGC provides a comprehensive set of specifications for access to geographic data and geographic information resources in a distributed environment. It includes abstract and implementation specifications. Various vendors develop GIS software in accordance with the specifications set by OpenGIS, and some software can achieve interoperability.
OGIS (O
PCB wiring specifications (Huawei) () Design Process
A. Create a network table
1. the network table is the schematic diagram and PCB interface file. The PCB designer should select the correct network table based on the principle diagram and the features of the PCB design tool to create a network Table meeting the requirements.
2. During the process of creating a network table, the schematic design tool should actively assist the schematic designer in
Purpose
This document is specially formulated to improve team collaboration efficiency, facilitate background staff to add functions, optimize and maintain the front-end, and output high-quality documents. once confirmed, front-end developers must develop front-end pages according to the specifications of this document. if any errors or exceptions are found in this document, please submit them in a timely manner and make changes after discussion.Basic
14 industry programming specifications and books
The principle of standardized programming for this time is that the refinement is not comprehensive, mainly aimed at the outstanding issues in Huawei's current coding, so it is unavoidable to be comprehensive.
Lack. Some companies and organizations in the industry have also released some programming specifications.Programming LanguageDefects and use risks are well described.
Here, we will make som
standard.
The web-based architecture is actually a collection of various specifications, which constitute a Web architecture. For example, the HTTP protocol, such as the client server mode, all of these are standards. Every time we add new specifications on the basis of the original specifications, a new architecture will be formed. While rest is such an archite
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.