I’ve been asked to provide a little more detail about the way I teach Meteor as part of my one semester software engineering curriculum. An archival version of the complete set of modules is here:
http://courses.ics.hawaii.edu/ReviewICS314/modules/
Here’s a basic outline, omitting several modules not directly related to web application development:
Weeks 1-3: Overview of Javascript.
I assume no prior knowledge of JS, but do assume a background in programming. Week 1 concentrates on basic syntax, Week 2 on object orientation, and Week 3 on functional programming using Underscore. Most students are not familiar with passing functions as arguments or functions as return values. I have them use JSFiddle.
Weeks 4-6: Configuration Management, Development Environments, Coding Standards.
During these weeks, I introduce them to Git, GitHub, Intellij IDEA, and ESLint. Now they can write JS with an IDE according to the ESLint AirBnB standards and commit code to GitHub.
Week 7: Basic HTML and CSS.
This is an easy week that overviews simple HTML/CSS. I use FreeCodeCamp modules to introduce this stuff.
Week 8: Semantic UI.
This module introduces my CSS framework of choice, and they learn to use it to build a ‘modern’, responsive web page. I have them find a random home page on the Internet and reproduce it (more or less) in Semantic UI. I try to get them to see that they can get pretty far in UI design by just knowing how to “copy” sites whose UI they like. I used to use Twitter Bootstrap, and that would be a good choice as well.
Week 9: React.
I have them go through the React tutorials, then re-implement their site from last week using the Semantic UI/React integration. For me, it’s these integrated React frameworks that really simplify UI design and implementation. Now they have a decent introduction to front-end technologies completely separate from the back-end.
Week 10: Mongo and Meteor 1.
An introduction to Mongo independent of Meteor, plus an “Hello World” level introduction to Meteor. This week is basically about making sure they have Meteor installed correctly on their laptops and can build the default Meteor app. Plus, how to use Mongo (I do not assume the students have any prior database experience.)
Week 11: Meteor 2.
This week involves short exercises that give them familiarity with three sample applications I’ve created for this class: meteor-application-template-react, which they use as a boilerplate for their Meteor applications, meteor-example-form-react, which provides sample code for building UI controls using the Uniforms framework, and Bowfolios, which is a complete application at close to the complexity level that I expect for their final project.
Weeks 12-13: Meteor 3.
This is a two week module where I step them through the development of a simple CRUD application for an Address Book called Digits. I divide the development into six stages: clone meteor-application-template-react and create the landing page, create a List Contacts page mockup, create the Contacts collection, create the Add and Edit contact forms and pages, add the ability to add timestamped Notes to each contact, and a final cleanup task.
Weeks 14-17: Final Project.
Students spend the last month of the course building a new application from scratch in teams, learning about agile development, testing, and other software engineering concepts. At this point, the focus shifts from the tech stack for web application development to the issues that occur when you are actually trying to solve a real world problem for a customer.
Conclusion:
I think the main difference between my approach and other introductions to Meteor is that I teach the entire set of front end technologies (HTML, CSS, Semantic UI, and React) before introducing Meteor. Most other approaches build a really simple vanilla Meteor app and then make it incrementally more sophisticated. There are pros and cons to each approach; I like this one because it helps students see the front-end technologies as entirely independent from the web application framework.
Another difference is that my approach is very “opinionated”: I require students to use IntelliJ IDEA, ESLint, Semantic UI, React, and Uniforms. This has costs, in that my tech stack has changed over the years as my “opinions” about the appropriate composition have changed. But the benefits are that students learn a pretty cool, pretty modern tech stack, and get a lot of functionality out of a relatively small amount of code.
Also, a couple of shortcomings: I do not attempt to teach them about Meteor Methods so that they can remove the insecure package, nor do I spend much time on unit and whole-app testing modes. I basically run out of time in this semester, but this stuff should obviously be part of a comprehensive introduction.