
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
**نکات کلیدی*** آشنایی با الگوهای طراحی ساختاری، ایجادی و رفتاری در پایتون* شناخت زمینه و کاربرد الگوهای طراحی برای حل مسائل واقعی در معماری نرمافزار، طراحی و توسعه برنامه* کسب تجربه عملی با پیادهسازیهای نمونه در پایتون نسخه ۳٫۵ برای الگوهای طراحی معرفیشده در کتاب**درباره کتاب**با توجه بیشتر به معماری و طراحی بهینهی نرمافزار، مهم است که معماران نرمافزار به بهینهسازی در ساخت اشیا، ساختار کد و تعامل بین اشیا در سطح معماری یا طراحی فکر کنند. این کار هزینه نگهداری نرمافزار را پایین نگه میدارد و باعث میشود کد بهراحتی دوباره استفاده شود یا با تغییرات سازگار باشد. کلید این موضوع، قابلیت استفاده مجدد و نگهداری آسان در الگوهای طراحی است.با تکیه بر موفقیت نسخه قبلی، کتاب «یادگیری الگوهای طراحی پایتون»، ویرایش دوم، به شما کمک میکند سناریوهای واقعی را با آخرین نسخه پایتون، یعنی پایتون ۳٫۵، پیادهسازی کنید.کار را با معرفی الگوهای طراحی از نگاه پایتون شروع میکنیم. با پیشروی در کتاب، الگوهای Singleton، Factory و Facade را بهتفصیل یاد میگیرید. سپس میبینیم چگونه با الگوهای Proxy دسترسی به اشیا را کنترل کنیم. کتاب همچنین الگوهای Observer، Command و الگوهای ترکیبی را پوشش میدهد.در پایان کتاب، توان حرفهایتان در معماری، طراحی و توسعه نرمافزار تقویت شده است.**آنچه یاد میگیرید*** مهارتهایتان را برای ساخت معماری نرمافزار بهتر بالا ببرید* راهحلهای اثباتشده برای مسائل رایج طراحی را بشناسید* اصول طراحیای را که پایه طراحی نرمافزار هستند بررسی کنید؛ مثل جفتشدگی سست، اصل هالیوود و اصل باز–بسته و موارد دیگر* مفاهیم برنامهنویسی شیگرا را عمیقتر بفهمید و ببینید چگونه در برنامههای نرمافزاری بهکار میروند* الگوهای طراحی ایجادی و روشهای مختلف ساخت اشیا را بیاموزید که به حل مسائل توسعه نرمافزار کمک میکنند* از الگوهای طراحی ساختاری استفاده کنید و ببینید اشیا و کلاسها چگونه با هم تعامل میکنند تا برنامههای بزرگتر ساخته شوند* روی تعامل بین اشیا با الگوهای Command و Observer تمرکز کنید* بهرهوری و پایه کد برنامهتان را با الگوهای طراحی پایتون بهتر کنید**فهرست مطالب**۱. مقدمهای بر الگوهای طراحی۲. الگوی طراحی Singleton۳. الگوی Factory — ساخت کارخانهها برای ایجاد اشیا۴. الگوی Facade — انعطافپذیری با Facade۵. الگوی Proxy — کنترل دسترسی به اشیا۶. الگوی Observer — آگاه نگه داشتن اشیا۷. الگوی Command — کپسولهسازی فراخوانی۸. الگوی Template Method — کپسولهسازی الگوریتم۹. Model-View-Controller — الگوهای ترکیبی۱۰. الگوی طراحی State۱۱. پادالگوها (AntiPatterns)
**Key Features*** Understand the structural, creational, and behavioural Python design patterns* Get to know the context and application of design patterns to solve real-world problems in software architecture, design, and application development* Get practical exposure through sample implementations in Python v3.5 for the design patterns featured**Book Description**With the increasing focus on optimised software architecture and design it is important that software architects think about optimisations in object creation, code structure, and interaction between objects at the architecture or design level. This makes sure that the cost of software maintenance is low and code can be easily reused or is adaptable to change. The key to this is reusability and low maintenance in design patterns.Building on the success of the previous edition, Learning Python Design Patterns, Second Edition will help you implement real-world scenarios with Python's latest release, Python v3.5.We start by introducing design patterns from the Python perspective. As you progress through the book, you will learn about Singleton patterns, Factory patterns, and Facade patterns in detail. After this, we'll look at how to control object access with proxy patterns. It also covers observer patterns, command patterns, and compound patterns.By the end of the book, you will have enhanced your professional abilities in software architecture, design, and development.**What you will learn*** Enhance your skills to create better software architecture* Understand proven solutions to commonly occurring design issues* Explore the design principles that form the basis of software design, such as loose coupling, the Hollywood principle and the Open Close principle among others* Delve into the object-oriented programming concepts and find out how they are used in software applications* Develop an understanding of Creational Design Patterns and the different object creation methods that help you solve issues in software development* Use Structural Design Patterns and find out how objects and classes interact to build larger applications* Focus on the interaction between objects with the command and observer patterns* Improve the productivity and code base of your application using Python design patterns**Table of Contents**1. Introduction to Design Patterns2. The Singleton Design Pattern3. The Factory Pattern - Building Factories to Create Objects4. The Facade Pattern - Being Adaptive with Facade5. The Proxy Pattern - Controlling Object Access6. The Observer Pattern - Keeping Objects in the Know7. The Command Pattern - Encapsulating Invocation8. The Template Method Pattern - Encapsulating Algorithm9. Model-View-Controller - Compound Patterns10. The State Design Pattern11. AntiPatterns