
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
با این راهنمای جامع درباره ساختارهای داده، الگوهای طراحی و تکنیکهای مؤثر شیءگرا، برنامهنویسی پایتون را از نو تعریف کنید و به دنیای پایتون مدرن قدم بگذارید.
ویژگیهای کلیدی:
- دست از اسکریپتنویسی بکشید و به معماری برنامهها فکر کنید
- با آخرین دستور زبان و کتابخانههای پایتون آشنا شوید
- یک راهنمای عملی و کاربردی که الگوهای طراحی انتزاعی و نحوه پیادهسازی آنها را در پایتون ۳ به شما میآموزد
توضیحات کتاب:
پایتون ۳ همهکارهتر و سادهتر از همیشه است. این زبان روی تمام پلتفرمهای اصلی و در حوزههای بسیار متنوعی اجرا میشود. کدنویسی با پایتون، در مقایسه با سایر زبانها، زمان توسعه را به حداقل میرساند و بهرهوری را افزایش میدهد. با استفاده از ساختار روشن و مختصر پایتون، نوشتن و خواندن کدهای تمیز و قابل نگهداری بسیار آسان است.
برنامهنویسی شیءگرا یک الگوی طراحی محبوب است که در آن دادهها و رفتارها به گونهای کپسوله میشوند که بتوان آنها را در کنار هم مدیریت کرد. بسیاری از زبانهای برنامهنویسی مدرن از مفاهیم قدرتمند پشت برنامهنویسی شیءگرا استفاده میکنند و پایتون نیز از این قاعده مستثنی نیست.
با تحلیل دقیقی از تحلیل و طراحی شیءگرا شروع میکنید و با استفاده از زبان پایتون، مفاهیم کلیدی الگوی شیءگرا را به خوبی درک خواهید کرد. این کتاب کلاسها، کپسولهسازی دادهها، ارثبری، چندریختی، انتزاع و استثناها را به طور کامل توضیح میدهد و بر این موضوع تأکید دارد که چه زمانی باید از هر اصل برای توسعه نرمافزارهای خوشساخت استفاده کنید.
تحلیل عمیقی از بسیاری از الگوهای طراحی شیءگرا را که با سبک منحصربهفرد پایتون سازگارترند، به دست خواهید آورد. این کتاب نه تنها دستور زبان پایتون را به شما آموزش میدهد، بلکه اعتمادبهنفس شما را در برنامهنویسی افزایش میدهد.
همچنین با مطالعه الگوهای طراحی ردهبالا، نحوه ساخت برنامههای قابل نگهداری را یاد خواهید گرفت. پس از آن، با پیچیدگیهای دستکاری رشتهها و فایلها آشنا میشوید و میفهمید که پایتون چگونه بین دادههای دودویی و متنی تمایز قائل میشود. در این کتاب، نه یک، بلکه دو سیستم تست خودکار بسیار قدرتمند معرفی خواهد شد. پس از اینکه لذت تست واحد (Unit Testing) را کشف کردید و فهمیدید چقدر میتواند ساده باشد، به سراغ کتابخانههای ردهبالا مانند اتصالدهندههای پایگاه داده و ابزارهای رابط کاربری گرافیکی (GUI) میروید و میآموزید که چگونه اصول شیءگرا را به شکلی منحصربهفرد در آنها به کار ببرید. یاد خواهید گرفت که این اصول چگونه به شما اجازه میدهند تا از اعضای کلیدی اکوسیستم پایتون، مانند جنگو و کیوی، استفاده بیشتری ببرید.
آنچه خواهید آموخت:
- پیادهسازی اشیاء در پایتون با ایجاد کلاسها و تعریف متدها
- دستهبندی اشیاء مرتبط در قالب یک ساختار کلاسی و توصیف ویژگیها و رفتارهای آنها از طریق واسط کلاس
- گسترش قابلیتهای کلاس با استفاده از ارثبری
- درک زمان استفاده از ویژگیهای شیءگرا و مهمتر از آن، زمان پرهیز از آنها
- کشف ماهیت الگوهای طراحی و چرایی تفاوت آنها در پایتون
- درک سادگی تست واحد و اهمیت بالای آن در پایتون
- تسلط بر تکنیکهای رایج همروندی و تلههای آن در پایتون ۳
- بهرهگیری از برنامهنویسی شیءگرا در فناوریهای کلیدی پایتون مانند کیوی و جنگو
- برنامهنویسی شیءگرا به صورت همزمان با asyncio
Rethink Python programming with this guide to Python data structures, design patterns and effective object oriented techniques, to uncover a truly modern PythonKey FeaturesStop writing scripts and start architecting programsLearn the latest Python syntax and librariesA practical, hands-on tutorial that teaches you all about abstract design patterns and how to implement them in Python 3Book DescriptionPython 3 is more versatile and easier to use than ever. It runs on all major platforms in a huge array of use cases. Coding in Python minimizes development time and increases productivity in comparison to other languages. Clean, maintainable code is easy to both read and write using Python's clear, concise syntax.Object-oriented programming is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Many modern programming languages utilize the powerful concepts behind object-oriented programming and Python is no exception.Starting with a detailed analysis of object-oriented analysis and design, you will use the Python programming language to clearly grasp key concepts from the object-oriented paradigm. This book fully explains classes, data encapsulation, inheritance, polymorphism, abstraction, and exceptions with an emphasis on when you can use each principle to develop well-designed software.You'll get an in-depth analysis of many common object-oriented design patterns that are more suitable to Python's unique style. This book will not just teach Python syntax, but will also build your confidence in how to program.You will also learn how to create maintainable applications by studying higher level design patterns. Following this, you'll learn the complexities of string and file manipulation, and how Python distinguishes between binary and textual data. Not one, but two very powerful automated testing systems will be introduced in the book. After you discover the joy of unit testing and just how easy it can be, you'll study higher level libraries such as database connectors and GUI toolkits and learn how they uniquely apply object-oriented principles. You'll learn how these principles will allow you to make greater use of key members of the Python eco-system such as Django and KivyWhat You Will LearnImplement objects in Python by creating classes and defining methodsSeparate related objects into a taxonomy of classes and describe the properties and behaviors of those objects via the class interfaceExtend class functionality using inheritanceUnderstand when to use object-oriented features, and more importantly when not to use themDiscover what design patterns are and why they are different in PythonUncover the simplicity of unit testing and why it's so important in PythonGrasp common concurrency techniques and pitfalls in Python 3Exploit object-oriented programming in key Python technologies such as Kivy and Django.Object-oriented programming concurrently with asyncio