Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Meteor: Full-Stack Web Application Development

You're reading from   Meteor: Full-Stack Web Application Development Rapidly build web apps with Meteor

Arrow left icon
Product type Course
Published in Nov 2016
Publisher Packt
ISBN-13 9781787287754
Length 685 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Fabian Vogelsteller Fabian Vogelsteller
Author Profile Icon Fabian Vogelsteller
Fabian Vogelsteller
Marcelo Reyna Marcelo Reyna
Author Profile Icon Marcelo Reyna
Marcelo Reyna
Arrow right icon
View More author details
Toc

Chapter 5. Implementing DDP

In this chapter, we will cover the following topics:

  • Reading the DDP stream
  • Using client-only collections
  • Implementing a multiserver DDP
  • Integrating DDP with other technologies

Introduction

Fundamental to Meteor is the concept of real-time applications, with the client and server interacting with each other using the principle of data on the wire. The folks at Meteor have developed a protocol for this real-time client-server communication, called the Distributed Data Protocol (DDP). As with everything else in Meteor, DDP is a discreet (albeit core) library, which you can use separately. The recipes in this chapter will show you how DDP works and give you some ideas about what you can do with it outside of its default use in Meteor.

Reading the DDP stream

To truly understand what is going on with DDP (and for debugging purposes) it's useful to be able to read the DDP stream. Seeing DDP in action can not only help with the debugging process, but can also...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image