售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Meteor Cookbook
Table of Contents
Meteor Cookbook
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
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Optimizing Your Workflow
Introduction
Installing Meteor
Getting ready
How to do it...
How it works...
There's more...
Finding documentation for Meteor
How to do it…
How it works…
There's more…
Getting help with questions
How to do it…
How it works…
Stack Overflow
Meteor forums
The #meteor on IRC
There's more…
Setting up your project file structure
Getting ready
How to do it…
How it works…
client/server
main/lib
public/private
both
There's more…
See also
Setting up your development environment
Getting ready
How to do it…
How it works…
There's more…
See also
Using the web console
Getting ready
Safari
Firefox
Chrome
How to do it…
How it works…
There's more…
Deploying a test app to Meteor
Getting ready
How to do it…
How it works…
There's more…
See also
Deploying to Meteor using a CNAME redirect
Getting ready
How to do it…
How it works…
See also
Deploying to a custom hosted environment
Getting ready
How to do it…
How it works…
There's more…
See also
Deploying with Meteor Up (MUP)
Getting ready
How to do it…
How it works…
See also
Using CoffeeScript
Getting ready
How to do it…
How it works…
See also
Using CSS compilers
Getting ready
How to do it…
Using Stylus
Using Less
Using SCSS / SASS
How it works…
See also
2. Customizing with Packages
Introduction
Adding Meteor packages
Getting ready
How to do it...
How it works...
There's more…
See also
Removing Meteor packages
Getting ready
How to do it…
How it works…
There's more…
Discovering new packages with Atmosphere
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a multipage application with Iron Router
Getting ready
How to do it…
How it works…
There's more…
See also
Building a custom package
Getting ready
How to do it…
How it works…
There's more…
See also
Using npm modules
Getting ready
How to do it…
How it works…
There's more…
See also
Publishing custom packages to Atmosphere
Getting ready
How to do it…
How it works…
There's more…
See also
3. Building Great User Interfaces
Introduction
Inserting templates with Spacebars
Getting ready
How to do it...
How it works...
There's more…
Inserting raw HTML using triple braces
Getting ready
How to do it…
How it works…
See also
Creating dynamic lists
Getting ready
How to do it…
How it works…
There's more…
See also
Building a smooth interface with Bootstrap
Getting ready
How to do it…
How it works…
There's more…
See also
Creating customized global helpers
Getting ready
How to do it…
How it works…
There's more…
See also
Creating custom components
Getting ready
How to do it…
How it works…
There's more…
See also
Using reactivity with HTML attributes
Getting ready
How to do it…
How it works…
See also
Using dynamic templates
Getting ready
How to do it...
How it works…
There's more…
See also
Animating DOM elements
Getting ready
How to do it...
How it works…
There's more…
See also
4. Creating Models
Introduction
Implementing a simple collection
Getting ready
How to do it...
How it works...
See also
Using the Session object
Getting ready
How to do it…
How it works…
There's more…
See also
Sorting with MongoDB queries
Getting ready
How to do it…
How it works…
There's more…
See also
Filtering with MongoDB queries
Getting ready
How to do it…
How it works…
There's more…
See also
Creating upsert MongoDB queries
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing a partial collection
Getting ready
How to do it…
How it works…
There's more…
See also
5. Implementing DDP
Introduction
Reading the DDP stream
Getting ready
How to do it...
How it works...
There's more…
See also
Using client-only collections
Getting ready
How to do it…
How it works…
See also
Implementing multiserver DDP
Getting ready
How to do it…
How it works…
There's more…
See also
Integrating DDP with other technologies
Getting ready
How to do it…
How it works…
There's more…
See also
6. Mastering Reactivity
Introduction
Creating and consuming a reactive value
Getting ready
How to do it...
How it works...
There's more…
See also
Using Ajax query results in ReactiveVar
Getting ready
How to do it…
How it works…
See also
Making a custom library reactive
Getting ready
How to do it…
How it works…
See also
Updating Blaze templates without Mongo
Getting ready
How to do it…
How it works…
See also
Using inline data to modify UI elements reactively
Getting ready
How to do it...
How it works...
There's more…
See also
Integrating a jQuery UI
Getting ready
How to do it...
How it works...
There's more…
See also
7. Using Client Methods
Introduction
Creating dynamic graphs with SVG and Ajax
Getting ready
How to do it...
How it works...
See also
Using the HTML FileReader to upload images
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a coloring book with the Canvas element
Getting ready
How to do it…
How it works…
There's more…
See also
8. Integrating Third-party Libraries
Introduction
Using npm packages directly
Getting ready
How to do it...
How it works...
There's more...
See also
Building graphs with D3.js
Getting ready
How to do it…
How it works…
There's more…
See also
Creating cutting-edge UIs with Polymer
Getting ready
Creating your app and folders
Creating your files
Configuring Bower and installing Polymer
Adding helper Meteor packages
Configuring Meteor
How to do it…
How it works…
There's more…
See also
9. Securing Your Application
Introduction
Basic safety – turning off autopublish
Getting ready
Project setup
Creating a basic template
Adding CSS styling
How to do it...
How it works...
See also
Basic safety – removing insecure
Getting ready
How to do it...
How it works...
See also
Securing data transactions with allow and deny
Getting ready
How to do it...
How it works...
There's more…
See also
Hiding data with façades
Getting ready
How to do it...
How it works...
See also
Protecting the client with browser-policy
Getting ready
Scaffolding setup
Add CDN-hosted bootstrap
Add inline and eval() scripts
How to do it...
How it works...
See also
10. Working with Accounts
Introduction
Implementing OAuth accounts packages
Getting ready
How to do it...
How it works...
There's more…
See also
Customizing the accounts login
Getting ready
How to do it...
How it works...
There's more…
See also
Performing two-factor authentication
Getting ready
Creating our baseline application
Signing up for the Twilio SMS service
Creating an SMS service on Twilio
Installing the twilio-node npm package
Creating and testing the sendTwilio() method
How to do it...
How it works...
There's more…
See also
11. Leveraging Advanced Features
Introduction
Building custom server methods
Getting ready
Project setup
Creating a simple app
How to do it...
How it works...
There's more…
See also
Creating custom EJSON objects
Getting ready
Declaring the Swatch object
Modifying Swatches.insert()
Changing Swatch colors
How to do it…
How it works…
There's more…
See also
Handling asynchronous events
Getting ready
Creating a baseline Meteor app
Obtaining your Twitter Access Tokens
Initializing twit
Creating the Tweets collection, and building a stream reader
Tracking and testing changes
How to do it…
How it works…
There's more…
See also
Using asynchronous functions
Getting ready
How to do it…
How it works…
There's more…
See also
12. Creating Useful Projects
Introduction
Creating RESTful web services
Getting ready
Creating the baseline application
Installing and configuring Postman
How to do it...
How it works...
There's more…
See also
Creating a complete app with Iron Router
Getting ready
How to do it…
How it works…
There's more…
See also
Deploying apps to mobile devices
Getting ready
How to do it…
How it works…
There's more…
See also
Adding social sharing
Getting ready
How to do it…
How it works…
There's more…
See also
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