Meteorjs - Futuristic web framework

1,093 views

Published on

What I like and do not like about Meteor.js and Meteor.js specialities.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,093
On SlideShare
0
From Embeds
0
Number of Embeds
31
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Meteorjs - Futuristic web framework

  1. 1. Meteor.js Futuristic web framework http://meteor.com
  2. 2. Tomáš “Elfoslav” Hromník Freelance mobile & web developer http://hromnik.com
  3. 3. What I like about Meteor Realtime from scratch
  4. 4. What I like about Meteor Realtime from scratch Live reload – forget about F5
  5. 5. What I like about Meteor Realtime from scratch Live reload – forget about F5 Plenty of packages – Atmosphere, NPM $ meteor add bootstrap $ meteor add less $ meteor add coffeescript
  6. 6. What I like about Meteor Built in authentication/registration (Email, Facebook, Twitter, Google, Github,...) $ meteor add accounts-facebook
  7. 7. What I like about Meteor Built in authentication/registration (Email, Facebook, Twitter, Google, Github,...) Accounts.loginServiceConfiguration.insert({ service: "facebook", appId: "yourAppId", secret: "yourSecret" });
  8. 8. What I like about Meteor Built in authentication/registration (Email, Facebook, Twitter, Google, Github,...) Meteor.loginWithFacebook();
  9. 9. 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
  10. 10. What I like about Meteor Simple deployment $ meteor deploy appname http://appname.meteor.com
  11. 11. What I like about Meteor Automatic CSS/JS minification
  12. 12. What I like about Meteor Automatic CSS/JS minification Documentation works offline
  13. 13. What I like about Meteor Automatic CSS/JS minification Documentation works offline Easy refactoring
  14. 14. 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> ...
  15. 15. What I do not like about Meteor Meteor does not give you pre-defined app structure $ meteor create appname appname.html appname.js appname.css
  16. 16. Specialities Publish/Subscribe //server Metor.publish(“userTasks", function () { return Tasks.find({ userId: this.userId }); }); //client Meteor.subscribe(“userTasks”);
  17. 17. Specialities Publish/Subscribe Minimongo //client var tasks = Tasks.find();
  18. 18. Specialities Publish/Subscribe Minimongo Autopublish, Insecure package $ meteor remove autopublish $ meteor remove insecure
  19. 19. Specialities Rendering engine (Spark, Blaze – Meteor 0.8+)
  20. 20. Specialities Rendering engine (Spark, Blaze – Meteor 0.8+) Only MongoDB support at this time
  21. 21. Future of Meteor Current version: 0.8.1.3 Meteor 1.0 on the road
  22. 22. Future of Meteor Current version: 0.8.1.3 Meteor 1.0 on the road Mobile apps in Meteor (phonegap)
  23. 23. 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
  24. 24. Meteor.js Futuristic web framework Who will try it?
  25. 25. Meteor.js Futuristic web framework Questions?

×