UMass Lowell Dept. of Computer Science

COMP 4620 — GUI Programming II

Spring 2016 Semester, Section 201

Prof. Jesse M. Heines

Notes for Class No. 2

Semester Project Discussions and Partner Meetings and Introduction to the MEAN Stack

Thursday, January 21, 2016

A video of this class is (or will be) posted at:  http://echo360.uml.edu/heines2016/comp4620-201.html


Handouts and Materials


Openings / Announcements / Reminders

For this class you were to complete your registration for this course by filling out the form at https://docs.google.com/forms/d/166cx_uRhYJ24qoI-zMrs1dpWVyOw5iloQ-ojjF41lv4/viewform

Please please please remember to put COMP-4620 in the subject header of your emails to me

There are some good project ideas posted on Piazza, but I would like to see more, please

If you’ve been getting the Piazza posts, you can see that Curran is reading, responding, and posting

Kate Carcia, whom I spoke about in our last class, also wrote to me and is monitoring the list


Class Notes

Related reading for this class:  Sample Project Proposals and GetMEAN: Chap. 2


Today additional time will be allotted to reviewing previous semesters’ project proposals (linked in Assignment No. 1), looking at previous semesters’ actual final projects (linked below if still available), and meeting with potential project partners to discuss ideas and begin planning your project.

Please respond to the Project Ideas Forum question that I posted on Piazza with your project ideas so that others can know what you’re thinking and appropriate project teams can be built.


For next Tuesday’s class


MEAN Stack Architecture

2.1 A common MEAN stack architecture  (p. 25)

REST API = REpresentational State Transfer Application Program Interface
SPA = Single Page Application

The book contains a discussion of the pros and cons of single page applications

The application developed in the book is a blog engine with two basic interfaces

The book explains the advantages of building a REST API vs. integrating the database access with your application code

Building one’s own toolkit


2.5 Breaking the development into stages  (p. 40)

The book has two aims:

2.5.1 Rapid prototype development stages  (pp. 40-41)

Stage 1:  Build a static site

Stage 2:  Design the data model and create the database

Stage 3:  Build the data API

Stage 4:  Hook the database to the application

Stage 5:  Augment the application


2.5.2 The steps to build the Loc8r application (pp. 41-46) — you should use analogous steps to build your application

Step 1:  Build a static site

Step 2:  Design the data model and create the database

Step 3:  Build the REST API

Step 4:  Integrate the API into the application

Step 5:  Embellish the application

Step 6:  Refactor the code into an AngularJS SPA — most projects will not get this far

Step 7:  Add authentication — we’re simply not going to do this


Installing the MEAN stack

See Appendix A, p. 392, for instructions on installing all MEAN stack components on various platforms

See Appendix B, p. 395, for instructions on setting up Git and Heroku



This is document http://jesseheines.com:8080/~heines/91.462/91.462-2015-16s/462-lecs/lecture02.jsp.  It was last modified on Friday, August 26, 2022 at 4:09 PM.
Copyright © 2022 by Jesse M. Heines.  All rights reserved.  May be freely copied or excerpted for educational purposes with credit to the author.