SlideShare a Scribd company logo
Building iOS App
using
MeteorJS
Ashish
@ashish_fagna
Agenda
• Meteor Concepts
• Ionic
• Demo : iOS app using Meteor
What is Meteor …
A reactive ,
data-synchronizing,
Latency-compensating,
time-saving platform.
for building fast, interactive web apps
One codebase,
all platforms
Open and extensible
100% pure
JavaScript
Collaborative iOS and
Android app
<1000 lines of JavaScript
A full-stack, open source platform for building web and mobile apps in JavaScript
Fast and fun
development
What is Meteor…
What's different ?
Traditional App
• Browser makes a request to server,
http://example.com/items.html
•server responds with html code
<html>
<p>Item 1</p>
<p>Item 2</p>
</html>
What's different ?
Meteor App
•Browser subscribes (to items) from Server
Subscribe to items
•Also browser knows when new items added on
server.
•Response is :
<p>Item 1</p>
<p>Item 2</p>
What's different ?
Meteor App
Latency Compensation
When adding new item by browser,
•local storage updated first,
•then send to server for update.
•Server then updates client “Everything went
OK” .
Hence Reactive.
What's different ?
Meteor App
Browser Server
Angular ,
Ember,
Backbone,
React,
XMLHttpRequest,
WebSocket,
Sockjs,jQuery,
BootStrap
Rails,
Django,
PHP,
Node,
Go,
Express,
MongoDB,
MySQL,
AppEngine,
Postgres,
Apache
What's different ?
Meteor App
•Write all JavaScript (if you want to)
•Use the same APIs on client and server.
Meteor components
Command Line Tool
View Layer – Blaze (Angular, React)
Livequery
Full stack package system – atmospherejs.com
Build system
Cordova/Phonegap
MongoDB DOM
Server Client
Meteor Data Flows
Minimongo
Optimistic UI
MongoDB
The Meteor Platform
App Microservices
PLATFORM
Blaze
Livequery
Client Data Cache
MongoDB SQL REST
App Components & Logic
React Angular
SERVER
CLIENT
SOURCES
DDP
MobileWeb
Cordova, PhoneGap, & Ionic
• Apache Cordova is community project, letting
you build mobile apps for various mobile
platforms (HTML5, Javascript and CSS3)
• Phonegap is a version of Cordova but it's
Adobe's product.
• Ionic Framework is a set of css classes and a
library of Javascript directives and modules, built
on top of Cordova, with AngularJS.
Cordova v/s Native
• Apache Cordova
–Hybrid Apps
–Web wrapped in
native
–Native APIs
–One code base,
many platforms
• Native SDKs
–Views
–UI Components
–Navigation
–Transitions
–Animations
–Interactions
Downside of Native
• Knowledge of each platform
• Separate code bases
• Expensive
Ionic
Ionic is “Bootstrap for Native”
• Responsive
• UI Components
• Transitions
• Icons
Ionic for AngularJS
• Ionic has been optimised for AngularJS
• AngularJS Features
–Directives
–Services
–Interactions
–Navigation and History
–Animations and Transitions
–Performance
–Much More…
Ionic Sample Code
Lists
Ionic Lists
Tabs
• Nested views
• Separate history
• Angular UI Router
Side Menu
Navigation
• Angular UI Router
• Back button
• Transitions
Create a meteor app
1.meteor create <<APP_NAME>>
1.cd <<APP_NAME>
1.meteor //this runs the app at port 3000
Add platform
Add platform to project
• meteor add-platform ios
• meteor add-platform android
• meteor list-platforms
Install mobile specific packages
• meteor add mdg:camera
• meteor add mdg:geolocation
• meteor add mdg:camera
Run App
To run in simulator
• meteor run ios
To run on device
• meteor run ios -p <local port>
Demo App
Thank You

More Related Content

What's hot (20)

PDF
Cordova, Angularjs & Ionic @ Codeaholics
Eddie Lau
 
