SlideShare a Scribd company logo
The Next Generation Software Stack
Developers Conference 2015
@mahtonu
Who Am I?




Meteor Dhaka Captain



@Vantage Labs Dhaka


Authored the title “PHP
Application Development
with NetBeans: Beginner's
Guide”
mahtonu.wordpress.com
Meanwhile in MongoDB
meetup in
Copenhagen…
Meteor is an ultra-simple
environment for building
modern websites. What
once took weeks, even
with the best tools, now
takes hours with Meteor.
Quick start!
Install Meteor:
$ curl https://install.meteor.com | /bin/sh
Create a project:
$ meteor create myapp
Quick start!
Run it locally:
$ cd myapp
$ meteor
# Meteor server running on: http://
localhost:3000/


Unleash it on the world (on a free server Meteor provide):
$ meteor deploy myapp.meteor.com
Example Apps
Todos: a full featured todo list app
$ meteor create —example todos
Local Market: a mobile social engagement app
$ meteor create —example localmarket
File Structure
/client
/server
/public
/private
Building Mobile Apps
Installing mobile SDKs
$ meteor install-sdk android # for Android
$ meteor install-sdk ios # for iOS
Adding platforms
$ meteor add-platform android # for Android
$ meteor add-platform ios # for iOS
7 Meteor Principles
•Data on the Wire
•One Language
•Database Everywhere
•Latency Compensation
•Full Stack Reactivity
•Embrace the Ecosystem
•Simplicity = Productivity
Fullstack Reactivity
Traditional programming
var a = 2;
var b = 5;
var c = a + b;
console.log(c);
# c is 7
Fullstack Reactivity
Traditional programming
var a = 2;
var b = 5;
var c = a + b;
console.log(c);
# c is 7
a = 5;
console.log(c);
# c is still 7
Fullstack Reactivity
Traditional programming
var a = 2;
var b = 5;
var c = a + b;
console.log(c);
# c is 7
a = 5;
console.log(c);
# c is still 7
c = a + b; 

console.log(c);

# c is finally 10
Fullstack Reactivity
Traditional programming Reactive programming
var a = 2;
var b = 5;
var c = a + b;
console.log(c);
# c is 7
var a = 2;

var b = 5;

var c = a + b;
console.log(c); 

# c is 7
a = 5;
console.log(c);
# c is still 7
c = a + b; 

console.log(c);

# c is finally 10
Fullstack Reactivity
Traditional programming Reactive programming
var a = 2;
var b = 5;
var c = a + b;
console.log(c);
# c is 7
var a = 2;

var b = 5;

var c = a + b;
console.log(c); 

# c is 7
a = 5;
console.log(c);
# c is still 7
a = 5;
console.log(c);

# c is magically 10
c = a + b; 

console.log(c);

# c is finally 10
Philosophy
•Meteor written on top of NodeJS and becomes your
server
•You add frameworks on-top of Meteor’s platform
•Meteor comes with a bunch of built-in frameworks
•One of the “built-ins” is a View framework called
Blaze, Easy reactive templating.
•Model View View Model (MVVM)
Philosophy
Spacebars is a Meteor template language inspired
by Handlebars
Philosophy
Meteor’s “built-ins” can be replaced. If you want
to replace Blaze with Angular then you can!
Simply run:
$ meteor add urigo:angular
Philosophy
Meteor’s current implementation is based on
WebSockets and SockJS. SockJS is a WebSockets
emulation transport, which can be used when
WebSockets is not available.
Philosophy
Meteor is extremely extensible by adding packages
from Atmosphere, NPM & even Bower.
Philosophy
Meteor is quickly becoming the standard for new
startups.
Angular (UI Framework)
Challengers
React by Facebook
Ember
Blaze by Meteor
Meteor (Node Platform)
Challengers
MEAN.io with Socket.io
Derby
Components
Livequery Realtime database queries
DDP Subscribe to changes in the database
Minimongo Run database queries on the client
Tracker Rerun your functions when data changes
Blaze Keep the view up to date with your data
Read about all of these on the Projects page at
meteor.com/projects
Workpop: Built on Meteor
• $7.9 million Series A led by Trinity Ventures
• “Most rapid prototyping, iteration and development we’ve
ever seen from an early stage company.” - Trinity Ventures
• Over 150+ meetup groups around the world: meteor.meetup.com
• Over 2500+ community-authored packages: atmospherejs.com
• Discover Meteor has made over $300,000+ in book sales
• #10 on GitHub (just passed Backbone, will soon pass Rails)
Short Demo!
Learning resources
• Official Meteor tutorial at meteor.com/install
• Discover Meteor - book.discovermeteor.com
• Meteor tag on Stack Overflow
• Documentation at docs.meteor.com
• Bullet Proof Meteor - bulletproofmeteor.com
• Meteor Hacks - meteorhacks.com
meteor.com/learn
Live in Dhaka?
Join the Meteor Dhaka Official
Meetup Group



