SlideShare a Scribd company logo
Workshop Meteor
craftworkz.co
Speakers
Dimitri Mestdagh
Software Engineer
@g00glen00b
g00glen00b.be
Agenda
What is Meteor
Why Meteor
Structure of a Meteor application
Example: Chat application
Q & A
What is Meteor
"Meteor is a complete open source
platform for building web and mobile
apps in pure JavaScript."
Meteor platform
Full stack (both server- and client side)
MongoDB
WebSockets: Live communication between server and client
Code is shared between client and server
Node.js
Building web & mobile
apps
Meteor allows you to use the same code on server- and
clientside
The default platform is web, but other platforms can be added:
Meteor packages are isomorphic (they might run on the web,
on a mobile device or on the server)
meteoradd-platformandroid
meteoradd-platformios
Building web & mobile
apps
Platforms
Meteor uses Cordova to support Android and iOS
To make an application available for Android devices, you
simply use:
If you don't have the Android SDK installed, you can install it
with the Meteor CLI as well:
To run it on an actual device, you use:
meteoradd-platformandroid
meteorrunandroid
meteorinstall-sdkandroid
meteorrunandroid-device
Building web & mobile
apps
Isomorphic packages
Native APIs can be accessed (GPS, camera, ...)
Meteor wraps them in isomorphic packages (Camera,
Geolocation, ...)
Running the following code will work both on the web and on
mobile devices:
On the web it will use the
On mobile devices it will use the native GPS using Cordova
Geolocation.currentLocation()
HTML 5 Geolocation API
Pure JavaScript
Meteor is a full stack JavaScript framework
Back-end = Node.js
Front-end = Webbrowser
Code can be shared between both the back-end and front-end
(for example models, utilities, ...)
Why Meteor
Characteristics
Running on both mobile and web
Live updates (data changes will be visible immediately on all
clients)
Hot deployment (both local and on the cloud)
Ultra responsive
Easy authentication with accounts-packages (+ easy
integration with Twitter/Facebook OAuth)
Why Meteor
The good... the bad and the ugly
DO use it when live updates are important
DO use it for new applications
DO use it for mobile applications
DON'T use it with existing data (unless it can be easily ported
to MongoDB)
Structure of a Meteor
application
Model (MongoDB collection)
Client (MiniMongo, templates)
Server (Node.js)
Public (CSS, images)
Private (configuration)
Structure of a Meteor
application
Model
Using a model in Meteor is as simple as:
To insert/remove/update data you can use:
Messages=newMongo.Collection('messages');
Messages.insert({
message:"Mymessage",
time:newDate()
});
Structure of a Meteor
application
Client
The client side logic primarily contains templates, event
handling and plain JavaScript
To actually change data, you use MiniMongo (it emulates a
MongoDB database on the client)
Templates are written using Spacebars (template engine):
jQuery is allowed within templates
{{#ifcurrentUser}}
<h1>Welcomeuser</h1>
{{/if}}
Demo time
Pray to the demo gods
Q & A
You have the questions
We (might) have the answers
More feedback: or#craftcamps @g00glen00b
References
Slides:
HTML5 slides:
Source code:
Demo:
Getting started:
Craftworkz:
http://www.slideshare.net/craftworkz
http://craftworkz.github.io/ucll-workshop-
meteor/slides/
https://github.com/craftworkz/ucll-workshop-
meteor
http://ucll-demo-meteor.meteor.com/
https://www.meteor.com/
http://craftworkz.co
CraftCamp for Students - Introduction to Meteor.js

More Related Content

PPTX
Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)
PPTX
SharePoint Fest 2019 - Build an intelligent application by connecting it to t...
PDF
Building UWP apps with React-Native
PPTX
MVC for Desktop Application - Part 3
PDF
Micro Frontends
PPTX
MVC for Desktop Application - Part 2
PDF
The productive developer guide to React
PPTX
Building Gwt Clients For Cloud Apps.Pptx
Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)
SharePoint Fest 2019 - Build an intelligent application by connecting it to t...
Building UWP apps with React-Native
MVC for Desktop Application - Part 3
Micro Frontends
MVC for Desktop Application - Part 2
The productive developer guide to React
Building Gwt Clients For Cloud Apps.Pptx

Viewers also liked (6)

PDF
Bluemix Girl's Night by Verena - Cosy care
PDF
Bluemix Girl's Night by Keshia - Building a custom HR application
PDF
Blockchain for Business
PDF
CraftCamp for Students - Introduction to AngularJS
PDF
CraftCamp for Students - Introduction to JHipster
PPTX
Craftworkz at InterConnect 2017 - Creating a Highly Scalable Chatbot in a Mic...
Bluemix Girl's Night by Verena - Cosy care
Bluemix Girl's Night by Keshia - Building a custom HR application
Blockchain for Business
CraftCamp for Students - Introduction to AngularJS
CraftCamp for Students - Introduction to JHipster
Craftworkz at InterConnect 2017 - Creating a Highly Scalable Chatbot in a Mic...
Ad

Similar to CraftCamp for Students - Introduction to Meteor.js (20)

