- Backbone.js Patterns and Best Practices
- Swarnendu De
- 198字
- 2021-07-19 18:28:19
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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include other contexts through the use of the include
directive."
A block of code is set as follows:
var MainView = Backbone.View.extend({ el : '#main', render : function(){ this.$el.html(new BaseView().render().el); } });
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
var BaseView = Backbone.View.extend({
template : '<h1><%= name %></h1>',
render : function(){
var html = _.template(this.template, {
name : 'Swarnendu De'
});
this.$el.html(html);
return this;
}
});
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes appear in the text like this: "clicking on the Next button moves you to the next screen".
- Software Defined Networking with OpenFlow
- C語言程序設計案例教程(第2版)
- MATLAB定量決策五大類問題
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- Python編程與幾何圖形
- Rust Essentials(Second Edition)
- 劍指大數據:企業級數據倉庫項目實戰(在線教育版)
- Python圖形化編程(微課版)
- 計算機應用基礎(第二版)
- 超簡單:Photoshop+JavaScript+Python智能修圖與圖像自動化處理
- PowerDesigner 16 從入門到精通
- 征服C指針(第2版)
- Mastering OpenStack
- 軟件開發中的決策:權衡與取舍
- Scratch少兒編程高手的7個好習慣