CS 315 Exam Two Terms and Concepts
Previous material
Don't forget the basics of what you learned for the last test. So,
remember things like HTML5, CSS, and PHP.
Basic Javascript
- Be able to write basic Javascript code.
- Understand Javascript's object model and how it is different
from standard object-oriented programming models.
- Know how to use alert, confirm and prompt for simple pop-up
interactions with the user.
- Know how to create and modify objects.
- Be able to do simple things with arrays.
- Know how to define and invoke functions, including simple
parameter passing.
- Know how to specify patterns as regular expressions, including
knowing the constructs discussed in the text. (There will
definitely be questions about this stuff, similar to your fourth
homework.)
Javascript and the DOM
- Understand the basics of the Document Object Model (DOM).
- Understand how getElementById is used to find elements using
id attributes.
- Know the basics of the DOM 0 event model.
- Know how to write event handlers and the standard way we
discussed in class of associating an event handler with an event
in DOM in an unobtrusive way (the registration process).
- The form validation example from class
combines a lot of these ideas at a level I expect you to be able to
reproduce.
- Understand the ideas of unobtrusive Javascript and how
to put them into practice.
Javascript Positioning and AJAX
- Element positioning: absolute vs. relative vs. static
- Moving elements by changing the top and left properties
- Controlling visibility
- Changing style attributes of DOM objects
- Be familiar with the basic ideas of AJAX and how they can be
used to update pages without reloading. You do not need to
worry about the details of AJAX Javascript syntax, but you should
be familiar with the main concepts.
Servers and Security
- Know what a web server is and, in a general way, what web
server software is
- Understand web security issues as discussed in class
- Know what buffer overflow is and why it is a problem
- Understand the basics of public key
cryptography
- Know what certificates are and how they can be used
to set up a secure connection between a browser and a web
server using SSL
- Understand some simple ways to clean up input from forms
and why it is important to do so
Relational Databases
- Understand what a relational database is.
- Understand why relational databases are so useful in concert
with web pages.
- Understand in a general way how to use PHP to insert
and select elements in MySQL databases.
- Know how to encode simple insert and select commands in SQL.
Nothing too complicated. No joins required.