AOP in .NET: Practical Aspect-Oriented Programming (Paperback)

Matthew D. Groves

  • 出版商: Manning
  • 出版日期: 2013-06-28
  • 售價: $1,960
  • 貴賓價: 9.5$1,862
  • 語言: 英文
  • 頁數: 296
  • 裝訂: Paperback
  • ISBN: 1617291145
  • ISBN-13: 9781617291142
  • 相關分類: .NET
  • 已絕版

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

相關主題

商品描述

Summary

AOP in .NET introduces aspect-oriented programming to .NET developers and provides practical guidance on how to get the most benefit from this technique in your everyday coding. The book's many examples concentrate on modularizing non-functional requirements that often sprawl throughout object-oriented projects. Even if you've never tried AOP before, you'll appreciate the straightforward introduction using familiar C#-based examples. AOP tools for .NET have now reached the level of practical maturity Java developers have relied on for many years, and you'll explore the leading options, PostSharp, and Castle DynamicProxy.

About the Technology
Core concerns that cut across all parts of your application, such as logging or authorization, are difficult to maintain independently. In aspect-oriented programming (AOP) you isolate these cross-cutting concerns into their own classes, disentangling them from business logic. Mature AOP tools like PostSharp and Castle DynamicProxy now offer .NET developers the level of support Java coders have relied on for years.

About this Book
AOP in .NET introduces aspect-oriented programming and provides guidance on how to get the most practical benefit from this technique. The book's many examples concentrate on modularizing non-functional requirements that often sprawl throughout object-oriented projects. You'll appreciate its straightforward introduction using familiar C#-based examples.
This book requires no prior experience with AOP. Readers should know C# or another OO language.

What's Inside
  • Clear and simple introduction to AOP
  • Maximum benefit with minimal theory
  • PostSharp and Castle DynamicProxy
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Table of Contents
  1. PART 1 GETTING STARTED WITH AOP
  2. Introducing AOP
  3. Acme Car Rental
  4. PART 2 THE FUNDAMENTALS OF AOP
  5. Call this instead: intercepting methods
  6. Before and after: boundary aspects
  7. Get this instead: intercepting locations
  8. Unit testing aspects
  9. PART 3 ADVANCED AOP CONCEPTS
  10. AOP implementation types
  11. Using AOP as an architectural tool
  12. Aspect composition: example and execution

商品描述(中文翻譯)

摘要

《AOP in .NET》介紹了面向方面的編程(AOP)給.NET開發人員,並提供了如何在日常編碼中充分利用這一技術的實用指南。該書的許多示例集中在模塊化非功能性需求上,這些需求通常散佈在面向對象的項目中。即使您以前從未嘗試過AOP,您也會喜歡使用熟悉的基於C#的示例進行的直觀介紹。.NET的AOP工具現在已經達到了Java開發人員多年依賴的實用成熟度,您將探索領先的選項,如PostSharp和Castle DynamicProxy。

關於技術

跨應用程序的核心關注點(例如日誌記錄或授權)很難獨立維護。在面向方面的編程(AOP)中,您將這些交叉關注點隔離到它們自己的類中,使其與業務邏輯分離。成熟的AOP工具,如PostSharp和Castle DynamicProxy,現在為.NET開發人員提供了與Java開發人員多年依賴的支持水平。

關於本書

《AOP in .NET》介紹了面向方面的編程並提供了如何從這一技術中獲得最實用的好處的指南。該書的許多示例集中在模塊化非功能性需求上,這些需求通常散佈在面向對象的項目中。您將喜歡它使用熟悉的基於C#的示例進行的直觀介紹。

本書不需要先前的AOP經驗。讀者應該熟悉C#或其他面向對象的語言。

內容簡介


  • 清晰簡單的AOP介紹

  • 最小理論帶來最大效益

  • PostSharp和Castle DynamicProxy

購買印刷版書籍將包括Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。

目錄


  1. 第1部分 開始使用AOP

  2. 介紹AOP

  3. Acme汽車租賃

  4. 第2部分 AOP的基礎知識

  5. 調用此處代替:攔截方法

  6. 之前和之後:邊界方面

  7. 獲取此處代替:攔截位置

  8. 單元測試方面

  9. 第3部分 高級AOP概念

  10. AOP實現類型

  11. 使用AOP作為架構工具

  12. 方面組合:示例和執行