
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
نیازهای در حال تغییر کاربران خود را به برنامههای غنی از قابلیت با Tkinter تبدیل کنید.
ویژگیهای کلیدی:
- بازنگری گسترده همراه با محتوای جدید درباره شبکهسازی RESTful، کلاسها در Tkinter و ویجت Notebook
- بهرهگیری از ویژگیهای سبک، قابل حمل و آسان در Tkinter
- ساخت کدهای منظمتر و یادگیری مدیریت کدهای در حال رشد
توضیحات کتاب:
Tkinter به دلیل سادگی، به طور گستردهای برای ساخت رابطهای کاربری گرافیکی (GUI) در پایتون استفاده میشود. در این کتاب، نقاط قوت Tkinter را کشف میکنید و بر چالشهای آن غلبه میکنید تا یاد بگیرید چگونه برنامههای گرافیکی کاملی بسازید.
کتاب «برنامهنویسی رابط کاربری گرافیکی پایتون با Tkinter، ویرایش دوم»، نه تنها دانش کاربردی از کتابخانه گرافیکی Tkinter به شما میدهد، بلکه مهارتهای ارزشمندی را فراهم میکند که به شما امکان برنامهریزی، پیادهسازی و نگهداری برنامههای بزرگتر را میدهد. شما یک برنامه کامل ورود داده را از صفر میسازید و یاد میگیرید که چگونه کد خود را در پاسخ به نیازهای در حال تغییر کاربران و کسبوکار گسترش دهید و بهبود ببخشید.
شما درک عملی از ابزارها و تکنیک فرآیندهای استفاده شده برای مدیریت این کدهای در حال تحول به دست خواهید آورد و فراتر از قابلیتهای پیشفرض ویجتهای Tkinter خواهید رفت. شما کنترل نسخه و تست واحد، جداسازی دغدغهها از طریق الگوی طراحی MVC و برنامهنویسی شیءگرا را برای سازماندهی تمیزتر کد خود پیادهسازی خواهید کرد.
همچنین تجربهای با فناوریهای پرکاربرد در محیطهای کاری، مانند پایگاههای داده SQL، سرویسهای شبکهای و کتابخانههای مصورسازی داده به دست خواهید آورد. در نهایت، برنامه خود را برای توزیع گستردهتر بستهبندی میکنید و چالش حفظ سازگاری بینپلتفرمی را حل خواهید کرد.
آنچه خواهید آموخت:
- تولید برنامههای گرافیکی منظم، کاربردی و پاسخگو
- گسترش قابلیتهای ویجتهای موجود با استفاده از کلاسها و برنامهنویسی شیءگرا
- برنامهریزی هوشمندانه برای توسعه برنامه با استفاده از MVC و کنترل نسخه
- اطمینان از عملکرد صحیح برنامه از طریق اعتبارسنجی ویجت و تست واحد
- استفاده از ابزارها و فرآیندها برای تحلیل و پاسخ به درخواستهای کاربر
- آشنایی با فناوریهای کاربردی در محیط کار، از جمله SQL، HTTP، Matplotlib، نخکشی (threading) و CSV
- استفاده از احراز هویت PostgreSQL برای تضمین امنیت دادههای برنامه
این کتاب برای چه کسانی است:
این کتاب برای برنامهنویسانی است که با نحو (syntax) پایتون آشنا هستند، اما هنوز مهارتها، تکنیکها و دانش لازم برای طراحی و پیادهسازی یک نرمافزار کامل را ندارند. تسلط نسبی به دستور زبان پایه پایتون الزامی است.
فهرست مطالب:
- مقدمه ای بر Tkinter
- طراحی برنامههای رابط کاربری گرافیکی
- ایجاد فرمهای پایه با ویجتهای Tkinter و Ttk
- سازماندهی کدهای خود با کلاسها
- کاهش خطاهای کاربر با اعتبارسنجی و خودکارسازی
- برنامهریزی برای گسترش برنامه
- ایجاد منوها با منو و محاورههای Tkinter
- مرور رکوردها با Treeview و Notebook
- بهبود ظاهر با سبکها و تمها
- حفظ سازگاری بینپلتفرمی
- ایجاد تستهای خودکار با unittest
- بهبود ذخیرهسازی داده با SQL
- اتصال به ابر
- برنامهنویسی ناهمگام با Thread و Queue
- مصورسازی دادهها با استفاده از ویجت Canvas
- بستهبندی با setuptools و cxFreeze
- پیوست الف: راهنمای سریع reStructuredText
- پیوست ب: آموزش سریع SQL
Transform your evolving user requirements into feature-rich Tkinter applicationsKey Features Extensively revised with new content on RESTful networking, classes in Tkinter, and the Notebook widget Take advantage of Tkinter’s lightweight, portable, and easy-to-use features Build better-organized code and learn to manage an evolving codebase Book Description Tkinter is widely used to build GUIs in Python due to its simplicity. In this book, you’ll discover Tkinter’s strengths and overcome its challenges as you learn to develop fully featured GUI applications.Python GUI Programming with Tkinter, Second Edition, will not only provide you with a working knowledge of the Tkinter GUI library, but also a valuable set of skills that will enable you to plan, implement, and maintain larger applications. You’ll build a full-blown data entry application from scratch, learning how to grow and improve your code in response to continually changing user and business needs.You’ll develop a practical understanding of tools and techniques used to manage this evolving codebase and go beyond the default Tkinter widget capabilities. You’ll implement version control and unit testing, separation of concerns through the MVC design pattern, and object-oriented programming to organize your code more cleanly.You’ll also gain experience with technologies often used in workplace applications, such as SQL databases, network services, and data visualization libraries. Finally, you’ll package your application for wider distribution and tackle the challenge of maintaining cross-platform compatibility.What you will learn Produce well-organized, functional, and responsive GUI applications Extend the functionality of existing widgets using classes and OOP Plan wisely for the expansion of your app using MVC and version control Make sure your app works as intended through widget validation and unit testing Use tools and processes to analyze and respond to user requests Become familiar with technologies used in workplace applications, including SQL, HTTP, Matplotlib, threading, and CSV Use PostgreSQL authentication to ensure data security for your application Who this book is for This book is for programmers who understand the syntax of Python, but do not yet have the skills, techniques, and knowledge to design and implement a complete software application. A fair grasp of basic Python syntax is required.Table of Contents Introduction to Tkinter Designing GUI Applications Creating Basic Forms with Tkinter and Ttk Widgets Organizing Our Code with Classes Reducing User Error with Validation and Automation Planning for the Expansion of Our Application Creating Menus with Menu and Tkinter Dialogs Navigating Records with Treeview and Notebook Improving the Look with Styles and Themes Maintaining Cross-Platform Compatibility Creating Automated Tests with unittest Improving Data Storage with SQL Connecting to the Cloud Asynchronous Programming with Thread and Queue Visualizing Data Using the Canvas Widget Packaging with setuptools and cxFreeze Appendix A : A Quick Primer on reStructuredText Appendix B: A Quick SQL Tutorial