售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Mastering MeteorJS Application Development
Table of Contents
Mastering MeteorJS Application Development
Credits
About the Author
About the Reviewer
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. Building a MeteorJS Web Application
An overview of MeteorJS
Server
MongoDB
Publish/Subscribe
Communication channel
Client
MiniMongo
Tracker
Blaze
Additional information
Developing a bus reservation application
Accounts
Signup
Signin
Creating a bus service
List and search
Reservation
Summary
2. Developing and Testing an Advanced Application
Scaffolding in MeteorJS
Recreating the travel booking application
The app directory
Client
lib
Private and public packages
Server
Generators for the application
Creating travel
Listing and search
Reservation
Debugging
Meteor shell
Testing MeteorJS application
Velocity
Testing BookMyTravel2
Summary
3. Developing Reusable Packages
Introduction to packages
An installed package
Creating a package
Package.describe
Package.onUse
Package.onTest
The bucket package
Collection
Templates
Using the package
Testing the package
Distributing a package
Summary
4. Integrating Your Favorite Frameworks
The server-side setup – FoodMenu
Collection
Publish
Access rules
Methods
The client-side setup – FoodMenu
Client packages
Application styles
The Angular.js application
The header section
The application container section
Angular.js routes
The CreateItem controller
Uploading images
The CollectionFS collection
Access rules
Publish images
The AddItem Angular.js template
Demystifying the logic
Listing food items
Route
Controller
Template
Editing food items
Route
The EditItem controller
Demystifying controller logic
React.js with MeteorJS
ReactFoodMenu
Setup
Server
Client
Client packages
The first React.js component
The header section
The React.js component in Blaze
The container section
The application route
Route – AddItem
The AddEditItem component
The initial state
Component handlers
React.js markups
The listing section
The listing route
The list component
The edit items route
Edit patch
d3.js with MeteorJS
DataViz
HTML
Server
Client – d3.js code
Integrating any frontend framework with MeteorJS
Summary
5. Captivating Your Users with Animation
Animation in Blaze templates
Animation using MeteorJS packages with Velocity.js
Animation using Snap.svg
Animation using d3.js
Animation using the Famo.us engine
Summary
6. Reactive Systems and REST-Based Systems
An overview of MeteorJS' reactivity
MeteorJS' reactivity
Tracker
Optimizations in autoruns
REST-based systems
REST with iron-router
API guidelines
REST with restivus
Handling volumes of data
Summary
7. Deploying and Scaling MeteorJS Applications
Understanding MeteorJS application deployment
Build tools for MeteorJS applications
Isobuild
Demeteorizer
Deploying a MeteorJS application
Meteor Up
Meteor deployment manager
Scaling a MeteorJS application
Scaling with Nginx
Scaling with Meteor cluster
Balancers
The multicore support
The SSL support
Mup and Cluster
The oplog tailing setup
Creating a replica set
Accessing the oplog from an application
Third-party MeteorJS hosting solutions
Meteor Galaxy
Modulus.io
Digital Ocean
Database solutions
Summary
8. Mobile Application Development
Getting started
Developing a simple mobile application
The login interface
The profile interface
The contacts interface
The messages interface
Builds and deploying
Hot code push
More about the mobile app development
Accessing plugin methods
Debugging
Debugging Android
Debugging iOS
Testing
Packages
The package development
Summary
9. Best Practices, Patterns, and SEO
Summarizing the concepts
Publishing/subscribing
DDP
MergeBox
MiniMongo
Data retrieval from Mongo
Session
Sticky session
Fibers
Trackers
Blaze
Packages
Build tools
Best practices
Securing database operations
Database indexing
oplog tailing
Error handling
Testing
Managing subscriptions
Publish/subscribe only the necessary data
Application directory structure
Serving static assets
Application namespacing
Transformation classes
Latency compensation
Identifying performance and scalability issues
Application patterns
The package pattern
Problems with the usual way of writing MeteorJS code
What we must know about packages
DigiNotes
MVC
SEO
Spiderable
ES2015 and MeteorJS
Meet the community
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