JavaScriptOur JavaScript course is aimed at anyone needing to work with client side web programming and the ability to write scripts which will work in main stream web browsers. The course starts with the basics of what JavaScript is intended to do, working through simple scripts to working with Style Sheets to perform functions such as dynamic menus, and moving images. The user will also grasp an understanding of Object Oriented Programming and apply it to the JavaScript environment ON COMPLETION
WHO SHOULD ATTEND? The course is aimed at those intending to write client side applications for the web which will work successfully in Netscape and Internet Explorer. Those wanting to add dynamic content to their site, or write complex pattern matches for submission forms before the data is sent to the server. You should be familiar with HTML and either Unix and/or Microsoft Windows and have knowledge of a web browser. COURSE WORK The course work is based around a 50/50 approach to lecture and hands on giving the attendee the chance to really work with the system and see its potential. The practical work is based around real life scenarios as much as possible and is intended to make the delegate feel more at easy with working on the system and boost their confidence about working in this environment. PRE-REQUISITS A knowledge of HTML is a requirement for this course and the ability to work with either Netscape Navigator or Internet Explorer for browsing. No prior programming experience required, although it may be an advantage, even if it is Basic. DURATION: 4 DAYS PRICE: Call for latest 1st Day: Start 9:30am - Finish 5:00pm |
COURSE CONTENT Introduction What the course covers, documentation, resources and books. What is JavaScript? Identify what JavaScript is, how it works, where it fits in the web model, versions and some examples. Getting Started Layout of a JavaScript, tags, when a script executes, writing a simple script, the navigator object, alert(). Variables, Data Types, Expressions Describe the various data types, create and use variables, working with variables, naming variables, interpolation, operators, precedence, conversion and functions. Document Object Model Describe the DOM, its layout, objects, properties and methods, Dates and Math object, HTML events. Decisions What are decisions, using if, switch, while, for, leaving loops early, introduction to functions. Arrays Basics of arrays, types, usage, methods for arrays, sorting. Functions & Objects Recap functions, using the DOM, pass by value, return values, with(), variable scope, creating objects, working with classes and objects, inheriting. Pattern Matching Defining patterns, search text strings, understanding the special characters, creating regular expressions. Windows and Frames Using multiple windows, understanding window components, working with frames, problems with multiple windows and frames, window relationships and communication, interval timers. Advanced Forms Identifying form elements, working with form elements and naming, where and when to use them, onSubmit. Cookies What are they, their use, create/update/delete, risks. Style Sheets Describe the components of a style sheet, create style sheet and use them in HTML, working with SPAN and DIV for alignment. Dynamic HTML What is DHTML, working CSS into JavaScript, producing DHTML pages, advantages/disadvantages. Lots of examples and practical questions to give you a chance to try things out. Feel free to bring along your own ideas to try. |