Programming Atlas

Christian Wenz

  • 出版商: O'Reilly Media
  • 出版日期: 2006-10-02
  • 定價: $1,225
  • 售價: 1.6$199
  • 語言: 英文
  • 頁數: 408
  • 裝訂: Paperback
  • ISBN: 0596526725
  • ISBN-13: 9780596526726

立即出貨

買這商品的人也買了...

相關主題

商品描述

Description

Learn how to deliver richer, more interactive web experiences to your users using ASP.NET Atlas, Microsoft's new framework for building Ajax-savvy web sites. Web developers of all persuasions have embraced the Ajax suite of technologies (JavaScript, HTTP, XML and more) as a way to implement pages that are faster, livelier and more desktop-like in their behavior. Now Atlas brings the power of Ajax to ASP.NET 2.0 developers with controls, script libraries and server support that delivers engaging results without the pain that writing complex JavaScript can entail. Better yet, Atlas web pages are standards based and even run cross-browser.

Programming Atlas is not just another "drag and drop" ASP.NET 2.0 book, but dives into the technologies that make it work. You'll begin with a tour of the technologies most often associated with Ajax, from JavaScript and XMLHttpRequest to JSON and the DOM. With the fundamentals in place, author JavaScript expert Christian Wenz unpacks the Atlas framework and shows you how to put its tools to work. You'll learn to:

  • Understand the architecture of Atlas and the role played by server conrols, such as ScriptManager and UpdatePanel
  • Use core Atlas controls and extenders to build more interactive pages with text fields that autocomplete, user input that is validated, controls that can be dragged and dropped, and much more
  • Bind, display, and update data without causing the entire page to refresh and use the Atlas web services bridge to consume third-party services beyond the domain of your application
  • Incorporate Microsoft Virtual Earth into an application, use Atlas with Web Parts, and create a Windows Live Gadget
  • Use Atlas with PHP and explore other non-Microsoft Ajax tools for ASP.NET


 

Table of Contents

Foreword

Preface

1. Atlas, Ajax, and ASP.NET

     Atlas and Ajax

     Atlas and ASP.NET

     Atlas and Future Development

     Atlas Prerequisites and Installation

     Atlas Structure and Architecture

     A First Atlas Example: Hello User

     The ScriptManager Control

     Summary

     For Further Reading

2. JavaScript

     The JavaScript Language

     Object-Oriented Programming (OOP)

     Accessing Page Elements

     DOM Methods

     Summary

     For Further Reading

3. Ajax

     The XMLHttpRequest Object

     The XMLDocument Object

     JSON

     Summary

     For Further Reading

4. Controls

     Introducing Atlas Client Controls

     Using Atlas Controls

     Handling Control Events

     Summary

     For Further Reading

5. Data Binding and Validation

     Data Binding

     Data Validation

     Summary

     For Further Reading

6. Components and Behaviors

     Using Behaviors

     Using Components

     Summary

     For Further Reading

7. Animations

     Using Animations

     Using an Animation to Create a Fade Effect

     Summary

     For Further Reading

8. Client Script Library

     Atlas OOP Features for JavaScript

     Client-Side Versions of .NET Classes

     Summary

     For Further Reading

9. Using Server Data

     Using a ListView Control

     Creating a Custom Data Source

     Summary

10. Web Services

     Error Handling

     Inline Web Service Methods

     Maintaining Session State

     Consuming External Web Services

     Summary

     For Further Reading

11. Extending Controls

     Adding Drag and Drop to a Control

     Adding Autocomplete to a Control

     Making a Page Region Updateable

     Summary

     For Further Reading

12. Virtual Earth

     Displaying a Map

     Adding Pushpins with Pop-Ups to a Map

     Summary

     For Further Reading

13. Web Parts and Gadgets

     Using Atlas with ASP.NET Web Parts

     Creating Windows Live Gadgets with Atlas

     Summary

     For Further Reading

14. Atlas Control Toolkit

     Installing the Toolkit

     Using the Toolkit

     Writing Custom Controls

     Summary

     For Further Reading

15. Using Atlas with Other Server Technologies

     Using Atlas with PHP

     Summary

     For Further Reading

16. Other Ajax Tools

     Client Callbacks

     Ajax.NET

     Pure JavaScript

     Consuming Web Services with JavaScript

     Summary

     For Further Reading

A. XMLHttpRequest Reference

B. DOM Reference

C. Atlas Reference

D. ScriptManager and UpdatePanel Declarative Reference

Index