Learn your way! Get started

JavaScript, Part 4 of 6: Object Constructors

with expert Don Kiely


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 6/28/2012
Level Beginner
Runtime 0h 53m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

JavaScript is the programming language of the World Wide Web, the code that makes a Web page come alive. This course is focused on working with Constructors, Literals and Prototypes of Objects.

Prerequisites

This course assumes that you have at least some programming experience in one or more modern programming languages. JavaScript will be particularly easy for you to learn if you have experience with any C-style languages—including Java, C#, C++, or Visual Basic .NET would be helpful—but this is not required. The focus here is not on programming concepts but on the structure, syntax, and use of the JavaScript language.

Learning Paths

This course will help you prepare for the following certifications and exams:
MCSD: SharePoint Applications
MCSD: Web Applications
70-480: Programming in HTML5 with JavaScript and CSS3

This course is part of the following LearnNowOnline SuccessPaths™:
Web Development Fundamentals

Meet the expert

Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

Course outline



Objects Constructors

Using the Object Constructor (15:41)
  • Introduction (00:50)
  • Intro to Object-Oriented JS (01:50)
  • Creating JS Objects (01:37)
  • Using the Object Constructor (00:49)
  • Demo: Object Constructor (01:32)
  • Demo: Objects Defined Method (03:13)
  • Demo: None Standard API (00:45)
  • Demo: Read Only Properties (00:54)
  • Demo: Define Methods (01:43)
  • Demo: Exercise Object (01:58)
  • Summary (00:24)
Using an Object Literal (13:52)
  • Introduction (00:37)
  • Using an Object Literal (01:04)
  • Demo: Object Literal (03:05)
  • Hierarchy with Prototypes (00:27)
  • Demo: Prototypes (03:28)
  • Demo: Customer Object (00:55)
  • Demo: Corporate Object (01:55)
  • Object Identity (00:29)
  • Demo: IsPrototypeOf Method (01:13)
  • Summary (00:34)
Custom Object Constructors (23:41)
  • Introduction (01:00)
  • Custom Object Constructors (01:02)
  • Demo: Custom Constructors (03:43)
  • Demo: Customer Prototype (01:34)
  • Demo: Adding Methods (02:32)
  • Demo: Using Constructor (00:58)
  • Demo: Customer Object (02:00)
  • New Constructor Prototype (00:44)
  • Demo: Constructor Prototype (01:16)
  • Demo: Object Literal (01:42)
  • Changing the Prototype (00:44)
  • Demo: Changing the Prototype (04:12)
  • Identity with Constructors (01:08)
  • Demo: Identity (00:26)
  • Summary (00:33)