http://www.meetup.com/
Meteor-Dhaka/

More Related Content

What's hot

Building a production ready meteor app
Building a production ready meteor appBuilding a production ready meteor app
Building a production ready meteor app
Ritik Malhotra
 

What's hot (20)

Meteor + React
Meteor + ReactMeteor + React
Meteor + React
 
Meteor.js for DOers
Meteor.js for DOersMeteor.js for DOers
Meteor.js for DOers
 
Meteor Introduction - Ashish
Meteor Introduction - AshishMeteor Introduction - Ashish
Meteor Introduction - Ashish
 
UI Animations in Meteor
UI Animations in MeteorUI Animations in Meteor
UI Animations in Meteor
 
Intro to Meteor [Deprecated]
Intro to Meteor [Deprecated]Intro to Meteor [Deprecated]
Intro to Meteor [Deprecated]
 
Building a production ready meteor app
Building a production ready meteor appBuilding a production ready meteor app
Building a production ready meteor app
 
Introduction to Meteor - Worldwide Meteor Day
Introduction to Meteor - Worldwide Meteor DayIntroduction to Meteor - Worldwide Meteor Day
Introduction to Meteor - Worldwide Meteor Day
 
Meteor intro- ktmjs
Meteor intro- ktmjsMeteor intro- ktmjs
Meteor intro- ktmjs
 
Microservices for the Masses with Spring Boot, JHipster, and JWT - J-Spring 2017
Microservices for the Masses with Spring Boot, JHipster, and JWT - J-Spring 2017Microservices for the Masses with Spring Boot, JHipster, and JWT - J-Spring 2017
Microservices for the Masses with Spring Boot, JHipster, and JWT - J-Spring 2017
 
Advanced Spring Boot with Consul
Advanced Spring Boot with ConsulAdvanced Spring Boot with Consul
Advanced Spring Boot with Consul
 
Microservices for the Masses with Spring Boot, JHipster, and JWT - Devoxx UK...
 Microservices for the Masses with Spring Boot, JHipster, and JWT - Devoxx UK... Microservices for the Masses with Spring Boot, JHipster, and JWT - Devoxx UK...
Microservices for the Masses with Spring Boot, JHipster, and JWT - Devoxx UK...
 
Webhooks
WebhooksWebhooks
Webhooks
 
WebHooks in 10 Minutes
WebHooks in 10 MinutesWebHooks in 10 Minutes
WebHooks in 10 Minutes
 
Introduction to Android M
Introduction to Android MIntroduction to Android M
Introduction to Android M
 
Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017
Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017
Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017
 
Play Framework on Google App Engine
Play Framework on Google App EnginePlay Framework on Google App Engine
Play Framework on Google App Engine
 
Introduction to Firebase on Android
Introduction to Firebase on AndroidIntroduction to Firebase on Android
Introduction to Firebase on Android
 
Tech Talk on ReactJS
Tech Talk on ReactJSTech Talk on ReactJS
Tech Talk on ReactJS
 
From MEAN to the MERN Stack
From MEAN to the MERN StackFrom MEAN to the MERN Stack
From MEAN to the MERN Stack
 
Build PWA with Ionic Toolkit
Build PWA with Ionic ToolkitBuild PWA with Ionic Toolkit
Build PWA with Ionic Toolkit
 

Viewers also liked

Viewers also liked (11)

Before you jump into Angular
Before you jump into AngularBefore you jump into Angular
Before you jump into Angular
 
Developing WordPress Plugins : For Begineers
Developing WordPress Plugins :  For BegineersDeveloping WordPress Plugins :  For Begineers
Developing WordPress Plugins : For Begineers
 
JavaScript Wash - Story of UI Development
JavaScript Wash - Story of UI DevelopmentJavaScript Wash - Story of UI Development
JavaScript Wash - Story of UI Development
 
Succeeding with FOSS!
Succeeding with FOSS!Succeeding with FOSS!
Succeeding with FOSS!
 
Software Engineering in PHP
Software Engineering in PHPSoftware Engineering in PHP
Software Engineering in PHP
 
