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 serverconrols, 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
Chapter 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
Chapter 2 JavaScript
The JavaScript Language
Object-Oriented Programming (OOP)
Accessing Page Elements
DOM Methods
Summary
For Further Reading
Chapter 3 Ajax
The XMLHttpRequest Object
The XMLDocument Object
JSON
Summary
For Further Reading
Chapter 4 Controls
Introducing Atlas Client Controls
Using Atlas Controls
Handling Control Events
Summary
For Further Reading
Chapter 5 Data Binding and Validation
Data Binding
Data Validation
Summary
For Further Reading
Chapter 6 Components and Behaviors
Using Behaviors
Using Components
Summary
For Further Reading
Chapter 7 Animations
Using Animations
Using an Animation to Create a Fade Effect
Summary
For Further Reading
Chapter 8 Client Script Library
Atlas OOP Features for JavaScript
Client-Side Versions of .NET Classes
Summary
For Further Reading
Chapter 9 Using Server Data
Using a ListView Control
Creating a Custom Data Source
Summary
Chapter 10 Web Services
Error Handling
Inline Web Service Methods
Maintaining Session State
Consuming External Web Services
Summary
For Further Reading
Chapter 11 Extending Controls
Adding Drag and Drop to a Control
Adding Autocomplete to a Control
Making a Page Region Updateable
Summary
For Further Reading
Chapter 12 Virtual Earth
Displaying a Map
Adding Pushpins with Pop-Ups to a Map
Summary
For Further Reading
Chapter 13 Web Parts and Gadgets
Using Atlas with ASP.NET Web Parts
Creating Windows Live Gadgets with Atlas
Summary
For Further Reading
Chapter 14 Atlas Control Toolkit
Installing the Toolkit
Using the Toolkit
Writing Custom Controls
Summary
For Further Reading
Chapter 15 Using Atlas with Other Server Technologies
Using Atlas with PHP
Summary
For Further Reading
Chapter 16 Other Ajax Tools
Client Callbacks
Ajax.NET
Pure JavaScript
Consuming Web Services with JavaScript
Summary
For Further Reading
Appendix XMLHttpRequest Reference
Methods
Properties
Appendix DOM Reference
Generic Methods and Properties
Document Methods and Properties
Appendix Atlas Reference
JavaScript Extensions
Web Controls
Validation Controls
Behaviors
Data Controls
Animations
Virtual Earth Maps
Web Parts
Helper Classes
Appendix ScriptManager and UpdatePanel Declarative Reference
Christian Wenz takes pride in the fact that he has written about using JavaScript to access remote data long before it was named "AJAX" and the whole buzz started. His (German) JavaScript book containing AJAX-related information goes into its 7th edition soon. He is also the author of PHP Phrasebook (Sams Publishing, September 2005) and Professional PHP5 (Wrox) due in 2006, and wrote or co-wrote over four dozen other titles. Christian works with both open source and closed source web technologies. This leads to the unusual situation that he has both been awarded a Microsoft MVP for ASP/ASP.NET and is listed in Zend's Who is Who of PHP. He is also listed in Mozilla's credits (about:credits) and is considered an expert in browser-agnostic JavaScript. Apart from writing and working on web projects, Christian frequently speaks at developer conferences that cover web technologies.
The animal on the cover of Programming Atlas is a black murex snail shell(hexaplex nigritus). The black murex is found off the gulf coast of Californiaand Mexico. As the black murex ages, its shell turns from white to predominatelyblack. However, pure white or black shells are very rare. Mature blackmurexes are about 6 inches (15 cm) long.
Black murex snails are carnivorous gastropods. Their diet is composed ofbivalve mollusks, including oysters, clams, and sea anemone. Gastropodskill their prey by various means, including smothering, tearing, or boringinto the shell by using an acidic mucus to weaken the outside surface.
The murex snail played a crucial role in the culture and trade of the ancientPhoenicians. They crushed the murex in order to extract a purple-red secretionused to dye fabric. It is estimated that some 10,000 snails were neededto dye one toga. As a result, only royalty could afford the precious dye forclothing. When the dye was combined with silk imported from China, thepurple garments were worth more than their weight in gold. Purple has sincebeen equated with royalty, but the red of papal robes and the blue in the flagof Israel are also derivative of murex snail dye.
Author posted a PDF with 1.0 changes; brings book up to date
By Anonymous
from Undisclosed
Comments about oreilly Programming Atlas:
Many people slam this book because the code examples weren't updated yet for the 1.0 release of MS AJAX. But the author did release a PDF with the 1.0 updates. Go to the "Post-purchase benefits" section of the Oreilly book page and click on "Version 1.0 Update".
I understand the author is currently updating the code for the download zip.
12/11/2006
3.0
Examples not longer work
By Joe L
from Undisclosed
Comments about oreilly Programming Atlas:
I bought this book at a place called Half Price Books. No wonder it was 1/2 price. It is already out of date. Also the download examples show three zip files with no help on which ones to download. But it doesn't make any difference as none of the code now works with ASP.NET AJAX (the laster namve for Atlas as of December 2006). Otherwise, there is still interesting background information. Just don't use as a reference or you will be confused in your coding.
11/6/2006
2.0
already out of date
By Alex
from Undisclosed
Comments about oreilly Programming Atlas:
Only get this book if you are really desperate to learn it now. Much of the topic has already changed with first Beta release. It's not even called Atlas anymore. Still, until something more up-to-date comes along, some of it can be useful as an introduction until although I wish it had more detail on things like JSON serialization. Hopefully the will update it fast.
11/3/2006
2.0
Good background but already outdated
By Anonymous
from Undisclosed
Comments about oreilly Programming Atlas:
This book rovides a good background for understanding what Atlas is however since the release of Web Extentions (formerly Atlas) Beta 1.0 it is severly outdated. Most examples no longer work and some discribed features have been eliminated.
Recommendation is to pass on this title and wait for a release version.