CIT 21500
Web Programming
Course Instructional Objectives
Web Programming
Course Instructional Objectives
Introduction to JavaScript
- Explain the use of HTML tags and attributes
- Differentiate between Java, JavaScript and VBScript
- 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
Form Validation, Pop-up Windows and Scrolling Message
- Describe the If statement
- Define conditionals
- Discuss the conditional operands
- Define recursion
- Describe the focus() method
- Validate data entry using a nested If ... Else statement
- Describe the parseInt(), parseFlost(), and isNaN() built-in functions
- Describe the math pow() method
- Discuss the For and While loops
- Use the open() method to display a pop-up window
Image and Form Objects
- Create an image object
- Define an array
- Describe how to create an array instance
- Describe the Switch statement
- Discuss the getMonth() and getTime() methods
- Describe the mouse events such as onmouseover
- Use mouse events to change images dynamically
- Describe the onchange event
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
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
JavaScript Magic 8-ball
- Create a Magic 8-ball using JavaScript
- Use random function to select answers for the user of your Magic 8-ball from a database
- Be able to add new answers to the database
- Explain JavaScript and standard HTML pages to form a complete application
PHP Magic 8 Ball
- Create a Magic 8 Ball using PHP
- Use random function to select answers for the user of your Magic 8 Ball from a database
- Be able to add new answers to the database
- Explain how PHP can be mixed with client-side JavaScript and standard HTML pages to form a complete application