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: "Open the settings.yml
file, and then look for the compressed
parameter key halfway down."
A block of code is set as follows:
<?php use_helper(‘JavascriptBase'); ?> <?php echo javascript_tag(" function name() { //Code } ") ?>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
dev: .settings: error_reporting: <?PHP echo (E_ALL | E_STRICT)."\n" ?> web_debug: on cache: on no_script_name: off etag: off
Any command-line input or output is written as follows:
$/home/timmy/workspace/milkshake>Symfony generate:module frontend best
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: "As you can see in the following screenshot, the total page size is 113 KB".