Intermediate JavaScript Language Skills and Coding Practices

161 Ratings

Course Number: SCRPT-101
Duration: 3 days (19.5 hours)
Format: Live, hands-on

Intermediate JavaScript Training Overview

Accelebrate's Intermediate JavaScript Language Skills and Coding Practices training class is a hands-on course that teaches attendees how to use JavaScript language skills such as regular expressions, closures and Ajax, and how to write fast-executing code that conforms to established best practices.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Use regular expressions to validate data
  • Implement structured exception handling
  • Manipulate Document Object Model (DOM) elements
  • Manage Ajax requests
  • Create custom JavaScript object classes
  • Use advanced JavaScript techniques such as closures
  • Write JavaScript code using established coding standards and best practices

Prerequisites

All attendees must have prior HTML, CSS, and JavaScript development experience.

Outline

Expand All | Collapse All

Introduction
Quick JavaScript Recap
  • Variables and Data Types
  • Intrinsic JavaScript Objects (String, Array, Date, Math)
  • Functions
  • Conditional and Iterative Logic
Regular Expressions
  • The Building Blocks of Regular Expressions
  • Implementing Regular Expressions in JavaScript
  • Regular Expression Object Methods
  • String Methods That Accept Regular Expressions
  • Backreferences
  • Data Validation
Structured Exception Handling
  • Using try/catch
  • Throwing Your Own Exceptions
  • Using finally
Event-Driven JavaScript
  • Tag-Based and Code-Based Event Handlers
  • Setting Up Event Listeners
  • Writing Event Callback Functions
The Document Object Model
  • The Legacy DOM
  • The W3C DOM Standard
  • Traversing the DOM Tree
  • Manipulating DOM Elements
Ajax Development
  • Creating the XMLHttpRequest Object
  • Managing Ajax Requests
    • HTML Response
    • XML Response
    • JSON Response
Object-Oriented JavaScript
  • Creating a Plain JavaScript Object
  • Creating an Object Class
  • Using the prototype of the Class Constructor
  • Extending Native JavaScript Objects
A Closer Look at JavaScript Functions
  • Functions with a Flexible Number of Arguments
  • Anonymous Functions
  • Passing Functions to Other Functions and Function Instance Methods
  • Closures
Production-Grade JavaScript
  • Where to Put JavaScript Code
  • Minifiying and Compressing .js Files
  • Debugging JavaScript
  • JavaScript Unit Testing Using QUnit
JavaScript Best Practices
  • Unobtrusive JavaScript
  • Separating Page Structure and Logic
  • Progressive Enhancement via Feature Detection
  • Coding Standards (Crockford/Yahoo)
Survey of JavaScript Frameworks - time permitting, the course will cover basic aspects of whichever JavaScript framework your organization uses; typically one of the following:
  • jQuery/jQuery UI
  • Yahoo User Interface
  • Prototype/script.aculo.us
  • Ext JS
  • Moo Tools
  • Dojo
Conclusion

Training Materials

All Intermediate JavaScript training students receive a related textbook. 

Software Requirements

  • Web or text editor of your choice
  • Web browsers - a recent version of one or more of the following:
    • Google Chrome
    • Mozilla Firefox
    • Microsoft Edge
    • Safari


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan