Search
IUPUI School of Engineering and Technology

IUPUI School of Engineering and Technology

Web Programming

CIT 21500 / 3 Cr. (3 Class)

This course will provide students with the knowledge and techniques of a variety of Web programming languages. Both client and server side languages will be examined.

Software
  • PHP
  • JavaScript
Outcomes

Course Outcomes (What are these?)

  • Develop working knowledge of JavaScript and PHP (CIT c)
  • Explain available benefits and limitations of popular web-based application frameworks (CIT b, j)
  • Recognize, consider and adapt to web-specific factors for software development, such as download time, connectivity, audience, and browser compatibility (CIT g, m)
  • Research and select the best framework, toolset or design pattern to address a specific problem (CIT i, m)
  • Design and implement moderately complex web-based applications (CIT c, j)

CIT Student Outcomes (What are these?)

(b) An ability to analyze a problem, and identify and define the computing requirements appropriate to its solution.

(c) An ability to design, implement, and evaluate a computer-based system, process, component, or program to meet desired needs.

(g) An ability to analyze the local and global impact of computing on individuals, organizations, and society.

(i) An ability to use current techniques, skills, and tools necessary for computing practice.

(j) An ability to use and apply current technical concepts and practices in the core information technologies.

(m) An understanding of best practices and standards and their application.

Topics
  • Introduction to JavaScript
  • Integrating JavaScript with HTML
  • Working with the Document Object Model
  • Form Validation
  • Getting Started with PHP
  • PHP Programming Concepts
  • Using PHP Programming Concepts
  • Object-Oriented PHP
  • Database-Driven PHP Applications
Principles of Undergraduate Learning (PULs)

1b. Identify and propose solutions for problems using quantitative tools and reasoning.

1c. Make effective use of information resources and technology.

3. Integration and Application of Knowledge

4. Intellectual Depth, Breadth, and Adaptiveness

What You Will Learn

Introduction to JavaScript

  • Explain the use of HTML tags and attributes
  • Differentiate between JavaScript and other web programming languages
  • Discuss the rules for naming variables
  • Discuss and differentiate variables, literals, special codes and operators
  • Differentiate string, numeric and Boolean JavaScript variable types
  • Discuss the advantages and disadvantages of using JavaScript
  • Define expression and explain arithmetic operators
  • Define objects, properties, methods and events

Integrating JavaScript with HTML

  • Discuss how to integrate JavaScript and HTML
  • Insert SCRIPT tags on a Web page
  • Set the background color of a Web page using JavaScript
  • Discuss JavaScript variables
  • Extract the system date using JavaScript
  • Use several variables to construct a message
  • Describe the write() method of the document object
  • Write a user-defined function in JavaScript Describe how the setTimeout() method works
  • Describe the function of the lastModified property of the document object

Working with the Document Object Model

  • Accessing and manipulating HTML elements
  • Using event handlers to trigger JavaScript functions

Image and Form Objects

  • Use event handlers and JavaScript functions to evaluate form fields
  • Prevent or allow form submission based on custom criteria

Getting Started with PHP

  • Create a small PHP example
  • Execute an PHP file by calling it from a browser
  • Explain Web servers you can use PHP with
  • Establish a new Web site
  • Setting your favorite scripting language
  • Including reusable code blocks
  • Getting up to speed with PHP

PHP Programming Concepts

  • PHP syntax
  • Formatting of locale-specific data
  • Handling of buffered output
  • How to redirect the user to another file
  • Retrieving environment variables and HTTP headers
  • Creating, sending, and processing Web forms
  • Validating numeric data and dates
  • Create an account on a free PHP hosting site

Using PHP Components

  • Explain how custom components can be used to extend the functionality of PHP
  • Why to use components
  • How to create instances of objects
  • Scoping objects
  • Working with PHP's dictionary object
  • Creating an ODBC data source
  • Executing a SQL statement and handling a resulting recordset

Object-Oriented PHP

  • Create PHP classes with properties and methods
  • Derive objects from PHP classes using initializers/constructors
  • Secure object properties with getter and setter methods
  • Discuss inheritance and sub/superclass relationships
  • Create an abstract superclass

Data-Driven PHP Pages

  • Open a recordset
  • Use a graphical tool to build a query
  • Preparing recordset options
  • Retrieve data from multiple recordsets
  • Add records to a database
  • Read and write large text and large binary data fields
  • Update data in a database
  • Delete records from a database
  • Explain the concept that database access is at the heart of nearly every dynamic site on the Web