Understanding Microservices
Understanding Microservices Understanding Microservices
Understanding Microservices
 
Google Maps API
Google Maps APIGoogle Maps API
Google Maps API
 
Google Map API
Google Map APIGoogle Map API
Google Map API
 
Google Maps API
Google Maps APIGoogle Maps API
Google Maps API
 
Secure my ng-app
Secure my ng-appSecure my ng-app
Secure my ng-app
 
Build social apps for Facebook
Build social apps for FacebookBuild social apps for Facebook
Build social apps for Facebook
 

Similar to Understanding meteor

App engine devfest_mexico_10
App engine devfest_mexico_10App engine devfest_mexico_10
App engine devfest_mexico_10
Chris Schalk
 
Cannibalising The Google App Engine
Cannibalising The  Google  App  EngineCannibalising The  Google  App  Engine
Cannibalising The Google App Engine
catherinewall
 

Similar to Understanding meteor (20)

Introduction to Meteor - revised edition
Introduction to Meteor - revised editionIntroduction to Meteor - revised edition
Introduction to Meteor - revised edition
 
Meteor
MeteorMeteor
Meteor
 
Meteor
MeteorMeteor
Meteor
 
Meteor for IT weekend
Meteor for IT weekendMeteor for IT weekend
Meteor for IT weekend
 
Laurentiu macovei meteor. a better way of building apps
Laurentiu macovei   meteor. a better way of building appsLaurentiu macovei   meteor. a better way of building apps
Laurentiu macovei meteor. a better way of building apps
 
State ofappdevelopment
State ofappdevelopmentState ofappdevelopment
State ofappdevelopment
 
StackEngine Problem Space Demo
StackEngine Problem Space DemoStackEngine Problem Space Demo
StackEngine Problem Space Demo
 
Reactive web applications using MeteorJS
Reactive web applications using MeteorJSReactive web applications using MeteorJS
Reactive web applications using MeteorJS
 
Meteoro de pegasuus! Desenvolvendo aplicações realtime com MeteorJS
Meteoro de pegasuus! Desenvolvendo aplicações realtime com MeteorJSMeteoro de pegasuus! Desenvolvendo aplicações realtime com MeteorJS
Meteoro de pegasuus! Desenvolvendo aplicações realtime com MeteorJS
 
Introduction to meteor
Introduction to meteorIntroduction to meteor
Introduction to meteor
 
Electron
ElectronElectron
Electron
 
App engine devfest_mexico_10
App engine devfest_mexico_10App engine devfest_mexico_10
App engine devfest_mexico_10
 
Why meteor
Why meteorWhy meteor
Why meteor
 
Cannibalising The Google App Engine
Cannibalising The  Google  App  EngineCannibalising The  Google  App  Engine
Cannibalising The Google App Engine
 
React Native and the future of web technology (Mark Wilcox) - GreeceJS #15
React Native and the future of web technology (Mark Wilcox) - GreeceJS #15React Native and the future of web technology (Mark Wilcox) - GreeceJS #15
React Native and the future of web technology (Mark Wilcox) - GreeceJS #15
 
Building a full-stack app with Golang and Google Cloud Platform in one week
Building a full-stack app with Golang and Google Cloud Platform in one weekBuilding a full-stack app with Golang and Google Cloud Platform in one week
Building a full-stack app with Golang and Google Cloud Platform in one week
 
Docker Container As A Service - Mix-IT 2016
Docker Container As A Service - Mix-IT 2016Docker Container As A Service - Mix-IT 2016
Docker Container As A Service - Mix-IT 2016
 
Cloud-powered Continuous Integration and Deployment architectures - Jinesh Varia
Cloud-powered Continuous Integration and Deployment architectures - Jinesh VariaCloud-powered Continuous Integration and Deployment architectures - Jinesh Varia
Cloud-powered Continuous Integration and Deployment architectures - Jinesh Varia
 
Nativescript with angular 2
Nativescript with angular 2Nativescript with angular 2
Nativescript with angular 2
 
Meteor Introduction
Meteor IntroductionMeteor Introduction
Meteor Introduction
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 

