A look at Meteor

An awesome, extremely simple way to build apps

Slides located at http://csulbsigweb.github.io/meteor_in_depth/

Things to know...

JavaScript

Mongodb

What is Meteor?

Aren't there enough javascript solutions already????

Really now.


if (frameworks >= 5) {
  console.log('Too many frameworks');
}
          

Meteor provides for simple rapid prototyping

Here is the js code needed to run a bare bones simple guest-book example. Crazy right?


Names = new Mongo.Collection('names');

if (Meteor.isClient) {
    Template.signIn.helpers({
      added: function() {
        return Names.find({});
    }
  });
}
        

But know that rapid prototyping in meteorjs can be dangerous!

Security and meteor

Meteor js has a small library that mimicks Mongodb on the front end! Without inputting proper security rules anyone could make arbitrary calls to your database!

This proves to be both very good and very bad.


Data.insert({ joke: "HAHAHA I HAX UR DATABASE LOLOLOL",
              trollPic: "http://loltrollface.com/troll.png" });
        

Before more... some resources

Meteor Docs

Discover Meteor book (first 8 chapters free until Nov 6th)

Basic mini mongo calls

In the console of your browser in a small/test app, you can run mongo commands like this


CollectionName.insert({ key: value, key: value, ........ });
        

Go to meteor_demo_acm.meteor.com and try inserting some commands! Leave your name!

Lets bug jake!

So meteor can do mobile apps! Let me show you.

meteor_mobile_demo.meteor.com