注冊 | 登錄讀書好,好讀書,讀好書!
讀書網-DuShu.com
當前位置: 首頁出版圖書科學技術計算機/網絡軟件工程及軟件方法學從重構到模式(英文版)

從重構到模式(英文版)

從重構到模式(英文版)

定 價:¥49.00

作 者: (美)克里夫斯基 著
出版社: 機械工業(yè)出版社
叢編項: 經典原版書庫
標 簽: 暫缺

ISBN: 9787111175681 出版時間: 2006-01-01 包裝: 膠版紙
開本: 小16開 頁數(shù): 367 字數(shù):  

內容簡介

  本書榮獲2005年《軟件開發(fā)》雜志圖書通用類的效率大獎(ProductivityAward).1994年,《設計模式》通過引入經典的解決方案來處理反復出現(xiàn)的設計問題而改變了面向對象開發(fā)技術的發(fā)展前景;1999年,《重構》通過引入一種有效的過程來改善代碼而徹底變革了設計的內涵;本書則通過重構的演進過程來保持模式的一致性,從而改變了我們的設計方法。..本書介紹了以模式為導向的重構方法的理論和實踐:一系列低級重構,讓設計人員能夠安全地將設計移到模式實現(xiàn),或從模式實現(xiàn)中移出設計。通過使用實際項目的代碼,本書記錄了潛藏在20多個基于模式的設計轉換之下的思想方法和設計步驟。同時,本書對于模式差異以及如何以盡可能簡單的方式實現(xiàn)模式提出了頗有見解的觀點。本書的主要內容■列出27個以模式為導向的重構,并輔以實際項目的代碼實例。■描述12個“設計味道”(designsmell),指示出需要本書所講述的重構方法?!鲫P于模式和重構的綜合說明以及新的觀點和想法。■詳細的實現(xiàn)機制:如何組合低級重構來實現(xiàn)高級模式。■多種方式來實現(xiàn)相同的模式以及何時使用哪一種?!霾捎脤嶋H的方法引導讀者尤其是缺乏模式或重構經驗的讀者開始學習模式或重構方面的知識。...本書提煉和反映了全球模式、重構和敏捷開發(fā)社區(qū)60多位軟件工程領域先驅的思想和觀點。不管你正在集中精力進行遺留開發(fā)還是新型開發(fā),本書都將幫助你學會如何安全、有效地做出重要的設計變更,使你成為更好的軟件設計人員。

作者簡介

  Joshua Kerievsky Industrial Logic公司(hllp:industria11ogic.com)的創(chuàng)始人,這是一家主營極限編程業(yè)務的公司。自1988年以來,作為一名專業(yè)的軟件開發(fā)人員、教員和導師,他為Bankers Trust、MTV、MBNA、Ansys、MDS Sciex、Nielsen Media Research和SunMicrosystems等客戶提供咨詢及培訓服務。他還經常在各種會議上發(fā)言,并撰寫了大量的論文。

圖書目錄

ForewordbyRalphJohnson
ForewordbyMartinFowler
Preface
WhatisThisBookAbout?.
WhatAretheGoalsofThisBook?
WhoShouldReadThisBook?
WhatBackgroundDoYouNeed?
HowtoUseThisBook
TheHistoryofThisBook
StandingontheShouldersofGiants
Acknowledgments
Chapter1:WhyIWroteThisBook
Over-Engineering
ThePatternsPanacea
Under-Engineering
Test-DrivenDevelopmentandContinuousRefactoring
RefactoringandPatterns
EvolutionaryDesign
Chapter2:Refactoring
WhatIsRefactoring?
WhatMotivatesUstoRefactor?
ManyEyes
Human-ReadableCode
KeepingItClean
SmallSteps
DesignDebt
EvolvingaNewArchitecture
CompositeandTest-DrivenRefactorings
TheBenefitsofCompositeRefactorings
RefactoringTools
Chapter3:Patterns
WhatIsaPattern?
PatternsHappy
ThereAreManyWaystoImplementaPattern
Refactoringto,towards,andawayfromPatterns
DoPatternsMakeCodeMoreComplex?
PatternKnowledge
Up-FrontDesignwithPatterns
Chapter4:CodeSmells
DuplicatedCode
LongMethod
ConditionalComplexity
PrimitiveObsession
IndecentExposure
SolutionSprawl
AlternativeClasseswithDifferentInterfaces
LazyClass
LargeClass
SwitchStatements
CombinatorialExplosion
OddballSolution
Chapter5:ACatalogofRefactoringstoPatterns
FormatoftheRefactorings
ProjectsReferencedinThisCatalog
XMLBuilders
HTMLParser..
LoanRiskCalculator
AStartingPoint
AStudySequence
Chapter6:Creation
ReplaceConstructorswithCreationMethods
Motivation
Mechanics
Example
Variations
MoveCreationKnowledgetoFactory
Motivation
Mechanics
Example
EncapsulateClasseswithFactory
Motivation
Mechanics
Example
Variations
IntroducePolymorphicCreationwithFactoryMethod
Motivation
Mechanics
Example
EncapsulateCompositewithBuilder
Mechanics
Example
Variations
InlineSingleton
Motivation
Mechanics
Example
Chapter7:Simplification
ComposeMethod
Motivation
Mechanics
Example
ReplaceConditionalLogicwithStrategy
Motivation
Mechanics
Example
MoveEmbellishmenttoDecorator
Motivation
Mechanics
Example
ReplaceState-AlteringConditionalswithState
Motivation
Mechanics
Example
ReplaceImplicitTreewithComposite
Motivation
Mechanics
Example
ReplaceConditionalDispatcherwithCommand
Motivation
Mechanics
Example
Chapter8:Generalization
FormTemplateMethod
Motivation
Mechanics
Example
ExtractComposite
Motivation
Mechanics
Example
ReplaceOne/ManyDistinctionswithComposite
Motivation
Mechanics
Example
ReplaceHard-CodedNotificationswithObserver
Motivation
Mechanics
Example
UnifyInterfaceswithAdapter
Motivation
Mechanics
Example
ExtractAdapter
Motivation
Mechanics
Example
Variations
ReplaceImplicitLanguagewithInterpreter
Motivation
Mechanics
Example
Chapter9:Protection
ReplaceTypeCodewithClass
Motivation
Mechanics
Example
LimitInstantiationwithSingleton
Motivation
Mechanics
Example
IntroduceNullObject
Motivation
Mechanics
Example
Chapter10:Accumulation
MoveAccumulationtoCollectingParameter
Motivation
Mechanics
Example
MoveAccumulationtoVisitor
Motivation
Mechanics
Example
Chapter11:Utilities
ChainConstructors
Motivation
Mechanics
Example
UnifyInterfaces
Motivation
Mechanics
Example
ExtractParameter
Motivation
Mechanics
Example...
AfterwordbyJohnBrantandDonRoberts
References
Index

本目錄推薦

掃描二維碼
Copyright ? 讀書網 www.talentonion.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號 鄂公網安備 42010302001612號