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.
This project is upgraded to Meteor 1.2 and rebuilt using the following packages:
iron:routerfor faster, client-side
meteorhacks:subs-managerfor caching subscriptions on the client
meteorhacks:fast-renderto send initial DDP data to the client and
decrease pageload time
There are different branches in this repo for the different steps of refactoring:
v1is the complete Microscope project from DiscoveringMeteor (written by me as I read through the book so there may be slight differences)
v2-w/karidahq-packagesis rebuilt using the kadira/meteorhacks packages listed above for better performance
v3-local-packagesis 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