4. What I like about Meteor
Realtime from scratch
Live reload – forget about F5
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. What I like about Meteor
Built in authentication/registration
(Email, Facebook, Twitter, Google, Github,...)
$ meteor add accounts-facebook
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. What I like about Meteor
Built in authentication/registration
(Email, Facebook, Twitter, Google, Github,...)
Meteor.loginWithFacebook();
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. What I like about Meteor
Simple deployment
$ meteor deploy appname
http://appname.meteor.com
11. What I like about Meteor
Automatic CSS/JS minification
12. What I like about Meteor
Automatic CSS/JS minification
Documentation works offline
13. What I like about Meteor
Automatic CSS/JS minification
Documentation works offline
Easy refactoring
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. 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