Help:COAP-3180
Introduction
Disclaimer: This is a resource page for my Spring 2010 I Web Databases course (COAP 3180) at Webster University, Geneva. This page does neither replace the official syllabus nor the information in the official learning management system (WorldClassroom/Blackboard). It allows students to navigate more efficiently through the materials in this wiki.
The program and materials are provisional and will be adjusted on a weekly basis.
Course level outcomes
At the completion of this course students will be able to:
- Add a Webpage Database to an HTML page
- Manipulate data using SQL operations
- Publish both static and dynamic data on the Web
- Convert text files to XML databases
- Be able to query XML data using XQuery
- Be able to work with relational data as XML
These outcomes defined in the syllabus can be translated to more practical outcomes:
- Use simple Web 2.0 database services and integrate it into a webpage.
- Manipulate data using SQL operations and create simple SQL databases in a DBMS.
- Understand the architecture of a simple web application (HTML client / Web server / Script / Database).
- Be able use a LAMP/WAMP software bundle and to install and to configure web applications, e.g. a CMS. This can evolve into a term project.
- Generate a very simple web application that can connect to a database management system (DBMS) though an ODBC API.
- Understand/recall XML basics, like converting text files and database output to XML, editing an XML file using a schema and displaying XML data.
- Be able to query and update XML data files and XML Databases using XQuery dand XQuery Update.
- Understand the general architecture and purpose of LDAP address and authentication servers and light-weight solutions like OpenID.
Current weekly program
Week 8 - COAP 3180
Term project presentation
(Monday)
- See term project page
Summary
(Monday)
- Final lecture, reminder of the most important subjects addressed etc.
Final exam
- The exam will be a paper exam with MCQ's, open questions, code repair and completion, etc.
- Open book (any resource you like including the Internet)
Main subjects:
(1) High level web application principles
- Simple web application architectures (tiers)
- Kinds of databases
(2) Practical know how
- Using web services to create "mini-databases"
- Using widgets
- Creating simple HTML Web Forms
- Using a WAMP server (Mowes)
- CMS/CMF installation and configuration
- Database administration with PHPMyAdmin
- Simple reuse of PHP code, i.e. you may be asked to change "parameters"
(3) SQL:
- SELECT
- SELECT ... WHERE, INSERT ... ORDER
- Joins (select from two tables)
- CREATE
- Data types: Integer, Float, VarChar, text
- DEFAULT, NOT NULL, Auto increment
- Keys
- Primary keys
- Foreign keys
- INSERT (both forms)
- UPDATE / DELETE
- DROP
(4) Relational database design:
- Simple 2-3 table architectures
- 1 to N and N to N relations between tables
- Be able to read a diagram that summarizes table fields and shows relations (as in the Wordpress installation and configuration example).
(5) XML
- Be able to edit/fix well-formed XML files
- XSLT: Simple use of templates (definition and applying), html page generation
- Simple use of XPath expressions (finding nodes and attributes, extracting text, identifying a position). XPath is used both by XSLT and XQuery.
- XQuery: Simple FLOWR expressions, html page generation
(6) Identity and authentication (high-level principles)
Not included:
- PHP programming, e.g. writing for loops and other algorithms
- XSLT and XQuery functions and other more advanced programming constructs
List of all Coap 3180 pages
Weekly programs
- Help:COAP-3180/week1
- Help:COAP-3180/week2
- Help:COAP-3180/week3
- Help:COAP-3180/week4
- Help:COAP-3180/week5
- Help:COAP-3180/week6
- Help:COAP-3180/week7
- Help:COAP-3180/week8
- Help:COAP-3180/term project
- Help:COAP-3180/template (instructor only)
Most important wiki pages
The COAP 3180 lecture notes page allows you to get the whole lot of wiki pages in a single PDF. Of course, some contents will not be tested in exams. In particular, there will be no PHP and no XML DTD/Schema questions. Mid-term will focus on SQL. The final exam will add XML, XSLT and Xquery plus some minor topics.
The following list may not be complete. Also, some subject require extra reading (see the weekly programs).
- Creating websites with online services
- Using web widgets
- web application
- Portalware
- content management system
- Web application framework
- web hosting service
- Wordpress installation and configuration
- SQL and MySQL tutorial
- XML
- DTD tutorial (understand how to use/read a DTD only)
- XSLT Tutorial - Basics
- XPath tutorial - basics (parts only)
- PHP tutorial - basics (not exam subject)
- PHP-MySQL tutorial -basics (not an exam subject)
- PHP - MySQL - XML tutorial - basics (must be able to use this)
- XQuery tutorial - basics
- digital identity
- OpenID
- i-name
Other teaching resources
- PDF "book" of all major wiki pages above
- webdatabases-intro.pdf (revised version, Monday week 8)
- mysql-intro.pdf but SQL and MySQL tutorial is better reading.
- php-mysql.pdf but PHP tutorial - basics and PHP-MySQL tutorial -basics is better reading (quality for both slides and wiki articles is not great, consider reading one of the tutorials suggested on the week 4 page)
- xslt-basics.pdf. XSLT Tutorial - Basics is better reading.
Most important software
- Some online services like Zoho and Netvibes.
- Modular Webserver System
- A text editor, e.g. Notetab light
- PHP Generator for MySQL (Maestro)