售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Meteor Design Patterns
Table of Contents
Meteor Design Patterns
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with Meteor
CoffeeScript for Meteor
Objects and arrays
Logical statements and operators
Functions
Binding
Jade for Meteor
HTML tags
Templates and components
Helpers
Stylus for Meteor
CSS tags
Variables
Functions/mixins
Templates, helpers, and events
Templates
Creating helpers
Events
The event loop and the merge box
The event loop
The merge box
The beginning of our online shop
The must-have packages
File structure
Summary
2. Publish and Subscribe Patterns
Template-level subscriptions
Setting up products for the online shop
Building the publisher
Subscribing to the publisher
Database relationships
One to one
One to many
Many to many
Publishing with relations
Publishing products with images (one to one)
Publishing orders with details (one to many)
Publishing a tag with products (many to many)
Key, foreign key, options, and filter
Aggregation publishers
The aggregation framework
Publishing the results
External API publishers
The HTTP package
Summary
3. Front-end Patterns
Responsive design
General settings
Bootstrap
Jeet grid systems with Rupture
Super helpers
Defining a Blaze helper
Making a global dictionary
Variable types
Session variables
Persistent variables
File scope variables
The ReactiveVar variables
Forms
Meteor Methods
Autoform
Loading data
Designing the loading indicator
Implementing the loading indicator
Animations and transitions
Animating with CSS
Executing animations in Meteor
SEO
Prerender.io
Using Meta
Schema.org
Summary
4. Application Patterns
Filtering and paging collections
Router gotchas
Stateful pagination
Filtering
Security
Roles
Collection2
Deny rules
Custom deny rules
The Meteor methods – round 2
Managing the wait time
Browser policy
Framing
Content
External APIs
Synchronization
Webhooks
Summary
5. Testing Patterns
Behavior tests
Unit tests
Summary
6. Deployment
Setting up Modulus
Setting up Compose
Setting up Kadira
Setting up an SSL certificate
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