CMPUT 404

Web Applications and Architecture

Part 01: Introduction

Created by
Abram Hindle (abram.hindle@ualberta.ca)
and Hazel Campbell (hazel.campbell@ualberta.ca).
Copyright 2014-2019.

Introduction

What are web applications?

Web Applications

A web application is graphical computer program that the user interacts with in a web browser. They often also have a server-side component that runs on a webserver.

  • gmail
  • Facebook
  • Twitter
  • Discord

Topics Covered in this Course

  • HTTP
  • Web Servers
  • Web Browsers
  • Web Services
  • Dynamic Webpages
  • Web Applications
  • Frameworks
  • TCP/IP
  • DNS
  • HTML
  • XHTML
  • CSS
  • Javascript
  • AJAX/XHR
  • XML
  • JSON
  • Websockets
  • Git/Github
  • Video
  • Audio
  • SVG
  • REST
  • CGI
  • Django
  • Flask
  • Application Web Servers
  • Security
  • Performance
  • Web Mining
  • TLS/HTTPS

Course Goals

  • Learn about the web from a software developer's viewpoint
  • Apply some of what you learned in:
    • 5 Assignments
    • Labs
    • Course Project

Materials

  • eclass
  • git & github
  • Python 3
  • virtualenv
  • Web Browser
  • Code editor or IDE
  • CS Dept lab linux machines
  • Xubuntu VM

Approach

  • I consider this a software engineering class.
  • Thus, we are required to behave ethically as engineers.
  • Be civil, professional, courteous.
  • Help people (students, instructors, TAs) out!

Participation

  • I expect you to attend most classes.
  • I expect you to ask questions in class.
  • I expect you to answer questions in class.
  • Quizzes are your participation/attendance mark.

Quizzes

  • There will be a quiz at the beginning of each class.
  • These act as your participation mark for the course.
  • At most the first five minutes of class.
  • Blank quizzes receive no mark.

Communications

  • E-mail your instructor if you want to speak privately.
  • Publicly: discussion forum
    • Ask assignment/project questions here!
    • This allows everyone to see the benefit, because other students have the same questions.
  • Office hours.

Academic Integrity

  • Course policies and links to the dept/university policies are on the eclass.
  • Using code you found online? Make sure you're allowed to use it and cite it!
  • Write your own code! For assignments you can talk to your fellow students but you must not share code.

License

Copyright 2014 ⓒ Abram Hindle

Copyright 2019 ⓒ Hazel Victoria Campbell and contributors

Creative Commons Licence
The textual components and original images of this slide deck are placed under the Creative Commons is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Other images used under fair use and copyright their copyright holders.

License

The source code to this slide deck is:

          Copyright (C) 2018 Hakim El Hattab, http://hakim.se, and reveal.js contributors
          Copyright (C) 2019 Hazel Victoria Campbell, Abram Hindle and contributors

          Permission is hereby granted, free of charge, to any person obtaining a copy
          of this software and associated documentation files (the "Software"), to deal
          in the Software without restriction, including without limitation the rights
          to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
          copies of the Software, and to permit persons to whom the Software is
          furnished to do so, subject to the following conditions:

          The above copyright notice and this permission notice shall be included in
          all copies or substantial portions of the Software.

          THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
          IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
          FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
          AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
          LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
          OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN