Book Details

ISBN 139781847190987

Paperback300 pages

Book Description

Microsoft AJAX Library Essentials is a practical reference for the client-side library of the ASP.NET AJAX Framework 1.0, and a tutorial for the underlying technologies and techniques required to use the library at its full potential. The main goal of this book is to get you comfortable with the Microsoft AJAX Library, a huge set of functions that can be used for developing powerful client-side functionality.

Beginning with a hands-on tour of the basic technologies associated with AJAX, JavaScript, XMLHttpRequest, JSON, and the DOM, you'll move on to a crash course in the Microsoft AJAX tools. You will learn, through numerous step-by-step exercises, how to create basic AJAX applications, how the object-based programming model of JavaScript works, and how Microsoft AJAX Library extends this model. You'll understand the architecture of the Microsoft AJAX components, how they all fit together, and exactly what they can do for you. Then you will learn how to use the Microsoft AJAX Library in your web projects, and a detailed case study will walk you through creating your own customized client components.

At every stage of your journey, you'll be able to try out examples to illuminate the theory, and consolidate your understanding. In addition to learning about the client and server controls, you'll also see how to handle errors and debug your AJAX applications.

To complement your new found skills, the book ends with a visual reference of the Microsoft AJAX Library namespaces and classes, including diagrams and quick explanations for all the classes mentioned in the book, providing an invaluable reference you will turn to again and again.

Table of Contents

Chapter 1: AJAX and ASP.NET

The Big Picture

Building Websites Since 1990

The World of AJAX

Setting Up Your Environment

Hello World!

Summary

Chapter 2: AJAX Foundations

JavaScript and the Document Object Model

JavaScript Events and the DOM

Even More DOM

JavaScript, DOM, and CSS

The XMLHttpRequest Object

Summary

Chapter 3: Object-Oriented JavaScript

Concepts of Object-Oriented Programming

Object-Oriented JavaScript

Introducing JSON

Summary

Chapter 4: Introducing the Microsoft AJAX Library

Microsoft AJAX Library Components

Asynchronous Communication

Working with WebRequest

More WebRequests

Summary

Chapter 5: OOP with the Microsoft AJAX Library

The New Features

JavaScript Base Classes Extensions

Classes in Microsoft AJAX Library

Summary

Chapter 6: Creating Client Components

DOM Elements and Events

Components, Behaviors, and Controls

Summary

Chapter 7: Case Study: Timer and EnhancedTextBox

The Timer Component

The EnhancedTextBox Behavior

Creating Timer and EnhancedTextBox

Using the Components

Summary

Chapter 8: Debugging Tools and Techniques

AJAX Debugging Overview

Debugging and Tracing with Microsoft AJAX Library

Debugging in Internet Explorer

Debugging in Firefox

Fiddler

Testing

Summary

What You Will Learn

This book teaches you, through step-by-step exercises, the following essential topics:

How to create basic AJAX applications using JavaScript, CSS, DOM, and the XMLHttpRequest object.

Understand the object-oriented model of JavaScript.

Learn what the Microsoft AJAX Library is made of.

Understand how the Microsoft AJAX Library extends the object-oriented capabilities of JavaScript by adding support for namespaces, interfaces, events, properties, and an improved set of base classes.

Create client components, controls and behaviors, by extending existing elements of the page, registering events, and utilizing the page life cycle.

Go through a case study that demonstrates the theory you learned throughout the book.

Authors

Bogdan Brinzarea

Bogdan has a strong background in Computer Science holding a Master and Bachelor Degree at the Automatic Control and Computers Faculty of the Politehnica University of Bucharest, Romania and also an Auditor diploma at the Computer Science department at Ecole Polytechnique, Paris, France.

His main interests cover a wide area from embedded programming, distributed and mobile computing and new web technologies. Currently, he is employed as an Alternative Channels Specialist at Banca Romaneasca, Member of National Bank of Greece where he is responsible for the Internet Banking project and coordinates other projects related to security applications and new technologies to be implemented in the banking area.

Cristian Darie

Cristian Darie is an eCommerce technology specialist and entrepreneur, and co-founder and CEO of Pleisty, a marketing automation and personalization tool for eCommerce. If you want to say hi, you can get in touch here.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.