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, folder names, filenames, file extensions, pathnames, dummy URLs, and user input are shown as follows: "The ManageTaskLogs
definition is as follows:"
A block of code is set as follows:
Ext.define('TTT.store.Task', { extend: 'Ext.data.Store', requires: ['TTT.model.Task'], model: 'TTT.model.Task', proxy: { type: 'ajax', url:'task/findAll.json', reader: { type: 'json', root: 'data' } } });
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
controllers: [ 'MainController', 'UserController', 'TaskLogController' ], models: [ 'User', 'Project', 'Task', 'TaskLog' ], stores: [ 'User', 'Project', 'Task', 'TaskLog' ]
Any command-line input or output is written as follows:
sencha –sdk ext compile -classpath=app page -yui -in index.html -out build/index.html
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: "Adding a new task log will preserve the currently selected Date and Project, if present:".