ASP.NET AJAX编程

出版时间:2008-8  出版社:温兹 (Wenz.C.) 东南大学出版社 (2008-08出版)  作者:温兹  页数:454  

前言

Chapter 1, ASP.NET AJAX, Ajax, and ASP.NET, gives a broad overview of Ajax and the ASP.NET AJAX framework and then covers the installation of ASP.NET AJAX, a review of its structure, and a first simple example. . Chapter 2, JavaScript, is a concise introduction to JavaScript. Although ASP.NET AJAX does its best to hide the functional details from ASP.NET programmers, a certain knowledge of JavaScript is required to really master ASP.NET AJAX. Chapter 3, Ajax, explains the technologies beyond the hype. You learn what happens in the background, how Ajax works, and what it really is all about, in fewer than 20 pages. Chapter 4, Using ASP.NET AJAX JavaScript Extensions, describes how ASP.NET AJAX enriches the functionality of client-side JavaScript by adding new OOP-like features and even reimpleme nting some classes of the .NET Framework so they can be used on the client side. Chapter 5, Web Services, deals with XML web services. Even though ASP.NET AJAX focuses on client-based development, it also adds features for server-side web services. This includes features for error management and session support. Chapter 6, UpdatePanel: Refreshing Only Parts of a Page, introduces the UpdatePanel control that makes individual parts of a web page updateable independent from the rest of the page, without a page refresh. This is one of the most important elements of ASP.NET AJAX. Chapter 7, Using the ASP.NET AJAX Profile Service, details how ASP.NET AJAX provides a JavaScript access to the ASP.NET 2.0 Profile API. Chapter 8, Using the ASP.NET AJAX Authentication Service, explains the JavaScript hook into the ASP.NET 2.0 Forms Authentication API. .. Chapter 9, Localizing and Globalizing Applications, covers the emerging topic of providing a web application that works with different languages and regional settings. Chapter 10, Using the Control Toolkit, introduces the ASP.NET AJAX Control Toolkit, a collection of impressive server controls enriched with Ajax features. Chapter 11, Adding Animation to a Web Page, introduces the animation framework that is part of the ASP.NET AJAX Control Toolkit. Chapter 12, Autocompleting User Input, Fighting Spam, and More, shows the (debatable) highlights of the ASP.NET AJAX Control Toolkit, showcasing the diversity of the toolkit and also covering some best practices and tips. hapter 13, Writing Custom Controls and Contributing to the Community, explains how to write your own controls using the Control Toolkit infrastructure, and how to integrate them, or patches, to existing controls in the toolkit project. Chapter 14, Client Controls, describes the client-side controls that come with the ASP.NET AJAX Futures CTP. These make accessing HTML elements from Java- Script easy using a consistent API. Chapter 15, Binding and Validating Data, shows how to implement a client-side data binding between (client) controls, courtesy of the ASP.NET AJAX Futures CTP. Chapter 16, Using Behaviors and Components, shows you the built-in behaviors of ASP.NET AJAX and how to attach their functionality to client-side controls and components. Chapter 17, Using Server Data, explains how you connect to databases. ASP.NET AJAX can be linked to a data source via specifically crafted web services, making data binding without page refreshes quite easy. ASP.NET AJAX also provides special client-side controls to display data. Chapter 18, Using Remote Web Services, helps you overcome the same-domain policy of JavaScript and allows you to call remote web services, using a server-side bridge. Chapter 19, Using Animations, showcases some animation features in the ASP.NET AJAX Futures CTP. Chapter 20, Fixing Bookmarks and Back/Forward Buttons, provides possible solutions to two of the most annoying issues with Ajax applications (breaking the standard browser behavior). Chapter 21, Web Parts, demonstrates that ASP.NET AJAX web parts can do things ASP.NET web parts cannot, including, for example, drag-and-drop on any browser. Chapter 22, Using ASP.NET AJAX with Other Server Technologies, proves that some parts of the Microsoft Ajax Library are not tied to ASP.NET 2.0; a sample application in PHP shows how to bridge these two worlds. Appendix A, Debugging ASP.NET AJAX Applications, covers how to find bugs in ASP.NET AJAX applications and introduces some must-have browser tools. Appendix B, XMLHttpRequest Reference, lists important methods and properties of the XMLHttpRequest object. Appendix C, DOM Reference, covers important JavaScript DOM methods. Appendix D, ASP.NET AJAX Reference, lists the most important methods provided by the ASP.NET AJAX framework. Appendix E, ScriptManager, UpdatePanel, UpdateProgress, and Timer Declarative Reference, documents the properties of these four key ASP.NET AJAX server controls.

