up100: orientation - pubnub · 2020. 2. 4. · up100: orientation . 1. introduction to the...

Post on 11-Oct-2020

5 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

UP100: Orientation

1. Introduction to the University of PubNub

PubNub is a Data Stream Network

•  Http: Request-Response Model, data-at-rest.

•  Streaming: one request, data-in-motion.

•  PubNub allows you to stream data reliably, globally, and

securely.

What we’ll teach:

1.  The basic functionality of PubNub.

2.  Each feature and how to use it.

3.  Code: PubNub implementations, rather than full

applications.

4.  We’ll be using our Javascript SDK for simplicity.

Takeways

1.  A well-rounded grasp of PubNub and its features.

2.  How to implement and use PubNub.

3.  Best-practices for using our infrastructure.

2. Getting Started with PubNub

The Admin Dashboard

1.  First, sign up: click “Get Started” on the homepage.

2.  Continue to the Administrative Dashboard (admin.pubnub.com).

3.  When you log in, PubNub will automatically create a starter App for

you, with keys.

Keysets

1.  Your essential access point to PubNub Services.

2.  Includes a Publish Key, a Subscribe Key, and a Secret Key.

3.  Together, these keys define a single domain for two-way

communication.

More About Keys

1.  Publish Key: Allows a device to send data over a stream.

2.  Subscribe Key: “Lookup ID” for your account, a namespace.

Allows a device to receive data over a stream.

3.  Secret Key: For granting access and permissions, associated

with Access Manager (UP102).

Channels

1.  Two-way communication vectors.

2.  Defined by a keyset and a channel name.

3.  Similar to a two-way radio frequency: a single channel can be

used both to listen and to broadcast.

Add-Ons

1.  Extend the functionality of the PubNub network by adding

security, mobile push notifications, history, and more.

2.  Access Manager is free forever, but is disabled by default.

3.  The 100-level courses will cover each add-on.

Debug Console

1.  Allows you to input keys and channels, and to send messages

over those channels.

2.  Use this to test your implementation of PubNub.

3.  It can be configured with the addition of add-ons, once they’re

enabled for your account.

70+ SDKs

1.  PubNub supports over 70 SDKs, allowing you to use it anywhere.

2.  Methods vary between SDKs, but don’t worry.

3.  Each SDK is fully documented with API reference, guides, and

more.

Apps and Keysets

1.  Hierarchy: Account > Applications > Keysets

2.  Apps: Top-level organization. •  Generate an unlimited number of keysets within each app.

3.  Keysets: Consist of publish, subscribe, and secret keys. •  Use different keysets for different environments

Next: learn to use our realtime, bi-directional

publish/subscribe in UP101.

top related