What do you think?


Design Patterns: Elements of Reusable Object-Oriented Software
Capturing a wealth of experience about the design of object-oriented software, four top-notch designers present a catalog of simple and succinct solutions to commonly occurring design problems. Previously undocumented, these 23 patterns allow designers to create more flexible, elegant, and ultimately reusable designs without having to rediscover the design solutions themselves.
The authors begin by describing what patterns are and how they can help you design object-oriented software. They then go on to systematically name, explain, evaluate, and catalog recurring designs in object-oriented systems. With Design Patterns as your guide, you will learn how these important patterns fit into the software development process, and how you can leverage them to solve your own design problems most efficiently.
The authors begin by describing what patterns are and how they can help you design object-oriented software. They then go on to systematically name, explain, evaluate, and catalog recurring designs in object-oriented systems. With Design Patterns as your guide, you will learn how these important patterns fit into the software development process, and how you can leverage them to solve your own design problems most efficiently.
Each pattern describes the circumstances in which it is applicable, when it can be applied in view of other design constraints, and the consequences and trade-offs of using the pattern within a larger design. All patterns are compiled from real systems and are based on real-world examples. Each pattern also includes code that demonstrates how it may be implemented in object-oriented programming languages like C++ or Smalltalk.
416 pages, Hardcover
First published January 1, 1994
About the author
Erich Gamma
16 books129 followersErich Gamma is a Swiss computer scientist and co-author of the influential software engineering textbook, Design Patterns: Elements of Reusable Object-Oriented Software.
Ratings & Reviews
Friends & Following
Create a free account to discover what your friends think of this book!
Community Reviews
Displaying 1 - 1 of 1 review
July 7, 2021
مخاطب
مخاطبین اصلی این کتاب مهندسین نرمافزار و برنامهنویسان هستند. کتاب با آنکه نسبتا قدیمی است اما مرجع اصلی الگوهای طراحی محسوب میشود و اصول مورد استفاده هنوز هم بعد از سالها تغییر نکرده است با اینکه روش پیادهسازی در زبانهای برنامهنویسی نوین دستخوش تغییر شده است.
محتوا
بیست و چهار الگوی طراحی شیگرا در سه دسته رفتاری، ساختاری و ایجادی آموزش داده میشود. الگوی طراحی به معنای ارائه راهحل افراد خبره برای مسائل تکرارشونده در یک زمینه خاص است.
الگوهای رفتاری برای بهبود پویا ارتباطات میان اشیاء طراحی شده است. به طور نمونه الگو دکوراتور در زمان اجرا قابلیت به سیستم اضافه یا کم میکند بدون آنکه لازم باشد در کد نوشته شده از قبل دست برده شود. یک سایت اشتراک فیلم را در نظر بگیرید. بعضی افراد کاربر عادی هستند، بعضی دیگر اشتراک طلایی دارند و از قابلیتهای بیشتری در سیستم میتوانند بهره ببرند. با الگو دکوراتور شما به راحتی میتوانید مشخص کنید که هر قابلیت در اختیار کدام دسته از کاربران قرار بگیرد بدون آن که لازم باشد در کد موجود دست ببرید.
الگوهای ایجادی به ساخت کلاسها و اشیاء کمک میکند. مثلا با الگو بیلدر (builder)
میتوانید اشیاء پیچیده از قطعات ریزدانه بسازید.
و در نهایت الگوهای ساختاری برای بهبود ساختار کد پیشنهاد شده است.
جمعبندی
اگر برنامهنویس هستید لازم است که الگوهای طراحی را بلد باشید. امروزه بدون دانستن الگوهای طراحی مهندس نرمافزار خوبی محسوب نمیشوید.
Displaying 1 - 1 of 1 review


