چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

Ayeva, Kamon, Kasampalis, Sakis

قیمت نهایی

۴۴٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۰٪ تخفیف
  • تخفیف زمان‌دار−۵٬۰۰۰ تومان

۵٬۰۰۰ تومان صرفه‌جویی نسبت به قیمت اصلی

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

سال انتشار
۲۰۱۷
فرمت
PDF
زبان
انگلیسی
تعداد صفحات
۵ صفحه
حجم فایل
۱٫۶ مگابایت
شابک
9780014528813، 9781788832069، 9781788835831، 9781788837064، 9781788837484، 9781788991650، 9781788996662، 0014528819، 178883206X، 1788835832، 1788837061، 1788837487، 1788991656، 1788996666

دربارهٔ کتاب

Exploit various design patterns to master the art of solving problems using Python Key Features Master the application design using the core design patterns and latest features of Python 3.7 Learn tricks to solve common design and architectural challenges Choose the right plan to improve your programs and increase their productivity Book Description Python is an object-oriented scripting language that is used in a wide range of categories. In software engineering, a design pattern is an elected solution for solving software design problems. Although they have been around for a while, design patterns remain one of the top topics in software engineering, and are a ready source for software developers to solve the problems they face on a regular basis. This book takes you through a variety of design patterns and explains them with real-world examples. You will get to grips with low-level details and concepts that show you how to write Python code, without focusing on common solutions as enabled in Java and C++. You'll also fnd sections on corrections, best practices, system architecture, and its designing aspects. This book will help you learn the core concepts of design patterns and the way they can be used to resolve software design problems. You'll focus on most of the Gang of Four (GoF) design patterns, which are used to solve everyday problems, and take your skills to the next level with reactive and functional patterns that help you build resilient, scalable, and robust applications. By the end of the book, you'll be able to effciently address commonly faced problems and develop applications, and also be comfortable working on scalable and maintainable projects of any size. What you will learn Explore Factory Method and Abstract Factory for object creation Clone objects using the Prototype pattern Make incompatible interfaces compatible using the Adapter pattern Secure an interface using the Proxy pattern Choose an algorithm dynamically using the Strategy pattern Keep the logic decoupled from the UI using the MVC pattern Leverage the Observer pattern to understand reactive programming Explore patterns for cloud-native, microservices, and serverless architectures Who this book is for This book is for intermediate Python developers. Prior knowledge of design patterns is not required to enjoy this book. Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at ... Cover 1 Title Page 2 Copyright and Credits 3 Dedication 4 Packt Upsell 5 Contributors 6 Table of Contents 8 Preface 12 Chapter 1: The Factory Pattern 18 The factory method 19 Real-world examples 20 Use cases 20 Implementing the factory method 21 The abstract factory 29 Real-world examples 29 Use cases 30 Implementing the abstract factory pattern 30 Summary 35 Chapter 2: The Builder Pattern 36 Real-world examples 37 Use cases 38 Implementation 42 Summary 48 Chapter 3: Other Creational Patterns 49 The prototype pattern 50 Real-world examples 50 Use cases 51 Implementation 51 Singleton 55 Real-world examples 55 Use cases 56 Implementation 56 Summary 60 Chapter 4: The Adapter Pattern 62 Real-world examples 62 Use cases 63 Implementation 63 Summary 66 Chapter 5: The Decorator Pattern 67 Real-world examples 68 Use cases 68 Implementation 69 Summary 74 Chapter 6: The Bridge Pattern 75 Real-world examples 75 Use cases 76 Implementation 76 Summary 79 Chapter 7: The Facade Pattern 81 Real-world examples 82 Use cases 82 Implementation 83 Summary 87 Chapter 8: Other Structural Patterns 88 The flyweight pattern 89 Real-world examples 90 Use cases 90 Implementation 91 The model-view-controller pattern 96 Real-world examples 97 Use cases 98 Implementation 99 The proxy pattern 103 Real-world examples 106 Use cases 106 Implementation 107 Summary 111 Chapter 9: The Chain of Responsibility Pattern 112 Real-world examples 113 Use cases 115 Implementation 116 Summary 121 Chapter 10: The Command Pattern 122 Real-world examples 123 Use cases 123 Implementation 124 Summary 132 Chapter 11: The Observer Pattern 133 Real-world examples 133 Use cases 134 Implementation 135 Summary 141 Chapter 12: The State Pattern 142 Real-world examples 143 Use cases 144 Implementation 144 Summary 151 Chapter 13: Other Behavioral Patterns 152 Interpreter pattern 153 Real-world examples 154 Use cases 154 Implementation 154 Strategy pattern 161 Real-world examples 162 Use cases 163 Implementation 163 Memento pattern 168 Real-world examples 168 Use cases 169 Implementation 169 Iterator pattern 172 Real-world examples 173 Use cases 173 Implementation 174 Template pattern 177 Real-world examples 177 Use cases 178 Implementation 179 Summary 181 The Observer Pattern in Reactive Chapter 14: Programming 184 Real-world examples 185 Use cases 185 Implementation 186 A first example 186 A second example 189 A third example 190 A fourth example 193 Summary 199 Chapter 15: Microservices and Patterns for the Cloud 200 The Microservices pattern 201 Real-world examples 201 Use cases 202 Implementation 202 A first example 204 A second example 206 The Retry pattern 209 Real-world examples 209 Use cases 209 Implementation 210 A first example 210 A second example, using a third-party module 212 A third example, using another third-party module 214 The Circuit Breaker pattern 216 Real-world examples 216 Use cases 216 Implementation 217 The Cache-Aside pattern 219 Real-world examples 220 Use cases 220 Implementation 220 Throttling 227 Real-world examples 228 Use cases 228 Implementation 229 Summary 232 Other Books You May Enjoy 234 Index 237 Getting the most out of Python to improve your codebase Key Features Save maintenance costs by learning to fix your legacy codebase Learn the principles and techniques of refactoring Apply microservices to your legacy systems by implementing practical techniques Book Description Python is currently used in many different areas such as software construction, systems administration, and data processing. In all of these areas, experienced professionals can find examples of inefficiency, problems, and other perils, as a result of bad code. After reading this book, readers will understand these problems, and more importantly, how to correct them. The book begins by describing the basic elements of writing clean code and how it plays an important role in Python programming. You will learn about writing efficient and readable code using the Python standard library and best practices for software design. You will learn to implement the SOLID principles in Python and use decorators to improve your code. The book delves more deeply into object oriented programming in Python and shows you how to use objects with descriptors and generators. It will also show you the design principles of software testing and how to resolve software problems by implementing design patterns in your code. In the final chapter we break down a monolithic application to a microservice one, starting from the code as the basis for a solid platform. By the end of the book, you will be proficient in applying industry approved coding practices to design clean, sustainable and readable Python code. What you will learn Set up tools to effectively work in a development environment Explore how the magic methods of Python can help us write better code Examine the traits of Python to create advanced object-oriented design Understand removal of duplicated code using decorators and descriptors Effectively refactor code with the help of unit tests Learn to implement the SOLID principles in Python Who this book is for This book will appeal to team leads, software architects and senior software engineers who would like to work on their legacy systems to save cost and improve efficiency. A strong understanding of Programming is assumed. Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and registe .. Learn the fundamentals of Python (3.7) and how to apply it to data science, programming, and web development. Fully updated to include hands-on tutorials and projects. Key Features Learn the fundamentals of Python programming with interactive projects Apply Python to data science with tools such as IPython and Jupyter Utilize Python for web development and build a real-world app using Django Book Description Learn Python Programming is a quick, thorough, and practical introduction to Python - an extremely flexible and powerful programming language that can be applied to many disciplines. Unlike other books, it doesn't bore you with elaborate explanations of the basics but gets you up-and-running, using the language. You will begin by learning the fundamentals of Python so that you have a rock-solid foundation to build upon. You will explore the foundations of Python programming and learn how Python can be manipulated to achieve results. Explore different programming paradigms and find the best approach to a situation; understand how to carry out performance optimization and effective debugging; control the flow of a program; and utilize an interchange format to exchange data. You'll also walk through cryptographic services in Python and understand secure tokens. Learn Python Programming will give you a thorough understanding of the Python language. You'll learn how to write programs, build websites, and work with data by harnessing Python's renowned data science libraries. Filled with real-world examples and projects, the book covers various types of applications, and concludes by building real-world projects based on the concepts you have learned. What you will learn Get Python up and running on Windows, Mac, and Linux Explore fundamental concepts of coding using data structures and control flow Write elegant, reusable, and efficient code in any situation Understand when to use the functional or OOP approach Cover the basics of security and concurrent/asynchronous programming Create bulletproof, reliable software by writing tests Build a simple website in Django Fetch, clean, and manipulate data Who this book is for Learn Python Programming is for individuals with relatively little experience in coding or Python. It's also ideal for aspiring programmers who need to write scripts or programs to accomplish tasks. The book shows you how to create a full-fledged application. Downloading the example code for this book You can download the example .. Build A Solid Foundation In Coding By Utilizing The Language And Its Core Characteristics Key Features Leverage The Features Of Python Programming Through Easy-to-follow Examples Develop A Strong Set Of Programming Skills That Can Be Applied On All Platforms Create Guis And Data Science-based Applications Book Description Learn Python Programming Creates A Foundation For Those Who Are Interested In Developing Their Skills In Python Programming. The Book Starts With The Fundamentals Of Programming With Python And Ends By Exploring Different Topics Such As Guis And Real-world Apps. You Will Begin By Exploring The Foundations Of And Fundamental Topics On Python And Learn To Manipulate Them. Then, You'll Explore Different Programming Paradigms That Will Allow You To Find The Best Approach To A Situation, And You'll Also Understand How To Carry Out Performance Optimization As Well As Effective Debugging. As You Make Your Way Through The Chapters, You'll Control The Flow Of A Program, And Persist And Utilize An Interchange Format To Exchange Data. You'll Also Walk Through Cryptographic Services In Python And Understand Secure Tokens. Throughout, The Book Covers Various Types Of Applications, And It Concludes With Building Real-world Applications Based On All The Concepts That You Learned. By The End Of The Book, You'll Have A Proper Understanding Of The Python Language And A Solid Grasp On How To Work With Data. You'll Know How To Quickly Build A Website And Harness The Power Of Python's Renowned Data Science Libraries. What You Will Learn Get Python Up And Running On Windows, Mac, And Linux Grasp Fundamental Concepts Of Coding Using Data Structures And Control Flow Write Elegant, Reusable, And Efficient Code In Any Situation Understand When To Use The Functional Or Object-oriented Programming (oop) Approach Walk Through The Basics Of Security And Concurrent/asynchronous Programming Create Bulletproof, Reliable Software By Writing Tests Explore Examples Of Guis, Scripting, And Data Science Who This Book Is For Learn Python Programming Is For Individuals With Relatively Little Experience In Coding Or Python. It's Also Ideal For Aspiring Programmers Who Need To Write Scripts Or Programs To Accomplish Tasks. The Book Takes You All The Way To Creating A Full-fledged Application. Python is an object-oriented, scripting language that is used in wide range of categories. In software engineering, a design pattern is a recommended solution to a software design problem. Although not new, design patterns remain one of the hottest topics in software engineering and they come as a ready reference for software developers to ...

