Hey everyone,
Discovering Meteor’s Microscope was a great way to get an introduction to the Meteor framework. I wanted to continue learning , so I used the Microscope project as a test bed for teaching myself and put it up on GitHub so hopefully it can be helpful to others who are looking to continue their education as well.
Specifically I had a hard time finding anyone who had ported Microscope to FlowRouter and an even harder time finding how to build an app entirely in packages. If you’ve read Discovering Meteor, this should be a good segue into learning those two topics.
Changes
This project is upgraded to Meteor 1.2 and rebuilt using the following packages:
-
kadira:flow-router
instead ofiron:router
for faster, client-side
routing arilla:flow-router-helpers
kadira:blaze-layout
-
meteorhacks:subs-manager
for caching subscriptions on the client -
meteorhacks:fast-render
to send initial DDP data to the client and
decrease pageload time
Branches
There are different branches in this repo for the different steps of refactoring:
-
v1
is the complete Microscope project from DiscoveringMeteor (written by me as I read through the book so there may be slight differences) -
v2-w/karidahq-packages
is rebuilt using the kadira/meteorhacks packages listed above for better performance -
v3-local-packages
is refactored so that all code is inside local packages for better code organization and separation of concerns -
v4-microservices
[COMING SOON] is rebuilt with microservices using meteorhacks:cluster