PPTX
The best way to create and deploy web apps with full-stack type safety - Mete...
PDF
Get started with meteor | designveloper software agency meteor prime partner
PDF
Meteoro de pegasuus! Desenvolvendo aplicações realtime com MeteorJS
PPTX
Meteor intro-2015
ODP
Meteor seminar
PPTX
Meteor-nepal introduction to meteor
PPTX
PPTX
Meteor Mobile App Development
PPTX
Meteor Meet-up San Diego December 2014
PPTX
Meteor Rails-2015
PPTX
Meteor Introduction - Ashish
PPTX
Meteor Introduction
PPTX
Meteor intro- ktmjs
PDF
Mean Stack Vs Meteor js
PPTX
Introduction to meteor
PDF
Meteor presentation
PDF
PPTX
Meteor js framework
PDF
Intro To Meteor (Las Vegas Ruby User Group Talk)
PDF
Seminar_report on Microsoft Azure Service
The best way to create and deploy web apps with full-stack type safety - Mete...
Get started with meteor | designveloper software agency meteor prime partner
Meteoro de pegasuus! Desenvolvendo aplicações realtime com MeteorJS
Meteor intro-2015
Meteor seminar
Meteor-nepal introduction to meteor
Meteor Mobile App Development
Meteor Meet-up San Diego December 2014
Meteor Rails-2015
Meteor Introduction - Ashish
Meteor Introduction
Meteor intro- ktmjs
Mean Stack Vs Meteor js
Introduction to meteor
Meteor presentation
Meteor js framework
Intro To Meteor (Las Vegas Ruby User Group Talk)
Seminar_report on Microsoft Azure Service
Ad

Recently uploaded (20)

PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Empathic Computing: Creating Shared Understanding
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Unlocking AI with Model Context Protocol (MCP)
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
20250228 LYD VKU AI Blended-Learning.pptx
Review of recent advances in non-invasive hemoglobin estimation
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Dropbox Q2 2025 Financial Results & Investor Presentation
Building Integrated photovoltaic BIPV_UPV.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Chapter 3 Spatial Domain Image Processing.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation_ Review paper, used for researhc scholars
Empathic Computing: Creating Shared Understanding
A comparative analysis of optical character recognition models for extracting...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
sap open course for s4hana steps from ECC to s4
MIND Revenue Release Quarter 2 2025 Press Release
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Unlocking AI with Model Context Protocol (MCP)

CraftCamp for Students - Introduction to Meteor.js

  • 3. Agenda What is Meteor Why Meteor Structure of a Meteor application Example: Chat application Q & A
  • 4. What is Meteor "Meteor is a complete open source platform for building web and mobile apps in pure JavaScript."
  • 5. Meteor platform Full stack (both server- and client side) MongoDB WebSockets: Live communication between server and client Code is shared between client and server Node.js
  • 6. Building web & mobile apps Meteor allows you to use the same code on server- and clientside The default platform is web, but other platforms can be added: Meteor packages are isomorphic (they might run on the web, on a mobile device or on the server) meteoradd-platformandroid meteoradd-platformios
  • 7. Building web & mobile apps Platforms Meteor uses Cordova to support Android and iOS To make an application available for Android devices, you simply use: If you don't have the Android SDK installed, you can install it with the Meteor CLI as well: To run it on an actual device, you use: meteoradd-platformandroid meteorrunandroid meteorinstall-sdkandroid meteorrunandroid-device
  • 8. Building web & mobile apps Isomorphic packages Native APIs can be accessed (GPS, camera, ...) Meteor wraps them in isomorphic packages (Camera, Geolocation, ...) Running the following code will work both on the web and on mobile devices: On the web it will use the On mobile devices it will use the native GPS using Cordova Geolocation.currentLocation() HTML 5 Geolocation API
  • 9. Pure JavaScript Meteor is a full stack JavaScript framework Back-end = Node.js Front-end = Webbrowser Code can be shared between both the back-end and front-end (for example models, utilities, ...)
  • 10. Why Meteor Characteristics Running on both mobile and web Live updates (data changes will be visible immediately on all clients) Hot deployment (both local and on the cloud) Ultra responsive Easy authentication with accounts-packages (+ easy integration with Twitter/Facebook OAuth)
  • 11. Why Meteor The good... the bad and the ugly DO use it when live updates are important DO use it for new applications DO use it for mobile applications DON'T use it with existing data (unless it can be easily ported to MongoDB)
  • 12. Structure of a Meteor application Model (MongoDB collection) Client (MiniMongo, templates) Server (Node.js) Public (CSS, images) Private (configuration)
  • 13. Structure of a Meteor application Model Using a model in Meteor is as simple as: To insert/remove/update data you can use: Messages=newMongo.Collection('messages'); Messages.insert({ message:"Mymessage", time:newDate() });
  • 14. Structure of a Meteor application Client The client side logic primarily contains templates, event handling and plain JavaScript To actually change data, you use MiniMongo (it emulates a MongoDB database on the client) Templates are written using Spacebars (template engine): jQuery is allowed within templates {{#ifcurrentUser}} <h1>Welcomeuser</h1> {{/if}}
  • 15. Demo time Pray to the demo gods
  • 16. Q & A You have the questions We (might) have the answers More feedback: or#craftcamps @g00glen00b
  • 17. References Slides: HTML5 slides: Source code: Demo: Getting started: Craftworkz: http://www.slideshare.net/craftworkz http://craftworkz.github.io/ucll-workshop- meteor/slides/ https://github.com/craftworkz/ucll-workshop- meteor http://ucll-demo-meteor.meteor.com/ https://www.meteor.com/ http://craftworkz.co