Meteor Design Patterns

Accelerate your code writing skills with over twenty programming patterns that will make your code easier to maintain and scale

Meteor Design Patterns

Learning
Marcelo Reyna

2 customer reviews
Accelerate your code writing skills with over twenty programming patterns that will make your code easier to maintain and scale
$27.99
$34.99
RRP $34.99
RRP $34.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781783987627
Paperback184 pages

Book Description

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.

Table of Contents

Chapter 1: Getting Started with Meteor
CoffeeScript for Meteor
Jade for Meteor
Stylus for Meteor
Templates, helpers, and events
The event loop and the merge box
The beginning of our online shop
Summary
Chapter 2: Publish and Subscribe Patterns
Template-level subscriptions
Database relationships
Publishing with relations
Aggregation publishers
External API publishers
Summary
Chapter 3: Front-end Patterns
Responsive design
Super helpers
Variable types
Forms
Loading data
Animations and transitions
SEO
Summary
Chapter 4: Application Patterns
Filtering and paging collections
Security
External APIs
Summary
Chapter 5: Testing Patterns
Behavior tests
Unit tests
Summary
Chapter 6: Deployment
Setting up Modulus
Setting up Compose
Setting up Kadira
Setting up an SSL certificate
Summary

What You Will Learn

  • Use of Jade, Stylus, and CoffeeScript to speed up web development
  • Increase productivity by leveraging the best packages in the community
  • Optimize your site for load speed with advanced publishers and subscribers
  • Leverage the aggregation framework to produce results with big data
  • Master the intricacies of front-end development using Jeet, Bootstrap, CSS animations, and more
  • Optimize your site for search engine visibility
  • Secure your site with Meteor’s best practices
  • Track the live status of your application, ensuring all errors have been taken care of

Authors

Table of Contents

Chapter 1: Getting Started with Meteor
CoffeeScript for Meteor
Jade for Meteor
Stylus for Meteor
Templates, helpers, and events
The event loop and the merge box
The beginning of our online shop
Summary
Chapter 2: Publish and Subscribe Patterns
Template-level subscriptions
Database relationships
Publishing with relations
Aggregation publishers
External API publishers
Summary
Chapter 3: Front-end Patterns
Responsive design
Super helpers
Variable types
Forms
Loading data
Animations and transitions
SEO
Summary
Chapter 4: Application Patterns
Filtering and paging collections
Security
External APIs
Summary
Chapter 5: Testing Patterns
Behavior tests
Unit tests
Summary
Chapter 6: Deployment
Setting up Modulus
Setting up Compose
Setting up Kadira
Setting up an SSL certificate
Summary

Book Details

ISBN 139781783987627
Paperback184 pages
Read More
From 2 reviews

Read More Reviews