Rocks! From outer space!
(Am I playing with fire here? John Allsopp preaches against these trends, and despite my rising from the exact same background, influences, Brooks, Dijkstra, et al, I sense there’s maybe a counter-intuitive paradigm shift exemplified in Meteor‘s opinionated stack, that merits exploration, at least.)
(Meteor version 0.6.5.1.)
Highlights
- Opinionated: choices made already, take it or leave it.
- Tight integration. But, what’s new? Commercial services have always leaned away from pluggability (interoperability) and towards completeness (isolation, creeping featuritis, etc).
- Single page Web applications (SPA): no middle tier, business logic moves to client, cloud is just storage (nu, and RESTful services, mashed up).
- Persistence, or distributed storage, or offline?!
- Scaffolding (meaning asset pipeline, etc)
- NoSQL (ERDs ain’t the problem — it’s the tables, query language, schemas!)
Getting started
- Installation
- Shell script? Yuck. No APT package, but NPM (and peers) seems veered towards self-managed installations? Still…
- From GitHub? Using Meteorite (after
npm install meteorite
):$ mrt
- Design
- UX (on paper, yet hard work, with SPA, RWD, etc)
- Data modeling (NoSQL, but reactive, offline?)
- Widgets and templates (DOM recycled unexpecedly), pages?
- Scaffolding
- Create project:
$ mrt create src
then just run Meteor:
$ cd src $ meteor
(
$ mrt
also works) and open the app at http://localhost:3000/. Delete the “meteor” section from smart.json to skip checking for updates to Meteor every time we run it with mrt. - Directory structure (under project’s root)
- client/: assets (automatically minified and combined) sent to client (browser). Subscriptions?
- views/
- lib/: collections?
- packages/
- private/
- public/: assets?
- server/: publications?
- client/: assets (automatically minified and combined) sent to client (browser). Subscriptions?
- Create project:
…
Bookmarks
Resources
- Official: Meteor, meteor/meteor · GitHub, meteor/meteor Wiki
- Meteorpedia
- oortcloud/unofficial-meteor-faq · GitHub
- Meteorite by oortcloud and Atmosphere: Smart Packages
- Made with Meteor!
- meteor-talk – Google Groups
- Newest ‘meteor’ Questions – Stack Overflow
Examples
Lots listed at Made with Meteor!…