内容概要

  传授关于构建丰富Web 2.0风格的相关工作经验并非易事。《ASP.NET AJAX编程(影印版)》提供微软ASP.NET AJAX 1.0实用而全面的介绍,与ASP.NET给服务器端开发带来的众多益处一样,该框架给Ajax开发也带来了诸多便利。拥有《ASP.NET AJAX编程》,你将学会如何使用Ajax快速创建专业的动态Web页面。  《ASP.NET AJAX编程(影印版)》运用大量代码样例,全方位展现该框架的各个关键部分,不仅是那些想在应用程序开发中尝试Ajax的ASP.NET开发者,也是任何对ASP.NET AJAX感兴趣的Web开发者的理想读物,无论他们现在在使用什么开发技术。  《ASP.NET AJAX编程》为你提供:  ASP.NET AJAX框架的高级概要;  可剪切/粘贴用于个人应用程序的功能代码;  JavaScript和Ajax的关键要点,以帮助你理解框架所使用的各项独立技术;  反映框架软件包构成的内容编排,包含扩展、控件工具包、Futures CTP和AJAX程序库等;  关于如何编写你自己的控件,以及如何向社区工具包贡献代码的说明;  将标准AJAX程序库用于其他平台(如 PHP)的方法;  用一整章的篇幅讨论使用更新面板(UpdatePanel)控件,让Web页面中的多个部分可以独立更新——该框架最重要的元素之一。  《ASP.NET AJAX编程(影印版)》此前曾以《Programming Atlas》为名出版,涵盖该微软框架的beta版本,而如今已完全更新并扩展至ASP.NET AJAX 1.0正式发布版。  《ASP.NET AJAX编程》包含了很多难以发现的细节,并通过一些非正式途径完成任务。就这个新框架而言,《ASP.NET AJAX编程(影印版)》是最理想的知识来源。  作者简介:  Christian Wenz是一位培训师和咨询师,撰写过50余《ASP.NET AJAX编程(影印版)》籍。他同时使用开源和闭源Web技术开发,曾被授予“微软的ASP/ASP.NET MVP”称号,并且列入Zend的“Whos Who”PHP专家名录。Chritian是独立于浏览器(browser-agnostic)的JavaScript开发专家,还被列入Mozilla贡献者名单(about:credits)。

作者简介

作者:(美国)温兹 (Wenz.C.) Christian Wenz是一位培训师和咨询师,撰写过50余本书籍。他同时使用开源和闭源Web技术开发,曾被授予“微软的ASP/ASP.NET MVP”称号,并且列入Zend的“Who's Who”PHP专家名录。Chritian是独立于浏览器(browser-agnostic)的JavaScript开发专家,还被列入Mozilla贡献者名单(about:credits)。

书籍目录

