⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pref2.htm

📁 Design Pattern 设计模式
💻 HTM
字号:
<HTML><HEAD><TITLE>Preface to Book</TITLE><SCRIPT>function setFocus() {		if ((navigator.appName != "Netscape") && (parseFloat(navigator.appVersion) == 2)) {	return;	} else {	self.focus();	}}</SCRIPT></HEAD><BODY BGCOLOR=#FFFFFF TEXT=#000000 onLoad="setFocus()";><A NAME="prefbook1"></A><P>This book isn't an introduction to object-oriented technology ordesign.  Many books already do a good job of that.  This book assumesyou are reasonably proficient in at least one object-orientedprogramming language, and you should have some experience inobject-oriented design as well.  You definitely shouldn't have to rushto the nearest dictionary the moment we mention "types" and"polymorphism," or "interface" as opposed to "implementation"inheritance.<A NAME="prefbook2"></A><P>On the other hand, this isn't an advanced technical treatise either.It's a book of <B>design patterns</B> that describes simple and elegantsolutions to specific problems in object-oriented software design.Design patterns capture solutions that have developed and evolved overtime.  Hence they aren't the designs people tend to generateinitially.  They reflect untold redesign and recoding as developershave struggled for greater reuse and flexibility in their software.Design patterns capture these solutions in a succinct andeasily applied form.<A NAME="prefbook3"></A><P>The design patterns require neither unusual language features noramazing programming tricks with which to astound your friends andmanagers. All can be implemented in standard object-orientedlanguages, though they might take a little more work than <EM>ad hoc</EM>solutions. But the extra effort invariably pays dividends in increasedflexibility and reusability.<A NAME="prefbook4"></A><P>Once you understand the design patterns and have had an "Aha!" (andnot just a "Huh?") experience with them, you won't ever think aboutobject-oriented design in the same way.  You'll have insights that canmake your own designs more flexible, modular, reusable, andunderstandable&#151;which is why you're interested in object-orientedtechnology in the first place, right?<A NAME="prefbook5"></A><P>A word of warning and encouragement: Don't worry if you don'tunderstand this book completely on the first reading.  We didn'tunderstand it all on the first writing!  Remember that this isn't abook to read once and put on a shelf.  We hope you'll find yourselfreferring to it again and again for design insights and forinspiration.<A NAME="prefbook6"></A><P>This book has had a long gestation.  It has seen four countries, threeof its authors' marriages, and the birth of two (unrelated) offspring.Many people have had a part in its development.  Special thanks aredueBruce Anderson, Kent Beck, and Andr&#233; Weinandfor their inspiration and advice.  We also thank those who revieweddrafts of the manuscript:Roger Bielefeld,Grady Booch,Tom Cargill,Marshall Cline,Ralph Hyre,Brian Kernighan,Thomas Laliberty,Mark Lorenz,Arthur Riel,Doug Schmidt,Clovis Tondo,Steve Vinoski,andRebecca Wirfs-Brock.We are also grateful to the team at Addison-Wesley for their help andpatience:Kate Habib,Tiffany Moore,Lisa Raffaele,Pradeepa Siva,andJohn Wait.Special thanks to Carl Kessler, Danny Sabbah, and Mark Wegman at IBMResearch for their unflagging support of this work.<A NAME="prefbook7"></A><P>Last but certainly not least, we thank everyone on the Internet andpoints beyond who commented on versions of the patterns, offeredencouraging words, and told us that what we were doing was worthwhile.These people include but are not limited toJon Avotins,Steve Berczuk,Julian Berdych,Matthias Bohlen,John Brant,Allan Clarke,Paul Chisholm,Jens Coldewey,Dave Collins,Jim Coplien,Don Dwiggins,Gabriele Elia,Doug Felt,Brian Foote,Denis Fortin,Ward Harold,Hermann Hueni,Nayeem Islam,Bikramjit Kalra,Paul Keefer,Thomas Kofler,Doug Lea,Dan LaLiberte,James Long,Ann Louise Luu,Pundi Madhavan,Brian Marick,Robert Martin,Dave McComb,Carl McConnell,Christine Mingins,Hanspeter M&#246;ssenb&#246;ck,Eric Newton,Marianne Ozkan,Roxsan Payette,Larry Podmolik,George Radin,Sita Ramakrishnan,Russ Ramirez,Alexander Ran,Dirk Riehle,Bryan Rosenburg,Aamod Sane,Duri Schmidt,Robert Seidl,Xin Shu,and Bill Walker.<a name="mail"></a><P>We don't consider this collection of design patterns complete andstatic; it's more a recording of our current thoughts on design.  Wewelcome comments on it, whether criticisms of our examples, referencesand known uses we've missed, or design patterns we should haveincluded.  You can write us care of Addison-Wesley, or send electronicmail to <A HREF="mailto:design-patterns@cs.uiuc.edu"><CODE>design-patterns@cs.uiuc.edu</CODE></A>.  You can also obtainsoftcopy for the code in the Sample Code sections by sending themessage "send design pattern source" to <A HREF="mailto:design-patterns-source@cs.uiuc.edu"><CODE>design-patterns-source@cs.uiuc.edu</CODE></A>.  And now there's a Web page at <A HREF="http://st-www.cs.uiuc.edu/users/patterns/DPBook/DPBook.html" target="_top"><CODE>http://st-www.cs.uiuc.edu/users/patterns/DPBook/DPBook.html</CODE></A> for late-breaking information and updates.</P><A NAME="cities"></A><TABLE WIDTH=100%><TR><TD ALIGN=LEFT><EM>Mountain View, California</EM></TD><TD ALIGN=RIGHT>E.G.</TD></TR><TR><TD ALIGN=LEFT><EM>Montreal, Quebec</EM></TD><TD ALIGN=RIGHT>R.H.</TD></TR><TR><TD ALIGN=LEFT><EM>Urbana, Illinois</EM></TD><TD ALIGN=RIGHT>R.J.</TD></TR><TR><TD ALIGN=LEFT><EM>Hawthorne, New York</EM></TD><TD ALIGN=RIGHT>J.V.</TD></TR><TR><TD><BR></TD></TR><TR><TD ALIGN=LEFT><EM>August 1994</EM></TD></TR></TABLE><A NAME="last"></A><P><A HREF="#top"><IMG SRC="gifsb/up3.gif" BORDER=0></A><BR><A HREF="forefs.htm" TARGET="_mainDisplayFrame"><IMG SRC="gifsb/rightar3.gif"	ALIGN=TOP BORDER=0></A><A HREF="forefs.htm" 	TARGET="_mainDisplayFrame">Foreword</A><BR><A HREF="preffs.htm" TARGET="_mainDisplayFrame"><IMG SRC="gifsb/leftarr3.gif"	ALIGN=TOP BORDER=0></A><A HREF="preffs.htm"	TARGET="_mainDisplayFrame">Preface to CD</A></P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -