- Instant Magento Performance Optimization How-to
- Nayrolles Mathieu
- 150字
- 2021-11-12 16:37:43
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "The Magento Core adds an HTML <div>
tag before each file."
A block of code is set as follows:
<connection>| <host>|<![CDATA[NEW_SERVER_ADDRESS]]>|</host>| <username>|<![CDATA[NEW_USER_NAME]]>|</username>| <password>|<![CDATA[NEW_PASSWORD]]>|</password>| <dbname>|<![CDATA[NEW DATABASE_NAME]]>|</dbname>| <initStatements>|<![CDATA[SET NAMES utf8]]>|</initStatements>| <model>|<![CDATA[mysql4]]>|</model>| <type>|<![CDATA[pdo_mysql]]>|</type>| <pdoType>|<![CDATA[]]>|</pdoType>| <active>|1</active>| </connection>|
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<default_read> <connection> <host><![CDATA[SLAVE_SERVER_ADDRESS]]></host> <username><![CDATA[SLAVE_USER_NAME]]></username> <password><![CDATA[SLAVE_PASSWORD]]></password> <dbname><![CDATA[SLAVE_DATABASE_NAME]]></dbname> <initStatements><![CDATA[SET NAMES utf8]]></initStatements> <model><![CDATA[mysql4]]></model> <type><![CDATA[pdo_mysql]]></type> <pdoType><![CDATA[]]></pdoType> <active>1</active> </connection> </default_read>
Any command-line input or output is written as follows:
sudo pecl install xdebug
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Finally click on the Submit button."