Course resources
Use Right-click > Save As... to get files
- HTML template file
- HTML form example - input some data and return a rectangle
- Class 2 JavaScript examples
- List of JavaScript Events A list of actions you can use to trigger a JS response
- Another JavaScript Events Reference
- Changing Style with JavaScript W3 Schools list of Style attributes
- Class 3 Sinatra examples Two well commented examples: a 2-route form that takes your name and styles it, and 3-route grocery calculator that checks the total against a budget. See them in action here
- A simple online sinatra tutorial
- Rectangles with DataMapper a full DataMapper example, including how to update and delete entries.
- Monty Hall in-class example create 4 options, set one as the winner
- Employee Directory DataMapper in-class example create and style a company directory
- Storing/Retrieving Data from Processing using loadStrings() to submit a "get" request and send/receive data to/from a URL
- Card Game - in-class example generating 52 cards, using the dice game framework to draw a random one and compare it.
- Library with Views - in class example
- Basic Sessions Example - One book per user example from in class
- Library example