UMass Lowell Dept. of Computer Science

91.461 GUI Programming I

Fall 2015 Semester, Section 201

Prof. Jesse M. Heines

Notes for Class No. 8

Introduction to JSON and Its Use in Assignment No. 5

Thursday, September 24, 2015

A video of this class is (or will be) posted at:   http://echo360.uml.edu/heines201516/guiprogramming1.html


Handouts and Materials


Openings / Announcements / Reminders

Presentation on DifferenceMaker today

Quiz on CSS Selectors today

Assignment No. 3 Submissions - 100% again! 


Class Notes

Great Piazza post by grader Mike Meding

For all those struggling with file permissions, I wrote a quick script to fix all the permissions in your public_html if you are having issues.

Be sure to run this script from your home directory.

  1. after you have logged in, enter "cd" and you will be in your home directory
  2. copy and past the following code into a file with a .sh extension
    #!/bin/bash
    find public_html/ -type d -exec chmod 711 {} + 
    find public_html/ -type f -exec chmod 644 {} +
  3. change the protection of your file to 755
    chmod 755 yourfilename.sh
  4. run the file by entering
    ./yourfilename.sh


Introduction to Assignment No. 5

JSON format (see listing)

JSON processing code (see listing)

Solving the dropcaps problem (see listing)

See the excellent posts on Piazza from last year related to creating JSON (please, not “jason”) files and one by Curran re Common Errors to Avoid



This is document http://jesseheines.com:8080/~heines/91.461/91.461-2015-16f/461-lecs/lecture08.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.