|
Standard |
Posted: 09/10/07
|
R State Standard |
£ Institutionally Developed |
College: n/a |
CIS 2261
– JavaScript Fundamentals
JavaScript Fundamentals teaches
developers how to use the features of the JavaScript language. Students learn how to write JavaScript
programs that can be plugged into Web pages or customized, and examine advanced
issues such as debugging techniques and JavaScript security. Topics include introduction to JavaScript,
working with variables and data, functions, methods, and events, developing
interactive forms, controlling program flow, JavaScript object model,
JavaScript Language objects, cookies and JavaScript security, controlling
frames in JavaScript, client-side JavaScript, and custom JavaScript options
|
Competency
Areas: |
Hours: |
|
|
Introduction to JavaScript |
Class |
3 |
|
Working with variables and data |
D. Lab |
2 |
|
Functions, methods, and events |
P.
Lab/O.B.I. |
0 |
|
Developing interactive forms |
Credit |
4 |
|
Controlling program flow |
|
|
|
JavaScript object model |
|
|
|
JavaScript Language objects |
|
|
|
Cookies and JavaScript Security |
|
|
|
Controlling frames in JavaScript |
|
|
|
Client-side JavaScript |
|
|
|
Custom JavaScript options |
|
|
|
Prerequisite:
CIS 105, (CIS 2202 or 2201 or CIS 2200 |
|
Corequisite: CIS 2105 |
|
Course Guide |
|
Competency |
After completing this section,
the student will: |
Hours |
||
|
Class |
D. Lab
|
P. Lab/ O.B.I. |
||
INTRODUCTION
TO JAVASCRIPT
|
3 |
2
|
0 |
|
|
|
Origins
of JavaScript |
|
|
|
|
|
JavaScript
Characteristics |
|
|
|
|
|
Common
Programming Concepts |
|
|
|
|
|
Java and
JavaScript |
|
|
|
|
|
Sever-side
vs. Client-side Applications |
|
|
|
|
|
Annotating
Your Code with Comments |
|
|
|
|
WORKING WITH VARIABLES AND DATA |
3 |
3
|
0 |
|
|
|
Communicating
with the User |
|
|
|
|
|
Using
Data More Than Once: Variables |
|
|
|
|
|
JavaScript
Reserved and Keywords |
|
|
|
|
|
Expressions
and Operators |
|
|
|
|
|
Inline
Scripting, Simple User Events, and the onLoad
and onUnload Event Handlers |
|
|
|
|
FUNCTIONS, METHODS, AND EVENTS |
3 |
2
|
0 |
|
|
Methods
as Functions |
|
|
|
|
|
|
Conditional
Operators |
|
|
|
|
Defining
and Calling a Function |
|
|
|
|
|
|
The confirm
() Method and Forms |
|
|
|
|
|
User
Events and JavaScript Event Handlers |
|
|
|
|
DEVELOPING INTERACTIVE FORMS |
3 |
2
|
0 |
|
|
Form Controls |
|
|
|
|
|
|
Referring
to form Objects |
|
|
|
|
|
The button,
checkbox, text, textarea, radio button, and select
Objects |
|
|
|
|
CONTROLLING PROGRAM FLOW |
2 |
1
|
0 |
|
|
The if...else,
while, for, break, and continue Statements |
|
|
|
|
|
|
The
Modules Operator |
|
|
|
|
|
Using continue
in a while |
|
|
|
|
|
The switch
Statement |
|
|
|
|
|
The do...while
Statement |
|
|
|
|
JAVASCRIPT OBJECT MODEL |
2 |
1
|
0 |
|
|
|
JavaScript
Object Hierarchy Model |
|
|
|
|
|
Commonly
Used Objects |
|
|
|
|
|
The
window, document, history, and location Objects |
|
|
|
|
JAVASCRIPT LANGUAGE OBJECTS |
2 |
1
|
0 |
|
|
The String,
Array, Date, and Math Objects |
|
|
|
|
|
|
Evaluating
Strings |
|
|
|
|
|
Setting
and Extracting Time Information |
|
|
|
|
COOKIES AND JAVASCRIPT SECURITY |
4 |
3
|
0 |
|
|
What are
Cookies? |
|
|
|
|
|
|
How are Cookies Sent? |
|
|
|
|
|
Who Can
Send Cookies? |
|
|
|
|
|
Storing
Cookies |
|
|
|
|
|
Why Use
Cookies? |
|
|
|
|
|
Assigning a Cookie |
|
|
|
|
|
Testing
for Cookie Presence |
|
|
|
|
|
Clearing
a Cookie |
|
|
|
|
|
Controlling
Cookies in the Browser |
|
|
|
|
|
Cookies
and Passwords |
|
|
|
|
JavaScript
Security Issues |
|
|
|
|
|
CONTROLLING FRAMES IN JAVASCRIPT |
3 |
2
|
0 |
|
|
Understanding
Frames and Targets |
|
|
|
|
|
|
Targeting
Frames in JavaScript |
|
|
|
|
|
Changing
Two or More Frames |
|
|
|
|
|
Frames
and Variables |
|
|
|
|
|
Targeting
Windows |
|
|
|
|
|
Targeting
the Opener Window |
|
|
|
|
CLIENT-SIDE JAVASCRIPT |
2 |
1
|
0 |
|
|
Image
Maps |
|
|
|
|
|
|
Defining
the Image Map |
|
|
|
|
|
Adding
Script to an Image Map |
|
|
|
|
|
The navigator
Object |
|
|
|
|
CUSTOM JAVASCRIPT OPTIONS |
3 |
2
|
0 |
|
|
Advantages
of Custom Objects |
|
|
|
|
|
|
Custom
Object Case Study |
|
|
|
|
|
Creating
a JavaScript Object: The Constructor |
|
|
|
|
Creating
an Instance of a Custom Object |
|
|
|
|
|
|
Creating
Object Models |
|
|
|
|
|
Creating
Functions for your Objects |
|
|
|
|
Suggested Resources |
Books:
JavaScript, 3rd Edition, ISBN:
0-619-06333-5, Gosselin, Course Technology
New Perspectives on JavaScript,
Comprehensive, ISBN: 0-619-26797-6, Carey, Canovatchel,
Course Technology