Pavel Kurnosov
Meteor is an ultra-simple environment for building modern websites. What once took weeks, even with the best tools, now takes hours with Meteor.
curl https://install.meteor.com | /bin/sh
Don't send HTML over the network. Send data and let the client decide how to render it.
Write both the client and the server parts of your interface in JavaScript.
Use the same transparent API to access your database from the client or the server.
Make realtime the default. All layers, from database to template, should make an event-driven interface available.
Meteor is open source and integrates, rather than replaces, existing open source tools and
frameworks.
The best way to make something seem simple is to have it actually be simple. Accomplish this through clean, classically beautiful APIs.
build tool analogous to make, rake.
It gathers up all of the source files and assets in your application, carries out any necessary build
steps,
fetches the packages used by your app, and outputs a standalone, ready-to-run application bundle
tool that will help you download and manage your Atmosphere packages
Create and run first project using mrt
Meteor is a library of packages: pre-written, self-contained modules that you might need in your app
list of default packages and community packages
Meteor automates the packaging and transmission of different components. And, it is quite flexible about how you choose to structure those components in your file tree
By default, a new Meteor app includes the autopublish and insecure packages
These functions control how Meteor servers publish sets of records and how clients can subscribe to those sets.
Meteor.publish("rooms", function () { return Rooms.find({}, { fields: { secretInfo: 0 } }); });
Meteor.subscribe("rooms");
Rooms = new Meteor.Collection("rooms");
Methods are remote functions that Meteor clients can invoke.
//server side
Meteor.methods({
foo: function (arg1, arg2) {
check(arg1, String);
check(arg2, [Number]);
// .. do stuff ..
if (you want to throw an error)
throw new Meteor.Error(404, "Can't find my pants");
return "some return value";
}
});
//client side
Meteor.call('foo', 1, 2, function (error, result) { ... } );
Parties.allow({
insert: function (userId, party) {
return false;
}
});
It features secure password login using the Secure Remote Password protocol, and integration with external services
Accounts-ui package worth to mention it.
Meteor provides a lightweight library for checking that arguments and other values are the type you expect them to be.
check(username, String)
Connection using websockets and it give some security benefits like - no cookies
Running on Meteor's infrastructure
$ meteor deploy myapp.meteor.com
Running on your own infrastructure
$ meteor bundle myapp.tgz