PDF
Intro to mobile apps with the ionic framework & angular js
Hector Iribarne
 
PDF
Creating an hybrid app in minutes with Ionic Framework
Julien Renaux
 
PPTX
Building mobile app with Ionic Framework
Huy Trần
 
PDF
Hybrid Apps with Angular & Ionic Framework
Cihad Horuzoğlu
 
PDF
Creating mobile apps - an introduction to Ionic (Engage 2016)
Mark Leusink
 
PPTX
Developing Hybrid Applications with IONIC
Fuat Buğra AYDIN
 
PPTX
Intro to Ionic for Building Hybrid Mobile Applications
Sasha dos Santos
 
PPTX
Hybrid vs. Native app - Ionic Framework with AngularJS
Zvika Epstein
 
PPTX
App forum2015 London - Building RhoMobile Applications with Ionic
robgalvinjr
 
PDF
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
PDF
Hybrid app development with ionic
Wan Muzaffar Wan Hashim
 
PDF
Ionic Framework
Cristián Cortéz
 
PDF
Build Consumer Apps Using Mobile SDK and Ionic Framework
Salesforce Developers
 
PDF
Ionic framework one day training
Troy Miles
 
PPTX
IONIC - Hybrid Mobile App Development
Malan Amarasinghe
 
PPTX
Introduction to Ionic framework
Shyjal Raazi
 
ODP
Use Ionic Framework to develop mobile application
Lucio Grenzi
 
PDF
Ionic 2 intro
Wojciech Langiewicz
 
PDF
Workshop Ionic Framework - CC FE & UX
JWORKS powered by Ordina
 
Cordova, Angularjs & Ionic @ Codeaholics
Eddie Lau
 
Intro to mobile apps with the ionic framework & angular js
Hector Iribarne
 
Creating an hybrid app in minutes with Ionic Framework
Julien Renaux
 
Building mobile app with Ionic Framework
Huy Trần
 
Hybrid Apps with Angular & Ionic Framework
Cihad Horuzoğlu
 
Creating mobile apps - an introduction to Ionic (Engage 2016)
Mark Leusink
 
Developing Hybrid Applications with IONIC
Fuat Buğra AYDIN
 
Intro to Ionic for Building Hybrid Mobile Applications
Sasha dos Santos
 
Hybrid vs. Native app - Ionic Framework with AngularJS
Zvika Epstein
 
App forum2015 London - Building RhoMobile Applications with Ionic
robgalvinjr
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
Hybrid app development with ionic
Wan Muzaffar Wan Hashim
 
Ionic Framework
Cristián Cortéz
 
Build Consumer Apps Using Mobile SDK and Ionic Framework
Salesforce Developers
 
Ionic framework one day training
Troy Miles
 
IONIC - Hybrid Mobile App Development
Malan Amarasinghe
 
Introduction to Ionic framework
Shyjal Raazi
 
Use Ionic Framework to develop mobile application
Lucio Grenzi
 
Ionic 2 intro
Wojciech Langiewicz
 
Workshop Ionic Framework - CC FE & UX
JWORKS powered by Ordina
 

Similar to Building iOS app using meteor (20)

PDF
[2015/2016] Apache Cordova
Ivano Malavolta
 
PDF
Ionic - Revolutionizing Hybrid Mobile Application Development
Justin James
 
PPTX
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
PDF
CraftCamp for Students - Introduction to Meteor.js
craftworkz
 
PDF
Exploring the continuum between Cordova and React Native
Simon MacDonald
 
PDF
Developing ionic apps for android and ios
gautham_m79
 
PDF
One App, Multiple Platforms
Mike Hartington
 
PDF
PhoneGap in 60 Minutes or Less
Troy Miles
 
PDF
Apache Cordova 4.x
Ivano Malavolta
 
PDF
Cordova + Ionic + MobileFirst
Raymond Camden
 
PDF
Mobile app development with Ionic cross platform apps with Ionic Angular and ...
sestayobstk2
 
