Book Image

Build Applications with Meteor

Book Image

Build Applications with Meteor

Overview of this book

This book starts with the basic installation and overview of the main components in Meteor. You’ll get hands-on multiple versatile applications covering a wide range of topics from adding a front-end views with the hottest rendering technology React to implementing a microservices oriented architecture.All the code is written with ES6/7 which is the latest significantly improved JavaScript language. We’ll also look at real-time data streaming, server to server data exchange, responsive styles on the front-end, full-text search functionality, and integration of many third-party libraries and APIs using npm. By the end of the book, you’ll have the skills to quickly prototype and even launch your next app idea in a matter of days.
Table of Contents (16 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
8
Build a Chatbot with Facebook’s Messenger Platform

What is gRPC?


With Meteor, we have DDP, so why do we need another RPC?

An open source Remote Procedure Call framework, gRPC uses HTTP/2 for the transport layer initially developed by Google based on their internal RPC framework.The transport layer is one of the key components in gRPC. HTTP/2 is the major upgrade of HTTP/1.1, and it was standardized by the Internet Engineering Steering Group (IESG) in 2015. Every technology that is standardized on the web tends to survive for many years because we, the developers, all accept and agree with that standard primarily because the technology is not owned by a single company that decides its future. JavaScript is a great example of that.On the other hand, Meteor's DDP (Distributed Data Protocol) uses WebSockets for transport format; the WebSockets protocol did not get standardized, which is one important consideration that may drive its future.The second component of gRPC is the data format. The current industry standard is JSON over HTTP, DDP is...