#father. Child {...} Try not to let class contain Id,.father #child {...} It would be a bit ridiculous to write that. Of course, this is not guaranteed, special circumstances need special treatment. But in general this form is not necessarily necessary.
The above is the ID and class use principle, belongs up a word: ID is unique and is the parent, class can be repeated and is a child.
the use of ID and class skills
The name of the child contains the part of the parent name that begins. Th
specification-The 1th character is capitalized, and the 1th letter of each word in the target name is capitalized, such as InvoiceNumber or Printinvoice. All other characters are lowercase.
Camel specification-The 1th character is not written, but the 1th letter of each word in the target name is capitalized, for example, InvoiceNumber. All other characters are lowercase.
However, using character capitalization to differentiate elements can cause pro
, the middle is underlined or the first letter of the word is capitalized (in two ways), and if the identifier is longer than 30 letters, the accent syllable, which is pronounced in English words, picks up three letters. , such as repeater used rpt,management with Mgt.
Case rules
There are generally two kinds of capitalization rules:
Pascal case form, all words first letter uppercase, other letter lowercase.
Camel case, except for the first word,
shut down certain services, reboot, and then use a NMAP scan to make up for the vulnerability of an attacker to discovering its own system earlier. On the other hand, password protection should be enhanced. The main methods of attacking passwords are: Dictionary attack (Dictionaryattack), mixed Attack (Hybridattack), Brute Force attack (Bruteforceattack). The best defense method is to strictly control access to the privilege, that is, to use a valid password. This includes rules that passwords
(Sentence-style capitalization, first letter capitalized) and appropriate punctuation marks, ending with a period of general use
About "Reminders"
A reminder may contain one or two buttons. For reminders with two buttons, you need to leave the button on the left side and the action button on the right.
The button on the left of the point closes the reminder and the button to the right closes the reminder and opens the application.
If there is o
the phenomenon of Bai Tu, looks very beautiful. In fact, you can solve this problem with CSS, and very simple, download fast, do not appear after the mouse after the picture has not been downloaded this situation.Specific procedure reference: http://www.webjx.com/htmldata/2007-01-26/1169772749.html
4. The use principle and skill of ID and class in structureThe use principle of ID and classIt is said that the consortium's ID and class setting is unique, and class is universal. IDs need to be uni
with other PHP conventions, such as the PHP Extension and application Repository (PEAR) package naming and file names. For example, the namespace in Listing 9 is better than the namespace in Listing 10.
Listing 9. The first letter of the word or PASCAL named
namespace MyNamespace;?>
Avoid naming and capitalization conventions that conflict with other PHP conventions.
listing 10. Using Bad
names-but do not follow the rules that should be mixed with letters or numbers. It doesn't take long for a hacker to guess a string of 8-word birthday data.
The best defense against third-level attacks is to strictly control access privileges, that is, to use a valid password.
This includes the rule that passwords should be mixed with letters, numbers, and capitalization (because Linux has a distinction between
Label:Assuming you have the necessary permissions to create and modify databases on the server, let's look at how to create a database and a table in the database . In the example in this chapter, we will create a database for a virtual bookstore:CREATE DATABASE Bookstore;With this simple SQL statement, we have created a database named bookstore . In addition, the MySQL statement and the reserved words in the clauses are not case sensitive . The sensitivity of the database and table name to case
table data The default response when the mouse double-clicks a table or view is disappointing because I am most concerned with the table structure and data, but the two things do not happen after double-clicking, perhaps the default response is the master needs, but for me to view the data and table structure is the most important, the other I do not care. But the good thing is this can be set, you can give the mouse double-click and drag and drop the required events, such as: Double-click Edit
### Well, forgive me, I've drilled niu Jiao jian here. D(‘[项目://][分组/]模型‘,‘模型层名称‘) (from the Development Manual): 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 the externally loaded class library file), is named with the Hump method , and the first letter is capitalized , e.g. DbMy
support cnplugin 4. Auto-capitalization of keywordsNote: keyword capitalization is primarily convenient for querying the corresponding statements in the log.steps: Tools, Preferences->[left panel] "User Interface--? Editor, select uppercase keyword Case drop-down, as shown in:?5. Using special copy (special copy)Note: We often need to put SQL script statements into a variety of development languages, and
the database and table objects
DML (Data Manipulation Language database operating language) was 90%
SELECT INSERT UPDATE DELETE
DCL (Data Control Language database controls language)
COMMIT: Confirms the changes made to the data in the database. ROLLBACK: Cancels the changes made to the data in the database. Grant: gives the user permission to operate. REVOKE: Cancels the user's operation permissions.SQL Basic Writing RulesThe SQL statement ends with a semicolon
1, class SQL Plus Windows: File->new->command window, this is similar to Oracle's client tool SQL Plus, but it is much more useful.2, set the keyword automatic capitalization: tools->preferences->editor, will keyword case select uppercase. When you enter SQL statements in a window, the keywords are automatically capitalized, and the others are lowercase. This is easy to read code, and to maintain a good coding style, in the same way, in Tools->prefere
PL/SQL Developer usage tips, shortcut keys1, set the keyword automatic capitalization: tools->preferences->editor, will keyword case select uppercase. When you enter SQL statements in a window, the keywords are automatically capitalized, and the others are lowercase. This is easy to read code, and to maintain a good coding style, in the same way, in Tools->preferences->code Assistant (assistant) can set the code hint delay time, enter a few characters
display table structure, yeah!Location: Preferences--user Interface, on the right, double-click and drag-and-drop operations for different object types. 4,sql Statement characters all uppercaseThink this is a good habit, the core of the information system is the database, the first thing to check when the system problem is the SQL statement, how to quickly find that SQL statement in the vast log is a more painful thing.SQL statement capitalization do
value;Last click on the number of bars button above: Start debugger or press F9;Last click: Run or Ctrl+r.(in order to tune a stored procedure, please refer to the operating manual, this is probably the application of the instructions).6. Oralce the use of thin clientsFor PL/SQL to connect to an Oracle database, Oracle clients are required in addition to PL/SQL Developer.There is a more convenient way to use Oracle thin client, many places can be downloaded, the file is very small, the cost sou
1, class SQL Plus Windows: File->new->command window, this is similar to Oracle's client tool SQL Plus, but it is much more useful.2, set the keyword automatic capitalization: tools->preferences->editor, will keyword case select uppercase. When you enter SQL statements in a window, the keywords are automatically capitalized, and the others are lowercase. This is easy to read code, and to maintain a good coding style, in the same way, in Tools->prefere
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.