Understanding meteor

  • 1. The Next Generation Software Stack Developers Conference 2015 @mahtonu
  • 2. Who Am I? 
 
 Meteor Dhaka Captain
 
 @Vantage Labs Dhaka 
 Authored the title “PHP Application Development with NetBeans: Beginner's Guide” mahtonu.wordpress.com
  • 3. Meanwhile in MongoDB meetup in Copenhagen…
  • 4.
  • 5. Meteor is an ultra-simple environment for building modern websites. What once took weeks, even with the best tools, now takes hours with Meteor.
  • 6. Quick start! Install Meteor: $ curl https://install.meteor.com | /bin/sh Create a project: $ meteor create myapp
  • 7. Quick start! Run it locally: $ cd myapp $ meteor # Meteor server running on: http:// localhost:3000/ 
 Unleash it on the world (on a free server Meteor provide): $ meteor deploy myapp.meteor.com
  • 8. Example Apps Todos: a full featured todo list app $ meteor create —example todos Local Market: a mobile social engagement app $ meteor create —example localmarket
  • 10. Building Mobile Apps Installing mobile SDKs $ meteor install-sdk android # for Android $ meteor install-sdk ios # for iOS Adding platforms $ meteor add-platform android # for Android $ meteor add-platform ios # for iOS
  • 11. 7 Meteor Principles •Data on the Wire •One Language •Database Everywhere •Latency Compensation •Full Stack Reactivity •Embrace the Ecosystem •Simplicity = Productivity
  • 12. Fullstack Reactivity Traditional programming var a = 2; var b = 5; var c = a + b; console.log(c); # c is 7
  • 13. Fullstack Reactivity Traditional programming var a = 2; var b = 5; var c = a + b; console.log(c); # c is 7 a = 5; console.log(c); # c is still 7
  • 14. Fullstack Reactivity Traditional programming var a = 2; var b = 5; var c = a + b; console.log(c); # c is 7 a = 5; console.log(c); # c is still 7 c = a + b; 
 console.log(c);
 # c is finally 10
  • 15. Fullstack Reactivity Traditional programming Reactive programming var a = 2; var b = 5; var c = a + b; console.log(c); # c is 7 var a = 2;
 var b = 5;
 var c = a + b; console.log(c); 
 # c is 7 a = 5; console.log(c); # c is still 7 c = a + b; 
 console.log(c);
 # c is finally 10
  • 16. Fullstack Reactivity Traditional programming Reactive programming var a = 2; var b = 5; var c = a + b; console.log(c); # c is 7 var a = 2;
 var b = 5;
 var c = a + b; console.log(c); 
 # c is 7 a = 5; console.log(c); # c is still 7 a = 5; console.log(c);
 # c is magically 10 c = a + b; 
 console.log(c);
 # c is finally 10
  • 17. Philosophy •Meteor written on top of NodeJS and becomes your server •You add frameworks on-top of Meteor’s platform •Meteor comes with a bunch of built-in frameworks •One of the “built-ins” is a View framework called Blaze, Easy reactive templating. •Model View View Model (MVVM)
  • 18. Philosophy Spacebars is a Meteor template language inspired by Handlebars
  • 19. Philosophy Meteor’s “built-ins” can be replaced. If you want to replace Blaze with Angular then you can! Simply run: $ meteor add urigo:angular
  • 20. Philosophy Meteor’s current implementation is based on WebSockets and SockJS. SockJS is a WebSockets emulation transport, which can be used when WebSockets is not available.
  • 21. Philosophy Meteor is extremely extensible by adding packages from Atmosphere, NPM & even Bower.
  • 22. Philosophy Meteor is quickly becoming the standard for new startups.
  • 23. Angular (UI Framework) Challengers React by Facebook Ember Blaze by Meteor
  • 25. Components Livequery Realtime database queries DDP Subscribe to changes in the database Minimongo Run database queries on the client Tracker Rerun your functions when data changes Blaze Keep the view up to date with your data Read about all of these on the Projects page at meteor.com/projects
  • 26. Workpop: Built on Meteor • $7.9 million Series A led by Trinity Ventures • “Most rapid prototyping, iteration and development we’ve ever seen from an early stage company.” - Trinity Ventures
  • 27.
  • 28. • Over 150+ meetup groups around the world: meteor.meetup.com • Over 2500+ community-authored packages: atmospherejs.com • Discover Meteor has made over $300,000+ in book sales • #10 on GitHub (just passed Backbone, will soon pass Rails)
  • 30. Learning resources • Official Meteor tutorial at meteor.com/install • Discover Meteor - book.discovermeteor.com • Meteor tag on Stack Overflow • Documentation at docs.meteor.com • Bullet Proof Meteor - bulletproofmeteor.com • Meteor Hacks - meteorhacks.com meteor.com/learn
  • 31. Live in Dhaka? Join the Meteor Dhaka Official Meetup Group
 
 http://www.meetup.com/ Meteor-Dhaka/