PDF
Building Cross-Platform Mobile Apps
Troy Miles
 
PPTX
Ionic Mobile Applications - Hybrid Mobile Applications Without Compromises
Jacob Friesen
 
PDF
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
PPTX
Building Cross-Platform JavaScript Apps using Cordova
Noam Kfir
 
PPTX
Developing a native mobile apps using Ionic&Cordova
Damir Beylkhanov
 
PDF
Introduction to PhoneGap
RameshNair6
 
PDF
Mobile Development with PhoneGap
Joshua Johnson
 
PPTX
How to build a SaaS solution in 60 days
Brett McLain
 
[2015/2016] Apache Cordova
Ivano Malavolta
 
Ionic - Revolutionizing Hybrid Mobile Application Development
Justin James
 
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
CraftCamp for Students - Introduction to Meteor.js
craftworkz
 
Exploring the continuum between Cordova and React Native
Simon MacDonald
 
Developing ionic apps for android and ios
gautham_m79
 
One App, Multiple Platforms
Mike Hartington
 
PhoneGap in 60 Minutes or Less
Troy Miles
 
Apache Cordova 4.x
Ivano Malavolta
 
Cordova + Ionic + MobileFirst
Raymond Camden
 
Mobile app development with Ionic cross platform apps with Ionic Angular and ...
sestayobstk2
 
Building Cross-Platform Mobile Apps
Troy Miles
 
Ionic Mobile Applications - Hybrid Mobile Applications Without Compromises
Jacob Friesen
 
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
Building Cross-Platform JavaScript Apps using Cordova
Noam Kfir
 
Developing a native mobile apps using Ionic&Cordova
Damir Beylkhanov
 
Introduction to PhoneGap
RameshNair6
 
Mobile Development with PhoneGap
Joshua Johnson
 
How to build a SaaS solution in 60 days
Brett McLain
 
Ad

More from Entrepreneur / Startup (12)

PDF
R-FCN : object detection via region-based fully convolutional networks
Entrepreneur / Startup
 
PPTX
You only look once (YOLO) : unified real time object detection
Entrepreneur / Startup
 
PPTX
Machine Learning Algorithms in Enterprise Applications
Entrepreneur / Startup
 
PPTX
OpenAI Gym & Universe
Entrepreneur / Startup
 
PPTX
Build a Neural Network for ITSM with TensorFlow
Entrepreneur / Startup
 
PPTX
Understanding Autoencoder (Deep Learning Book, Chapter 14)
Entrepreneur / Startup
 
PPTX
Build an AI based virtual agent
Entrepreneur / Startup
 
PPTX
Building Bots Using IBM Watson
Entrepreneur / Startup
 
PDF
Building chat bots using ai platforms (wit.ai or api.ai) in nodejs
Entrepreneur / Startup
 
PPTX
Understanding angular meteor
Entrepreneur / Startup
 
PPTX
Introducing ElasticSearch - Ashish
Entrepreneur / Startup
 
PPTX
Meteor Introduction - Ashish
Entrepreneur / Startup
 
R-FCN : object detection via region-based fully convolutional networks
Entrepreneur / Startup
 
You only look once (YOLO) : unified real time object detection
Entrepreneur / Startup
 
Machine Learning Algorithms in Enterprise Applications
Entrepreneur / Startup
 
OpenAI Gym & Universe
Entrepreneur / Startup
 
Build a Neural Network for ITSM with TensorFlow
Entrepreneur / Startup
 
Understanding Autoencoder (Deep Learning Book, Chapter 14)
Entrepreneur / Startup
 
Build an AI based virtual agent
Entrepreneur / Startup
 
Building Bots Using IBM Watson
Entrepreneur / Startup
 
Building chat bots using ai platforms (wit.ai or api.ai) in nodejs
Entrepreneur / Startup
 
Understanding angular meteor
Entrepreneur / Startup
 
Introducing ElasticSearch - Ashish
Entrepreneur / Startup
 
