The lines between web sites and web applications are blurred. Outside of the more classical publishing scenarios (which are discussed in a different course), how do you take your XML data and put it on the web, taking advantage of modern information architecture principles and the capabilities of modern browsers?
The class project will be a web-based information site. We will be supplying computers with software already installed. We’ll start with a simple web-based system, then add features and functionality to it. We’ll be using one of the works of Shakespeare (in XML) as the base.
Faculty members Matt Patterson, Norm Walsh, and Paul Downey teach, as well as Faculty Board member Dr Lauren Wood. Other Faculty members will be available to help with the hands-on part of the classes.
Classes for 2012
The web application will be built in pieces, with progressively more functionality. We’ll talk a little theory, then try it out, then talk again about some more theory. This means the class outlines are a little more fluid than in other courses, as one class will overlap with the next.
We’ll start with the basics — some HTML+CSS, stored on disc. Then we’ll serve the file from a Sinatra web application. This leads into a discussion about the basics of URL design, how to access resources, URL templating, and various helpers that are available to do some of the work. Next, we’ll access XML from the filesystem, extract bits with Nokogiri, apply a stylesheet to them and show how to view the results in our web application.
Finally on Day One we’ll look at adding comments, which will need a database and some data modelling, as well as forms and actions.
On Day Two, we’ll lead off with some of the security considerations. There are common web site attacks that are reasonably easy to defend against and we’ll show you how. We’ll discuss authentication, authorization, and identity, and show how to add a simple sign-on to our application using OAuth2.