出版時(shí)間:2008-8 出版社:溫茲 (Wenz.C.) 東南大學(xué)出版社 (2008-08出版) 作者:溫茲 頁(yè)數(shù):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.
內(nèi)容概要
傳授關(guān)于構(gòu)建豐富Web 2.0風(fēng)格的相關(guān)工作經(jīng)驗(yàn)并非易事?!禔SP.NET AJAX編程(影印版)》提供微軟ASP.NET AJAX 1.0實(shí)用而全面的介紹,與ASP.NET給服務(wù)器端開發(fā)帶來(lái)的眾多益處一樣,該框架給Ajax開發(fā)也帶來(lái)了諸多便利。擁有《ASP.NET AJAX編程》,你將學(xué)會(huì)如何使用Ajax快速創(chuàng)建專業(yè)的動(dòng)態(tài)Web頁(yè)面?! 禔SP.NET AJAX編程(影印版)》運(yùn)用大量代碼樣例,全方位展現(xiàn)該框架的各個(gè)關(guān)鍵部分,不僅是那些想在應(yīng)用程序開發(fā)中嘗試Ajax的ASP.NET開發(fā)者,也是任何對(duì)ASP.NET AJAX感興趣的Web開發(fā)者的理想讀物,無(wú)論他們現(xiàn)在在使用什么開發(fā)技術(shù)。 《ASP.NET AJAX編程》為你提供: ASP.NET AJAX框架的高級(jí)概要; 可剪切/粘貼用于個(gè)人應(yīng)用程序的功能代碼; JavaScript和Ajax的關(guān)鍵要點(diǎn),以幫助你理解框架所使用的各項(xiàng)獨(dú)立技術(shù); 反映框架軟件包構(gòu)成的內(nèi)容編排,包含擴(kuò)展、控件工具包、Futures CTP和AJAX程序庫(kù)等; 關(guān)于如何編寫你自己的控件,以及如何向社區(qū)工具包貢獻(xiàn)代碼的說(shuō)明; 將標(biāo)準(zhǔn)AJAX程序庫(kù)用于其他平臺(tái)(如 PHP)的方法; 用一整章的篇幅討論使用更新面板(UpdatePanel)控件,讓W(xué)eb頁(yè)面中的多個(gè)部分可以獨(dú)立更新——該框架最重要的元素之一?! 禔SP.NET AJAX編程(影印版)》此前曾以《Programming Atlas》為名出版,涵蓋該微軟框架的beta版本,而如今已完全更新并擴(kuò)展至ASP.NET AJAX 1.0正式發(fā)布版?! 禔SP.NET AJAX編程》包含了很多難以發(fā)現(xiàn)的細(xì)節(jié),并通過一些非正式途徑完成任務(wù)。就這個(gè)新框架而言,《ASP.NET AJAX編程(影印版)》是最理想的知識(shí)來(lái)源?! ∽髡吆?jiǎn)介: Christian Wenz是一位培訓(xùn)師和咨詢師,撰寫過50余《ASP.NET AJAX編程(影印版)》籍。他同時(shí)使用開源和閉源Web技術(shù)開發(fā),曾被授予“微軟的ASP/ASP.NET MVP”稱號(hào),并且列入Zend的“Whos Who”PHP專家名錄。Chritian是獨(dú)立于瀏覽器(browser-agnostic)的JavaScript開發(fā)專家,還被列入Mozilla貢獻(xiàn)者名單(about:credits)。
作者簡(jiǎn)介
作者:(美國(guó))溫茲 (Wenz.C.) Christian Wenz是一位培訓(xùn)師和咨詢師,撰寫過50余本書籍。他同時(shí)使用開源和閉源Web技術(shù)開發(fā),曾被授予“微軟的ASP/ASP.NET MVP”稱號(hào),并且列入Zend的“Who's Who”PHP專家名錄。Chritian是獨(dú)立于瀏覽器(browser-agnostic)的JavaScript開發(fā)專家,還被列入Mozilla貢獻(xiàn)者名單(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
章節(jié)摘錄
插圖:
媒體關(guān)注與評(píng)論
“這是關(guān)于一個(gè)令人矚止的新平臺(tái)的權(quán)威著作。Wenz為ASP.NET AJAX所寫下的文字就如Grisham寫的那些法庭小說(shuō)一樣令人驚嘆。太棒了!” ——Jeff Prosise,Wintellect
編輯推薦
《ASP.NET AJAX編程(影印版)》由東南大學(xué)出版社出版。
圖書封面
評(píng)論、評(píng)分、閱讀與下載