Meteor Introduction - Ashish
Entrepreneur / Startup
 
Ad

Recently uploaded (20)

PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PPTX
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
Element 7. CHEMICAL AND BIOLOGICAL AGENT.pptx
merrandomohandas
 
PPTX
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PPT
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
Day2 B2 Best.pptx
helenjenefa1
 
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Element 7. CHEMICAL AND BIOLOGICAL AGENT.pptx
merrandomohandas
 
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 

Building iOS app using meteor

  • 2. Agenda • Meteor Concepts • Ionic • Demo : iOS app using Meteor
  • 3. What is Meteor … A reactive , data-synchronizing, Latency-compensating, time-saving platform. for building fast, interactive web apps
  • 4. One codebase, all platforms Open and extensible 100% pure JavaScript Collaborative iOS and Android app <1000 lines of JavaScript A full-stack, open source platform for building web and mobile apps in JavaScript Fast and fun development What is Meteor…
  • 5. What's different ? Traditional App • Browser makes a request to server, http://example.com/items.html •server responds with html code <html> <p>Item 1</p> <p>Item 2</p> </html>
  • 6. What's different ? Meteor App •Browser subscribes (to items) from Server Subscribe to items •Also browser knows when new items added on server. •Response is : <p>Item 1</p> <p>Item 2</p>
  • 7. What's different ? Meteor App Latency Compensation When adding new item by browser, •local storage updated first, •then send to server for update. •Server then updates client “Everything went OK” . Hence Reactive.
  • 8. What's different ? Meteor App Browser Server Angular , Ember, Backbone, React, XMLHttpRequest, WebSocket, Sockjs,jQuery, BootStrap Rails, Django, PHP, Node, Go, Express, MongoDB, MySQL, AppEngine, Postgres, Apache
  • 9. What's different ? Meteor App •Write all JavaScript (if you want to) •Use the same APIs on client and server.
  • 10. Meteor components Command Line Tool View Layer – Blaze (Angular, React) Livequery Full stack package system – atmospherejs.com Build system Cordova/Phonegap
  • 11. MongoDB DOM Server Client Meteor Data Flows Minimongo Optimistic UI MongoDB
  • 12. The Meteor Platform App Microservices PLATFORM Blaze Livequery Client Data Cache MongoDB SQL REST App Components & Logic React Angular SERVER CLIENT SOURCES DDP MobileWeb
  • 13. Cordova, PhoneGap, & Ionic • Apache Cordova is community project, letting you build mobile apps for various mobile platforms (HTML5, Javascript and CSS3) • Phonegap is a version of Cordova but it's Adobe's product. • Ionic Framework is a set of css classes and a library of Javascript directives and modules, built on top of Cordova, with AngularJS.
  • 14. Cordova v/s Native • Apache Cordova –Hybrid Apps –Web wrapped in native –Native APIs –One code base, many platforms • Native SDKs –Views –UI Components –Navigation –Transitions –Animations –Interactions
  • 15. Downside of Native • Knowledge of each platform • Separate code bases • Expensive
  • 16. Ionic
  • 17. Ionic is “Bootstrap for Native” • Responsive • UI Components • Transitions • Icons
  • 18. Ionic for AngularJS • Ionic has been optimised for AngularJS • AngularJS Features –Directives –Services –Interactions –Navigation and History –Animations and Transitions –Performance –Much More…
  • 21. Tabs • Nested views • Separate history • Angular UI Router
  • 23. Navigation • Angular UI Router • Back button • Transitions
  • 24. Create a meteor app 1.meteor create <<APP_NAME>> 1.cd <<APP_NAME> 1.meteor //this runs the app at port 3000
  • 25. Add platform Add platform to project • meteor add-platform ios • meteor add-platform android • meteor list-platforms Install mobile specific packages • meteor add mdg:camera • meteor add mdg:geolocation • meteor add mdg:camera
  • 26. Run App To run in simulator • meteor run ios To run on device • meteor run ios -p <local port>