ASP.Net 2.0 Web Parts in Action: Building Dynamic Web Portals
暫譯: ASP.Net 2.0 網頁部件實戰:構建動態網頁入口網站

Darren Neimke

  • 出版商: Manning
  • 出版日期: 2006-10-01
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 456
  • 裝訂: Paperback
  • ISBN: 193239477X
  • ISBN-13: 9781932394771
  • 相關分類: .NETASP.NET
  • 已過版

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

商品描述

Description

"A must for every ASP.NET developer using Web Parts."
-- Scott Guthrie, General Manager, Microsoft Developer Division

"Squeezes the full potential out of ASP.NET Web Parts."
-- Andres Sanabria, from the Foreword

"Great book, great author, great style, there's nothing even close."
-- Paul Wilson, ASP.NET MVP and ASPInsider

"Impressive detail. Well done!"
-- Joe Litton, Microsoft Certified Professional

"Brisk and to the point."
-- Stuart Caborn, ThoughtWorks

The static Web is going out of style. Its click-and-wait user experience is giving way to dynamic personalized content and intuitive interactions. With ASP 2.0, a web developer can compose a page out of separate working parts "Web Parts" that independently communicate with the server to produce rich interactive portals like Yahoo!, Google/ig, and Live.com. The new Web Parts API makes it easy to centrally manage a portal's parts.

ASP.NET 2.0 Web Parts in Action is packed with annotated code, diagrams, and crystal-clear discussions. You'll develop a sample project from design to deployment, adding content zones, personalization, and a custom look-and-feel. Since any website is invariably a work-in-progress, you'll appreciate learning how to upgrade your portals on the fly. Along the way you'll pick up handy code instrumentation techniques and a few tricks to help your portals manage themselves. As an added bonus, the book introduces the Microsoft Ajax Library ("Atlas") and shows how you can add Ajax to a web part. You'll even create a Live.com gadget.

This book is for web developers familiar with ASP.NET.

 

Table of Contents

Foreword
Preface
Acknowledgments
About this book
About the title
About the cover illustration

Part 1 Portals and web parts

1 Introducing portals and web parts
1.1 Introduction
1.2 What is a portal?
1.3 Using the ASP.NET 2.0 portal framework
1.4 Introducing Adventure Works Cycles database
1.5 Summary
2 Web parts: the building blocks of portals
2.1 Introduction
2.2 Exploring web parts
2.3 Understanding the WebPart class
2.4 Understanding web part internals
2.5 Applying themes and styles
2.6 Adding web parts to the Adventure Works Solution
2.7 Summary
3 Using web part connections
3.1 Dissecting connections
3.2 Creating simple connections
3.3 Sorting out connection types
3.4 Using transformers
3.5 Adventure Worksimplementing connections for HR
3.6 Summary
4 The Web Part Manager
4.1 Introduction
4.2 The Page Lifecycle
4.3 Page display modes
4.4 Web part authorization
4.5 Importing and exporting web parts
4.6 Using WebPartManager with master pages
4.7 Adventure Worksadditions to the HR code
4.8 Summary
5 Working with zones
5.1 Introduction
5.2 Classifying zones
5.3 Custom rendering of zones
5.4 Using WebPartChrome
5.5 Explaining parts
5.6 Zone additions to the Adventure Works Portal
5.7 Summary
6 Understanding personalization
6.1 Introduction
6.2 Defining personalization
6.3 Personalization in action
6.4 Lifecycle of personalization data
6.5 Working with personalization data
6.6 Personalization of the Adventure Works portal
6.7 Summary

Part 2 Extending the portal framework

7 Creating an enhanced editing experience
7.1 Introduction
7.2 Supplying custom editing controls
7.3 Improving usability
7.4 Summary
8 Useful portal customizations
8.1 Introduction
8.2 Making common tasks accessible
8.3 Versioned personalization data
8.4 Creating an area for tool zones
8.5 Adding a CatalogZone dialog
8.6 Summary
9 Portal management
9.1 Introduction
9.2 Preparing for deployment
9.3 Recovering from errors gracefully
9.4 When all else fails
9.5 Summary
10 Into the future
10.1 Introduction
10.2 Reflecting on the portal
10.3 A world of web portals
10.4 Ajax behavior
10.5 Introducing Live.coma modern mega-portal
10.6 Call to action
 
