Meteor Design Patterns

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

About This Book

Optimize your web application for production use

Build views and controllers with minimal effort that will evolve with your application

Learn 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 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

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.