meteorjs - futuristic web framework

25
Meteor.js Futuristic web framework http://meteor.com

Upload: tomas-hromnik

Post on 10-May-2015

494 views

Category:

Technology


2 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Meteorjs - Futuristic web framework

Meteor.jsFuturistic web framework

http://meteor.com

Page 2: Meteorjs - Futuristic web framework

Tomáš “Elfoslav” HromníkFreelance mobile & web developer

http://hromnik.com

Page 3: Meteorjs - Futuristic web framework

What I like about Meteor

Realtime from scratch

Page 4: Meteorjs - Futuristic web framework

What I like about Meteor

Realtime from scratchLive reload – forget about F5

Page 5: Meteorjs - Futuristic web framework

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

What I like about Meteor

Built in authentication/registration(Email, Facebook, Twitter, Google, Github,...)

$ meteor add accounts-facebook

Page 7: Meteorjs - Futuristic web framework

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

What I like about Meteor

Built in authentication/registration(Email, Facebook, Twitter, Google, Github,...)

Meteor.loginWithFacebook();

Page 9: Meteorjs - Futuristic web framework

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

What I like about Meteor

Simple deployment

$ meteor deploy appname

http://appname.meteor.com

Page 11: Meteorjs - Futuristic web framework

What I like about Meteor

Automatic CSS/JS minification

Page 12: Meteorjs - Futuristic web framework

What I like about Meteor

Automatic CSS/JS minificationDocumentation works offline

Page 13: Meteorjs - Futuristic web framework

What I like about Meteor

Automatic CSS/JS minificationDocumentation works offlineEasy refactoring

Page 14: Meteorjs - Futuristic web framework

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

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

Specialities

Publish/Subscribe//serverMetor.publish(“userTasks", function () {

return Tasks.find({ userId: this.userId });

});

//clientMeteor.subscribe(“userTasks”);

Page 17: Meteorjs - Futuristic web framework

Specialities

Publish/SubscribeMinimongo

//clientvar tasks = Tasks.find();

Page 18: Meteorjs - Futuristic web framework

Specialities

Publish/SubscribeMinimongoAutopublish, Insecure package

$ meteor remove autopublish

$ meteor remove insecure

Page 19: Meteorjs - Futuristic web framework

Specialities

Rendering engine (Spark, Blaze – Meteor 0.8+)

Page 20: Meteorjs - Futuristic web framework

Specialities

Rendering engine (Spark, Blaze – Meteor 0.8+)Only MongoDB support at this time

Page 21: Meteorjs - Futuristic web framework

Future of Meteor

Current version: 0.8.1.3Meteor 1.0 on the road

Page 22: Meteorjs - Futuristic web framework

Future of Meteor

Current version: 0.8.1.3Meteor 1.0 on the roadMobile apps in Meteor (phonegap)

Page 23: Meteorjs - Futuristic web framework

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

Meteor.jsFuturistic web framework

Who will try it?

Page 25: Meteorjs - Futuristic web framework

Meteor.jsFuturistic web framework

Questions?