meteorjs - futuristic web framework
DESCRIPTION
What I like and do not like about Meteor.js and Meteor.js specialities.TRANSCRIPT
![Page 2: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/2.jpg)
Tomáš “Elfoslav” HromníkFreelance mobile & web developer
http://hromnik.com
![Page 3: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/3.jpg)
What I like about Meteor
Realtime from scratch
![Page 4: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/4.jpg)
What I like about Meteor
Realtime from scratchLive reload – forget about F5
![Page 5: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/5.jpg)
What I like about Meteor
Realtime from scratchLive reload – forget about F5Plenty of packages – Atmosphere, NPM
$ meteor add bootstrap$ meteor add less$ meteor add coffeescript
![Page 6: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/6.jpg)
What I like about Meteor
Built in authentication/registration(Email, Facebook, Twitter, Google, Github,...)
$ meteor add accounts-facebook
![Page 7: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/7.jpg)
What I like about Meteor
Built in authentication/registration(Email, Facebook, Twitter, Google, Github,...)
Accounts.loginServiceConfiguration.insert({ service: "facebook", appId: "yourAppId", secret: "yourSecret"});
![Page 8: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/8.jpg)
What I like about Meteor
Built in authentication/registration(Email, Facebook, Twitter, Google, Github,...)
Meteor.loginWithFacebook();
![Page 9: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/9.jpg)
What I like about Meteor
Working with database collections (MongoDB)
var Tasks = new Meteor.collection(‘tasks’);
Tasks.insert({ title: ‘Meteor.js presentation’ });
var tasks = Tasks.find();; //no callback needed
![Page 10: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/10.jpg)
What I like about Meteor
Simple deployment
$ meteor deploy appname
http://appname.meteor.com
![Page 11: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/11.jpg)
What I like about Meteor
Automatic CSS/JS minification
![Page 12: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/12.jpg)
What I like about Meteor
Automatic CSS/JS minificationDocumentation works offline
![Page 13: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/13.jpg)
What I like about Meteor
Automatic CSS/JS minificationDocumentation works offlineEasy refactoring
![Page 14: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/14.jpg)
What I like about Meteor
Noo need to load CSS/JS manually
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />...<script src="bower_components/jquery/dist/jquery.js"></script>...
![Page 15: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/15.jpg)
What I do not like about Meteor
Meteor does not give you pre-defined app structure
$ meteor create appname
appname.htmlappname.jsappname.css
![Page 16: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/16.jpg)
Specialities
Publish/Subscribe//serverMetor.publish(“userTasks", function () {
return Tasks.find({ userId: this.userId });
});
//clientMeteor.subscribe(“userTasks”);
![Page 17: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/17.jpg)
Specialities
Publish/SubscribeMinimongo
//clientvar tasks = Tasks.find();
![Page 18: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/18.jpg)
Specialities
Publish/SubscribeMinimongoAutopublish, Insecure package
$ meteor remove autopublish
$ meteor remove insecure
![Page 19: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/19.jpg)
Specialities
Rendering engine (Spark, Blaze – Meteor 0.8+)
![Page 20: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/20.jpg)
Specialities
Rendering engine (Spark, Blaze – Meteor 0.8+)Only MongoDB support at this time
![Page 21: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/21.jpg)
Future of Meteor
Current version: 0.8.1.3Meteor 1.0 on the road
![Page 22: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/22.jpg)
Future of Meteor
Current version: 0.8.1.3Meteor 1.0 on the roadMobile apps in Meteor (phonegap)
![Page 23: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/23.jpg)
Resources● Official Meteor web: http://meteor.com● Meteorhacks: http://meteorhacks.com● Meteor geek Arunoda: https://twitter.com/arunoda● E-book: https://www.discovermeteor.com● Meteor screencasts: https://www.eventedmind.com● Meteor packages: https://atmospherejs.com● My Meteor blog: http://meteor.hromnik.com● Twitter: @meteorjs, #meteorjs
![Page 24: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/24.jpg)
Meteor.jsFuturistic web framework
Who will try it?
![Page 25: Meteorjs - Futuristic web framework](https://reader034.vdocuments.us/reader034/viewer/2022052410/554f7312b4c9058a148b5444/html5/thumbnails/25.jpg)
Meteor.jsFuturistic web framework
Questions?