appendix Creating the Adventure Works project
index 1

商品描述(中文翻譯)

**描述**

「每位使用 Web Parts 的 ASP.NET 開發者必備。」
-- Scott Guthrie,微軟開發部門總經理

「充分發揮 ASP.NET Web Parts 的潛力。」
-- Andres Sanabria,前言中提到

「好書、好作者、好風格,沒有任何書籍能與之媲美。」
-- Paul Wilson,ASP.NET MVP 和 ASPInsider

「細節令人印象深刻。做得很好!」
-- Joe Litton,微軟認證專業人士

「簡潔明瞭。」
-- Stuart Caborn,ThoughtWorks

靜態網頁正逐漸過時。其點擊等待的用戶體驗正讓位於動態個性化內容和直觀互動。使用 ASP 2.0,網頁開發者可以將頁面組合成獨立的工作部分「Web Parts」,這些部分能夠獨立與伺服器通信,生成豐富的互動入口網站,如 Yahoo!、Google/ig 和 Live.com。新的 Web Parts API 使得集中管理入口網站的各個部分變得簡單。

《ASP.NET 2.0 Web Parts in Action》充滿了註解代碼、圖表和清晰的討論。您將從設計到部署開發一個範例專案,添加內容區域、個性化和自定義外觀。由於任何網站都不可避免地是持續進行中的工作,您將會欣賞到如何即時升級您的入口網站。在這個過程中,您將學到實用的代碼儀器技術和一些幫助您的入口網站自我管理的技巧。作為額外的獎勵,本書介紹了微軟 Ajax 庫(「Atlas」),並展示了如何將 Ajax 添加到 Web Part。您甚至會創建一個 Live.com 小工具。

本書適合熟悉 ASP.NET 的網頁開發者。

**目錄**

前言
序言
致謝
關於本書
關於書名
關於封面插圖

**第一部分 入口網站與 Web Parts**
1 介紹入口網站與 Web Parts
1.1 介紹
1.2 什麼是入口網站?
1.3 使用 ASP.NET 2.0 入口網站框架
1.4 介紹 Adventure Works Cycles 數據庫
1.5 總結

2 Web Parts:入口網站的構建基塊
2.1 介紹
2.2 探索 Web Parts
2.3 理解 WebPart 類
2.4 理解 Web Part 內部結構
2.5 應用主題和樣式
2.6 將 Web Parts 添加到 Adventure Works 解決方案
2.7 總結

3 使用 Web Part 連接
3.1 解剖連接
3.2 創建簡單的連接
3.3 理清連接類型
3.4 使用轉換器
3.5 Adventure Works 實現 HR 的連接
3.6 總結

4 Web Part 管理器
4.1 介紹
4.2 頁面生命週期
4.3 頁面顯示模式
4.4 Web Part 授權
4.5 匯入和匯出 Web Parts
4.6 在母版頁面中使用 WebPartManager
4.7 Adventure Works 對 HR 代碼的補充
4.8 總結

5 與區域合作
5.1 介紹
5.2 區域分類
5.3 區域的自定義渲染
5.4 使用 WebPartChrome
5.5 解釋部分
5.6 將區域添加到 Adventure Works 入口網站
5.7 總結

6 理解個性化
6.1 介紹
6.2 定義個性化
6.3 個性化實踐
6.4 個性化數據的生命週期
6.5 處理個性化數據
6.6 Adventure Works 入口網站的個性化
6.7 總結

**第二部分 擴展入口網站框架**
7 創建增強的編輯體驗
7.1 介紹
7.2 提供自定義編輯控制項
7.3 改善可用性
7.4 總結

8 有用的入口網站自定義
8.1 介紹
8.2 使常見任務可訪問
8.3 版本化的個性化數據
8.4 創建工具區域
8.5 添加 CatalogZone 對話框
8.6 總結

9 入口網站管理
9.1 介紹
9.2 部署準備
9.3 優雅地從錯誤中恢復
9.4 當一切都失敗時
9.5 總結

10 走向未來
10.1 介紹
10.2 反思入口網站
10.3 一個網頁入口網站的世界
10.4 Ajax 行為
10.5 介紹 Live.com 一個現代的超級入口網站
10.6 行動呼籲

附錄 創建 Adventure Works 專案
索引