Course Synopsis: This class provides you with the concepts and skills to use
even more features of JavaScript. You get hands-on practice working with more advanced coding techniques such as custom objects, arrays, and applets.
Who Should Attend: Those wishing to enhance their skills in JavaScript in order to
add functionality to Websites, as well as to learn ways to relate JavaScript to other applications.
Prerequisites: HTML Prep Series or equivalent knowledge, JavaScript
Fundamentals or equivalent knowledge, fundamentals of event-driven programming.
While we will make every reasonable effort to help, students with insufficient skills
may be required to observe the class lessons or do their best to keep up without slowing down the rest of the class.
What You Will Learn:
• Debugging JavaScript Code
• Using Custom Error Handlers
• Multiple Browser Support
• Dealing With Non-Scriptable Browsers
• Arrays
• Cookie Objects
• Communicating With Java Applets
• Communicating With ActiveX
• Communicating With Server Applications
Time: Class time is 9:00 a.m.- 4:00 p.m. Breaks are scheduled throughout the day and lunch is typically scheduled 12-1. Students provide their own lunch.
Locations: We have company-operated facilities in Atlanta, Chicago, Denver, San Diego and Washington DC. We also work with a network of rental facilities to offer our classes regularly across the United States and in Canada. Please double-check the location of your class with our office to make sure you get to the right location.
Related Courses: We recommend the following courses that relate to this
class: Foundations of HTML and JavaScript Programming Fundamentals. Please take a look at our other course outlines.
Goals: Sterling Ledet and Associates realizes the importance of education and we take pride in being able to offer you classes that are more custom fit to your needs. Call us at (770) 414-5007 if you have any special questions or e-mail us at sales@ledet.com.
Registration: Please fill out our registration form and fax it to us at (312) 896-9094. |
LESSON 1
Toward Ease of Maintenance
• Considering ways to make code more
maintainable
• Revising code to make it easier to maintain
• Script libraries
• Identifying functions to move into a .JS file
• Moving functions into a .JS file
• Checking your skills
• Developing a style
• Use of white space
• Naming conventions
• Use variables to hold long references
• Comments
• Where to locate scripts and code elements
• Use a JavaScript-Smart editor
LESSON 2
Debugging JavaScript Code
• Error messages
• Identifying errors
• Types of errors
• Getting out of an endless loop
• Bench-testing
• Examining three types of errors
• Variable watches and breakpoints
• Examining a debug utility
• Common errors
• Identifying other common errors
• Correcting errors
• The ‘one step at a time’ and ‘first things first’ techniques
• Make backups
• Make sure you’re fixing the right file
• Testing on multiple browsers
LESSON 3
Supporting Multiple Browsers
• The minimalist approach
• The be all things to all people approach
• Browser detection
• Object detection
• The fix it when it breaks approach
• The let them eat cake approach
LESSON 4
Dealing with Browsers that Do Not
Support JavaScript
• Hiding JavaScript from non-scriptable browsers
• Hiding HTML from scriptable browsers
• The <NOSCRIPT> tag
• Using JavaScript to move to a new page
• Examining a JavaScript forwarding page
LESSON 5
Detecting Browser and JavaScript Versions
• Examining a version-detecting page
• Detecting the JavaScript version
• Browser detection
• Forwarding a page
• Other issues
• Apply your knowledge
• Object detection
LESSON 6
Custom Error Handlers
• Custom Objects
LESSON 7
Introduction to Objects
• Properties
• Methods
• Events
• Creating a simple custom object
• Types of data that custom properties can
contain
• Using the object() constructor to create an
object
LESSON 8
Constructor Functions
• Creating an object by using a constructor
function
LESSON 9
Methods
Adding methods to objects
LESSON 10
Introduction to Arrays
• Why arrays are useful
• Working with arrays
• Creating and populating arrays
• Changing the size of arrays
• Multi-dimensional arrays
• Identifying uses for arrays
Course Outline Advanced JavaScript Programming
LESSON 11
Creating and Populating Arrays
• Using objects to stimulate arrays
• Examining an object that simulates an array
• Using the array() constructor to create arrays
• Examining the array constructor
• Using strings to index an array
• Populating arrays as you create them
• Array literals
• Examining an array that is populated upon
creation
LESSON 12
Deleting Array Elements
• Adding a method to prune elements from an array
• Destroying an entire array
|
LESSON 13
Multi-Dimensional Arrays
• Parallel arrays
• Examining parallel arrays
• Nested arrays
• Examining nested arrays
• Examining and extending a matrix object
LESSON 14
Introduction to the Cookie Object
• Experimenting with the lifetime of variables
• Examining a cookie-based shopping cart
• Other practical uses for cookies
• Limitations
LESSON 15
Storing Cookies
• Using the escape() function to encode cookie values
• Assigning cookies an expiration date
• Assigning a path and domain
• The domain field
• The path field
• The secure field
• An example function that stores a value in a cookie
• Examining a cookie-writing function
LESSON 16
Reading and Processing Cookie Values
• Dividing up the cookie string
• The split() method
• The indexOf(), Substring(), and Length()
methods
• Reading a specific cookie
• Storing multiple items in a single cookie
• Examining cookie-reading functions
LESSON 17
Deleting Cookies
• Examining a cookie-deleting function
• Storing a user name in a cookie
LESSON 18
Communicating with Java Applets
• Examining a Java applet
• Setting applet parameters through
applet and param
• Providing interactivity between
an applet and JavaScript
LESSON 19
Communicating with Director Shockwave Movies
• Examining a Shockwave movie
• Sending external parameters through embed and object
• Providing interactivity between a movie and
JavaScript
• Using Lingo to communicate with the host
page
• Using JavaScript to communicate with the
movie object
• NetLingo
LESSON 20
Communicating with ActiveX
• Examining an ActiveX control
LESSON 21
Communicating with Server Applications
• CGI
• Multi-tiered applications
• Identifying examples of possible server
applications
• Submitting a request to a server application |