|
Home > Courses
> MA C118
MA C118 Fundamentals
of Web Scripting
CATALOG COURSE DESCRIPTION
This course provides students with an introduction to scripting
languages for use on the World Wide Web. Course content includes a
client-side scripting language and a server-side scripting language.
Students will gain a basic understanding of client/server interaction and
produce simple scripts that enhance interactivity of a site, process form
data, authenticate user login, and much more.
COURSE OBJECTIVES
Upon successful completion of the course, the student will be able to
- compare and contrast benefits and features of client-side and
server-side scripts and identify uses for each.
- identify document objects common to most browsers and describe the
Document Object Model hierarchy.
- understand Javascript syntax and create scripts to control documents,
windows, images, form elements, and calculations.
- understand Perl syntax and create scripts to process form data to a
database, text file, e-mail, or printing to screen.
- create a Perl security script to verify username and password.
- write a Perl script to create cookies.
- create a Perl script to view client/server environmental variables.
- implement Server-Side Includes (SSI) to create simple dynamic content.
- demonstrate leadership and effective communication skills with peers
DETAILED TOPICAL OUTLINE
- Definitions and Role (A)
- Client-side vs. server-side scripting
- Scripting vs. programming
- Browser and server compatibility
- Common Javascript uses
- Common Perl uses
- Javascript: Document Objects (A, B)
- Document Object Model [DOM]
- Document loading
- Object references
- Properties
- Methods
- Event handlers
- Inserting scripts into HTML
- Javascript: Syntax (A, C)
- Variables
- Expressions and evaluation
- Data type conversions
- Operators
- Decisions and loops
- Control structures
- Loops
- Arrays
- Javascript: Window and Document Objects (A, C)
- Window object
- Window properties and methods
- Location object
- History object
- Document object
- Link object
- Javascript: Forms and Form Elements (A, C)
- The form object
- Form controls as objects
- Passing form data and elements to functions
- Submitting and prevalidating forms
- Javascript: Strings, Math, and Dates (A, C)
- Core language objects
- String objects
- The math object
- The date object
- Date calculations
- Javascript: Scripting Frames and Multiple Window (A, C)
- Parent and child frames
- References among family members
- Navigation bars
- Javascript: Images and Dynamic HTML (A, C)
- Rollover, interchangeable, and pre-cached images
- Layers
- Perl: Overview and Syntax (A, D)
- Data
- Filehandlers
- Operators and functions
- Statements, blocks, and scope
- List Values and Arrays
- Testing Perl scripts
- Unary and Binary Operators (A, D, E, F, G, H)
- Terms and list operators
- Autoincrement and autodecrement
- Exponentiation
- Binding operators
- Additive, multiplicative and equality operators
- Relational operators
- Conditional operators
- Logical operators
- Statements and Declarations (A, D, E, F, G, H)
- Simple and compound statements
- If and unless statements
- Loops
- “goto” statements
- Global and scoped declarations
- Pattern Matching (A, D, E, F, G, H)
- Regular Expression
- Pattern-matching operators
- Metacharacters and metasymbols
- Character classes
- Quantifiers
- Positions
- Capturing and clustering
- Alternation
- Subroutines (A, D, E, F, G, H)
- Syntax
- Semantics
- Passing References
- Prototypes
- Data Structures (A, D, E, F, G, H)
- Hashes and arrays
- Saving data structures
- Objects (A, D, E, F, G, H)
- Method invocation
- Object construction
- Class inheritance
- Instance destructors
- Managing instance and class data
- Overloading (A, D, E, F, G, H)
- Overload handlers
- Overloadable operators
- Copy constructor
- Overloading constants
- Inheritance and overloading
- Collaboration (I)
- Types of collaborative groups
- Techniques
- Communication and conflict resolution
- Software and media resources for collaboration
METHODS OF PRESENTATION
Course instructional methods may include but are not limited to
- Lectures
Example: A lecture explains how to use a perl script to process form
data to a database or to send through e-mail.
- Discussion
Example: Students attach practice scripts to weekly discussion posts
and peers help debug problems.
- Critique and Feedback
Example: Feedback is provided when individual assignments are graded
and submitted back to the student.
ASSIGNMENTS AND METHODS OF EVALUATION
Assessment of student performance may include but are not limited to
- Discussion Assignments (A - H )
Example:
- Students attach practice scripts to weekly discussion posts and help
debug other students’ problems.
- Weekly Exercises (A - H )
Example
- Students complete exercises implementing the principles in the
current week’s readings and lecture.
- Projects (A - I )
Examples:
- Students work collaboratively to enhance an existing web site with
Javascript interactivity and Perl scripts to process form data and send
it to a database.
- Final Exam (A - H)
50 questions, multiple choice and short answer.
REQUIRED TEXTS
Reading assignments are required and may include but are not limited to
- JavaScript, Don Gosselin, Course Technology 2nd ed.,
©2001
JavaScript for the World Wide Web, Tom Negrino and Dori Smith, Peachpit
Press 4th ed., ©2001
- Perl Fast & Easy Web Development, Les Bates, Learning
Express, ©2002
- CGI/Perl, Diane Zak, Course Technology, ©2001
-
http://www.echoecho.com/javascript.htm
- http://www.lies.com/begperl/
SUPPLEMENTAL MATERIALS FOR ONLINE STUDENTS
Adobe Photoshop 7 or above
Adobe Illustrator 10 or above
3.3.2004
|
|
|
 |
| |
|
Course at a
Glance |
|
COURSE
NUMBER
MA C118
COURSE TITLE
Fundamentals of Web Scripting UNITS
3 TOTAL HOURS
36 lecture/54 lab
TRANSFERABILITY
A/CSU
ADVISORY
MA C101 and CSCI C251 are strongly advised.
REPEATABILITY
none |
|
NOTICE
The course outlines contained in this site are representative of the content
taught in each course. Individual instructor outlines may vary.
Textbooks listed on this page are subject to change.
Please check with the instructor or with the college
BookNook for up-to-date
information about current textbooks used. |
|
|