- Shopify Application Development
- Michael Larkin
- 239字
- 2021-07-16 11:52:16
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: "To use Rails 4.0.0 with Heroku, we need to add the rails_12factor
gem to the Gemfile so that we can precompile our assets."
A block of code is set as follows:
def obscure_string(string, count) return string if count.blank? substring = string.slice(0..(-1 * count - 1)) return string.gsub(substring, "*" * substring.length) end
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
resources :products do collection do get 'import' end resources :variants end
Commands that need to be entered at the terminal / shell window are set as follows:
gem install rails -v 4.0.0 --no-ri --no-rdoc
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: "You should see a Welcome aboard page that lists out some helpful tips as well as information about the application's configuration as shown in the following screenshot:".
- Instant Apache Stanbol
- Java Web開發(fā)之道
- Xcode 7 Essentials(Second Edition)
- 數(shù)據(jù)庫系統(tǒng)原理及MySQL應(yīng)用教程
- Linux命令行與shell腳本編程大全(第4版)
- Python面向?qū)ο缶幊蹋簶?gòu)建游戲和GUI
- NoSQL數(shù)據(jù)庫原理
- Beginning C++ Game Programming
- 新印象:解構(gòu)UI界面設(shè)計(jì)
- PrimeFaces Blueprints
- Java并發(fā)編程:核心方法與框架
- Magento 2 Beginners Guide
- WCF技術(shù)剖析(卷1)
- Getting Started with Windows Server Security
- Processing開發(fā)實(shí)戰(zhàn)