Top Banner
Meteor Developing TeamSync (Real Time Collaboration Tool) using Meteor Febin John James Boutline Draft
43

Hasgeek meteor workshop Draft

Jan 13, 2015

Download

Software

Meteor is well funded project. Developed by engineers of Facebook,Google etc.

Meteor is an open-source, full-stack JavaScript framework that makes it easy to write top-quality web apps in a fraction of the time. When you install Meteor on your laptop and create a new Meteor project, it comes bundled with all the different technology components you need, and it configures them to work together behind the scenes so that everything just works. This is really powerful for beginners because it lets you focus on learning to code, rather than on configuration.

Meteor gets you to your first live deployed web app right away.Having your own tangible project to hack on is hugely motivating, and that makes you much more likely to succeed in your goal of becoming a developer.

One of the seven principles of Meteor is "Simplicity equals productivity." Meteor was designed to be easy to learn, including for beginners. You don't have to learn everything at the start. For example, Meteor automatically synchronizes data between all your users in real time for you: you don't have to think about it until you're ready to add custom rules for who can see what.

Every developer and new entrepreneur should legitimately give Meteor a serious look. Your time to market will be shorter and developer happiness will increase 10-fold.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Hasgeek meteor workshop Draft

Meteor

Developing TeamSync (Real Time Collaboration Tool)

using Meteor

Febin John JamesBoutline

Draft

Page 2: Hasgeek meteor workshop Draft

TeamSync Demo

Page 3: Hasgeek meteor workshop Draft

Developing TeamSync using Meteor

7.Sessions

Understanding meteor sessions

8.Meteor Accounts

Understanding meteor accountsAdding external login servicesAdding twitter login

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 appReactivity

5.Publications & Subscriptions

How 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: Hasgeek meteor workshop Draft

Introduction to Meteor

Page 5: Hasgeek meteor workshop Draft

What is meteor ?

Database Real-time Sync User Interface

Page 6: Hasgeek meteor workshop Draft

Why Meteor?

Easy to learn

Up and running in hours

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

Page 7: Hasgeek meteor workshop Draft

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: Hasgeek meteor workshop Draft

Meteor Packages

Core Packages Smart Packages Atmosphere Packages

Page 9: Hasgeek meteor workshop Draft

Hands on Mini Mongo

Page 10: Hasgeek meteor workshop Draft

It’s way better than SQL

Page 11: Hasgeek meteor workshop Draft

Features of MongoDB

No Schema

High Performance

High Scalability

Page 12: Hasgeek meteor workshop Draft

MongoDB CRUD Operations

Type “meteor mongo”

Let’s begin

Page 13: Hasgeek meteor workshop Draft

Starting Meteor

Page 14: Hasgeek meteor workshop Draft

Creating a meteor app

meteor create teamsync

cd teamsync

meteor

Page 15: Hasgeek meteor workshop Draft

Meteor app folder structure

client serverpubliclibcollections

Page 16: Hasgeek meteor workshop Draft

Templates

Page 17: Hasgeek meteor workshop Draft

A meteor app

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

Page 18: Hasgeek meteor workshop Draft

Your first template

Page 19: Hasgeek meteor workshop Draft

Handlebars

Page 20: Hasgeek meteor workshop Draft

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: Hasgeek meteor workshop Draft

Collections

Page 22: Hasgeek meteor workshop Draft

Collections for TeamSync

Teams Collection Mission’s Collection Status Collection

Messages Collection

Page 23: Hasgeek meteor workshop Draft

Server-Side Collections

Page 24: Hasgeek meteor workshop Draft

Client-Side Collections

Page 25: Hasgeek meteor workshop Draft

Let’s connect collections with the templates we created

Page 26: Hasgeek meteor workshop Draft

Reactivity

Page 27: Hasgeek meteor workshop Draft

Publications & Subscriptions

Page 28: Hasgeek meteor workshop Draft

How it works?

Page 29: Hasgeek meteor workshop Draft

Adding publication’s and subscriptions to TeamSync

Page 30: Hasgeek meteor workshop Draft

Routing

Page 31: Hasgeek meteor workshop Draft

Iron-Router

Page 32: Hasgeek meteor workshop Draft

Making unique links for team pages

Page 33: Hasgeek meteor workshop Draft

Sessions

Page 34: Hasgeek meteor workshop Draft

Improving User Experience of TeamSync with sessions

Page 35: Hasgeek meteor workshop Draft

Meteor Accounts

Page 36: Hasgeek meteor workshop Draft

Adding twitter Authentication to our TeamSync App

Page 37: Hasgeek meteor workshop Draft

Allow/Deny

Page 38: Hasgeek meteor workshop Draft

Securing our TeamSync App with allow deny callbacks

Page 39: Hasgeek meteor workshop Draft

Deploying TeamSync

Page 40: Hasgeek meteor workshop Draft

What’s Next

Meteor community

Discover Meteor

Meteor Hacks

Contribute

Page 41: Hasgeek meteor workshop Draft

What else ?

Scaling Meteor

Advantages of using meteor for mobile clients

Monitor app performance .

Page 42: Hasgeek meteor workshop Draft

Tools Chain

Meteorite Packages

Velocity Package

Kadira

Meteorpad

Page 43: Hasgeek meteor workshop Draft

Important Links

docs.meteor.com

meteorhacks.com

meteorpedia.com