万本电子书0元读

万本电子书0元读

顶部广告

Meteor Design Patterns电子书

售       价:¥

4人正在读 | 0人评论 9.8

作       者:Marcelo Reyna

出  版  社:Packt Publishing

出版时间:2015-10-21

字       数:85.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Accelerate your code writing skills with over twenty programming patterns that will make your code easier to maintain and scaleAbout This BookOptimize your web application for production useBuild views and controllers with minimal effort that will evolve with your applicationLearn how to maintain a MeteorJS project while it is running in production Who This Book Is For This book is for developers who have already had an introductory course with Meteor. Basic knowledge of web development is recommended.What You Will LearnUse of Jade, Stylus, and CoffeeScript to speed up web developmentIncrease productivity by leveraging the best packages in the communityOptimize your site for load speed with advanced publishers and subscribersLeverage the aggregation framework to produce results with big dataMaster the intricacies of front-end development using Jeet, Bootstrap, CSS animations, and moreOptimize your site for search engine visibilitySecure your site with Meteor’s best practicesTrack the live status of your application, ensuring all errors have been taken care of In Detail With the increasing interest in NodeJS web applications, a new framework, Meteor, has joined the ranks to simplify developer workflows. Meteor is one of the few open source frameworks that has received funding since its early development stages. It builds on ideas from existing frameworks and libraries, offering developers an easy way to develop a prototype app. At the same time, it gives them the tools and flexibility to build a fully fledged production app. Meteor is the weapon of choice for start-ups in today’s world. Meteor Design Patterns cuts through the jargon that most websites play with and gets to the point with simple solutions that will boost your development skills. We start off with a refresher on the basics of JavaScript programming such as templates, CoffeeScript, the Event Loop, and the Merge Box, amongst others. You then learn how to map real-world data and optimize the data’s publishers to output data with the least amount of work done by the server with some subscribe and publish patterns. Next, using front-end patterns, you will learn how to create maintainable and trackable forms, and make our site crawlable by any search engine. Following this, you will see how to optimize and secure the web application and maintain applications without breaking other features. Finally, you will learn how to deploy a secure production-ready application while learning to set up modulus, compose with Oplog tracking and SSL certificates, as well as error tracking with Kadira. Throughout the book, you will put your skills to practice and build an online shop from scratch. By the end of the book, you will have built a feature-rich online shop.Style and approach The book is a practical handbook on how to build an e-commerce web app using Meteor. Every topic ties into the webapp to easily illustrate the concepts that you are learning about.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部