کتاب‌های مشابه

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

۴۹٬۰۰۰ تومان

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

۴۹٬۰۰۰ تومان

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

۴۹٬۰۰۰ تومان

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

۴۹٬۰۰۰ تومان

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

Mastering Python Design Patterns : A Guide to Creating Smart, Efficient, and Reusable Software, 2nd Edition

۴۹٬۰۰۰ تومان

Mastering Object-Oriented Python : Build Powerful Applications with Reusable Code Using OOP Design Patterns and Python 3.7, 2nd Edition

Mastering Object-Oriented Python : Build Powerful Applications with Reusable Code Using OOP Design Patterns and Python 3.7, 2nd Edition

۴۹٬۰۰۰ تومان

Mastering C++ Design Patterns: Create Efficient and Scalable Code

Mastering C++ Design Patterns: Create Efficient and Scalable Code

۴۹٬۰۰۰ تومان

Mastering Object-Oriented Python : Build Powerful Applications with Reusable Code Using OOP Design Patterns and Python 3.7, 2nd Edition

Mastering Object-Oriented Python : Build Powerful Applications with Reusable Code Using OOP Design Patterns and Python 3.7, 2nd Edition

۴۹٬۰۰۰ تومان

Mastering Object-Oriented Python : Build Powerful Applications with Reusable Code Using OOP Design Patterns and Python 3.7, 2nd Edition

Mastering Object-Oriented Python : Build Powerful Applications with Reusable Code Using OOP Design Patterns and Python 3.7, 2nd Edition

۴۹٬۰۰۰ تومان

Mastering Object-Oriented Python : Build Powerful Applications with Reusable Code Using OOP Design Patterns and Python 3.7, 2nd Edition

Mastering Object-Oriented Python : Build Powerful Applications with Reusable Code Using OOP Design Patterns and Python 3.7, 2nd Edition

۴۹٬۰۰۰ تومان

"Design Patterns: Elements of Reusable Object-Oriented Software"

"Design Patterns: Elements of Reusable Object-Oriented Software"

۴۹٬۰۰۰ تومان

Principles of Package Design : Creating Reusable Software Components

Principles of Package Design : Creating Reusable Software Components

۴۹٬۰۰۰ تومان

قیمت نهایی

۴۴٬۰۰۰ تومان