38
Meteor Developing TeamSync (Real Time Collaboration Tool) using Meteor) Febin John James Boutline

Meteor workshop

Embed Size (px)

DESCRIPTION

Meteor

Citation preview

Page 1: Meteor workshop

Meteor

Developing TeamSync (Real Time Collaboration Tool)

using Meteor)

Febin John JamesBoutline

Page 2: Meteor workshop

TeamSync Demo

Page 3: Meteor workshop

Developing TeamSync using Meteor

7.Sessions

Understanding meteor sessions

8.Meteor Accounts

Understanding meteor accountsAdding external login services

9.Allow Deny

Understand allow deny callbacks.Securing TeamSync

10.Deployment

Deploying teamsync app.

4. Collections

Meteor CollectionsMeteor Data SynchronizationIntegrating collection with templatesTurning prototype into functional app

5.Publications & Subscriptions

Adding external login servicesHow publications & subscriptions workAdding publications to our prototype

6. Routing

Learn about routing in meteor Create team pages with Unique Url’s

1. Introduction

What is meteor?Why meteor?Installing meteor Meteor Packages

2. Mini Mongo

What makes mongodb simple?Mini Mongo CRUD Operations

3. Templates

Meteor’s templating languageYour first templateTemplate Manager’sTeamSync Prototype with static data

Page 4: Meteor workshop

Introduction to Meteor

Page 5: Meteor workshop

What is meteor ?

Database Real-time Sync User Interface

Page 6: Meteor workshop

Why Meteor?

Easy to learn

Up and running in hours

You are already familiar with javascript, aren’t you?

Page 7: Meteor workshop

Installing Meteor

curl https://install.meteor.com | sh

npm install -g meteorite

// Only needed if you encounter any permission errorssudo -H npm install -g meteorite

Page 8: Meteor workshop

Meteor Packages

Core Packages Smart Packages Atmosphere Packages

Page 9: Meteor workshop

Hand on Mini Mongo

Page 10: Meteor workshop

It’s way better than SQL

Page 11: Meteor workshop

Features of MongoDB

No Schema

High Performance

High Scalability

Page 12: Meteor workshop

MongoDB CRUD Operations

Type “meteor mongo”

Let’s begin

Page 13: Meteor workshop

Starting Meteor

Page 14: Meteor workshop

Creating a meteor app

meteor create teamsync

cd teamsync

meteor

Page 15: Meteor workshop

Meteor app folder structure

client serverpubliclibcollections

Page 16: Meteor workshop

Templates

Page 17: Meteor workshop

A meteor app

Templates(HTML Files)Client Side(JS Files)Server Side(JS Files)

Page 18: Meteor workshop

Your first template

Page 19: Meteor workshop

Handlebars

Page 20: Meteor workshop

Let’s create prototype of teamsync with static data

create team templateteams board templatejoin team templatechat templatemission’s templateteam update templatemission update template

Page 21: Meteor workshop

Collections

Page 22: Meteor workshop

Collections for TeamSync

Teams Collection Mission’s Collection Status Collection

Messages Collection

Page 23: Meteor workshop

Server-Side Collections

Page 24: Meteor workshop

Client-Side Collections

Page 25: Meteor workshop

Let’s connect collections with the templates we created

Page 26: Meteor workshop

Publications & Subscriptions

Page 27: Meteor workshop

How it works?

Page 28: Meteor workshop

Adding publication’s and subscriptions to TeamSync

Page 29: Meteor workshop

Routing

Page 30: Meteor workshop

Iron-Router

Page 31: Meteor workshop

Making unique links for teams

Page 32: Meteor workshop

Sessions

Page 33: Meteor workshop

Improving User Experience of TeamSync with sessions

Page 34: Meteor workshop

Meteor Account’s

Page 35: Meteor workshop

Adding twitter Authentication to our TeamSync App

Page 36: Meteor workshop

Allow/Deny

Page 37: Meteor workshop

Securing our TeamSync App with allow deny callbacks

Page 38: Meteor workshop

Deploying TeamSync