Microsoft AJAX Library Essentials: Client-side ASP.NET AJAX 1.0 Explained
www.PACKTPUB.com  FREE ONLINE EDITION: Read full chapters online, download free samples from the book and more...
Book Contents Index > Chapter 3

Preface
1: AJAX and ASP.NET
2: AJAX Foundations
3: Object-Oriented JavaScript
4: Introducing the Microsoft AJAX Library
5: OOP with the Microsoft AJAX Library
6: Creating Client Components
7: Case Study: Timer and EnhancedTextBox
8:
Debugging Tools and Techniques  

Appendix A Microsoft AJAX Library Reference

Index

Free Chapter:
Chapter 3: Object-Oriented JavaScript [4 MB PDF]

Contact us

Chapter 3: Object-Oriented JavaScript

In this chapter, you'll learn about OOP (Object-Oriented Programming) and how it relates to JavaScript. As an ASP.NET developer, you probably have some experience working with objects, and you may even be familiar with concepts such as inheritance. However, unless you're already an experienced JavaScript programmer, you probably aren't familiar with the way JavaScript objects and functions really work. This knowledge is necessary in order to understand how the Microsoft AJAX Library works, and this chapter will teach you the necessary foundations.

Chapter 3: Object-Oriented JavaScript

  • Concepts of Object-Oriented Programming
    • Objects and Classes
    • Encapsulation
    • Inheritance
    • Polymorphism
  • Object-Oriented JavaScript
    • JavaScript Functions
      • Functions as Variables
      • Anonymous Functions
      • Inner Functions and JavaScript Closures
    • JavaScript Classes
      • Class Diagrams
      • C# and JavaScript Classes
      • Referencing External Functions
      • Thinking of Objects as Associative Arrays
      • Creating Object Members on the Fly
      • Private Members
      • Prototypes
    • The JavaScript Execution Context
      • var x, this.x, and x
      • Using the Right Context
    • Inheritance using Closures and Prototypes
      • Inheritance Using Closures
      • Inheritance Using Prototyping
  • Introducing JSON
  • Summary

   

 

Paperback 300 pages
Released: July 2007
ISBN: 1847190987
ISBN 13:
978-1-847190-98-7

     

 




View the book details
on PacktPub.com

 


 
  This website is owned and maintained by Packt Publishing Ltd, 2007. All rights reserved. Terms and Conditions