PrefacePartI.Basics1.ASP.NETAJAX,Ajax,andASP.NETASP.NETAJAXandAjaxASP.NETAJAXandASP.NETASP.NETAJAXPrerequisitesandInstallationASP.NETAJAXStructureandArchitectureAFirstASP.NETAJAXExample:HelloUserTheScriptManagerControlSummaryForFurtherReading2.JavaScriptTheJavaScriptLanguageObject-OrientedProgramming(OOP)AccessingPageElementsDOMMethodsSummaryForFurtherReading3.AjaxTheXMLHttpRequestObjectTheXMLDocumentObjectJSONSummaryForFurtherReadingPartII.ASP.NETAJAXExtensions4.UsingASP.NETAJAXJavaScriptExtensionsASP.NETAJAXShortcutsandHelperFunctionsExtensionstoExistingJavaScriptObjectsASP.NETAJAXOOPFeaturesforJavaScriptClientVersionsof.NETClassesSummaryForFurtherReading5.WebServicesErrorHandlingPageMethodsMaintainingSessionStateExchangingComplexDatawiththeServerConsumingWebServiceswithJavaScriptSummaryForFurtherReading6.UpdatePanel:RefreshingOnlyPartsofaPageMakingaPageRegionUpdatableSummaryForFurtherReading7.UsingtheASP.NETAJAXProfileServicePreparingtheWebSiteAccessingProfileDataAccessingProfileGroupDataSummaryForFurtherReading8.UsingtheASP.NETAJAXAuthenticationServicePreparingtheApplicationLoginandLogoutSummaryForFurtherReading9.LocalizingandGlobalizingApplicationsLocalizationGlobalizationandInternationalizationSummaryForFurtherReadingPartIII.ASP.NETAJAXControlToolkitlO.UsingtheControlToolkitInstallingtheControlToolkitUsingtheControlToolkitSummaryForFurtherReading11.AddingAnimationtoaWebPageAnimationFrameworkDrag-and-DropSummaryForFurtherReading12.AutocompletingUserInput,FightingSpam,andMoreCreatinganAccordionPaneMaintainingtheRelativePositionofanElementAddingAutocompleteBehaviortoaTextBoxControlAttachingaCalendartoaTextFieldDynamicallyCollapsingaSinglePanelDisplayingaPopUpOveraPageFightingSpaminBlogsandinOtherEntryFormsCreatingaTabbedInterfaceSummaryForFurtherReading13.WritingCustomControlsandContributingtotheCommunity..WritingCustomASP.NETAJAXControlsContributingtotheControlToolkitSummaryForFurtherReadingPartIV.ASP.NETAJAXFutures14.ClientControlsIntroducingASP.NETAJAXClientControlsUsingASP.NETAJAXControlsHandlingControlEventsSummaryForFurtherReading15.BindingandValidatingDataDataBindingDataValidationSummaryForFurtherReading16.UsingBehaviorsandComponentsUsingBehaviorsUsingComponentsSummaryForFurtherReading17.UsingServerDataUsingaListViewControlCreatingaCustomDataSourceSummaryForFurtherReading18.UsingRemoteWebServicesUsingtheGoogleWebServiceUsingtheAmazonWebServiceTransformingaWebServiceResultwithXSLTUsingtheYahoo!WebService(andRESTandXPath)SummaryForFurtherReading19.UsingAnimationsUsingAnimationsUsinganAnimationtoCreateaFadeEffectSummaryForFurtherReading20.FixingBookmarksandBack/ForwardButtonsFixingwithCodeFixingBookmarksandBack/ForwardButtonswithControlsUsingUpdateHistoryFixingBookmarksandBack/ForwardButtonswithControlsUsingtheASP.NETAJAXFuturesSummaryForFurtherReading21.WebPartsUsingASP.NETAJAXwithASP.NETWebPartsSummaryForFurtherReadingPartV.MicrosoftAJAXLibrary22.UsingASP.NETAJAXwithOtherServerTechnologiesUsingASP.NETAJAXwithPHPSummaryForFurtherReadingPartVI.AppendixesA.DebuggingASP.NETAJAXApplicationsB.XMLHttpRequestReferenceC.DOMReferenceD.ASP.NETAJAXReferenceE.ScriptManager,UpdatePanel,UpdateProgress,andTimerDeclarativeReferenceIndex

章节摘录

插图:

媒体关注与评论

  “这是关于一个令人瞩止的新平台的权威著作。Wenz为ASP.NET AJAX所写下的文字就如Grisham写的那些法庭小说一样令人惊叹。太棒了!”  ——Jeff Prosise,Wintellect

编辑推荐

《ASP.NET AJAX编程(影印版)》由东南大学出版社出版。

图书封面

评论、评分、阅读与下载


    ASP.NET AJAX编程 PDF格式下载


用户评论 (总计0条)

 
 

 

250万本中文图书简介、评论、评分,PDF格式免费下载。 第一图书网 手机版

京ICP备13047387号-7