
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
دادهها را بین پایگاهداده و برنامه جابهجا کنید. این کتاب دانش ضروری را در اختیار برنامهنویسان میگذارد تا یاد بگیرند چطور از درایور رسمی، یعنی MySQL Connector/Python، استفاده کنند؛ همان ابزاری که برنامههای پایتون با آن با پایگاهداده MySQL ارتباط برقرار میکنند.
کتاب از نصب اولیه کانکتور شروع میکند، بعد اجرای پرسوجوهای ساده را پوشش میدهد و سپس به موضوعات پیشرفتهتر، مدیریت خطا و عیبیابی میرسد. هم API سنتی و هم X DevAPI جدید معرفی میشوند. X DevAPI بخشی از MySQL 8.0 است؛ APIای که میتوان آن را با کانکتورهای چند زبان برنامهنویسی به کار برد و از رابط خط فرمان معروف به MySQL Shell هم استفاده میشود. با کار روی نمونههای کد و دنبال کردن توضیح نحوه کار فراخوانیهای API، کار با کانکتور را یاد میگیرید.
در پایان کتاب میتوانید از MySQL بهعنوان محل ذخیرهسازی بکاند برنامههای پایتون خود استفاده کنید و حتی بین رابطهای SQL و NoSQL یکی را انتخاب کنید.
**آنچه یاد میگیرید**
* نصب MySQL Connector/Python
* اتصال به MySQL و پیکربندی دسترسی به پایگاهداده
* اجرای پرسوجوهای SQL و NoSQL از برنامه پایتون
* گرفتن خطاها و عیبیابی مشکلات
* ذخیره داده از زبانهای مختلف با پشتیبانی مجموعه کاراکترهای MySQL
* کار با X DevAPI که زیربنای همه کانکتورهای زبانی MySQL است
**این کتاب برای چه کسانی است**
توسعهدهندگانی که با پایتون آشنا هستند و میخواهند از MySQL بهعنوان پایگاهداده بکاند استفاده کنند. آشنایی قبلی با Connector/Python لازم نیست، اما خوانندگان باید با پایگاهداده و زبان برنامهنویسی پایتون آشنا باشند.
Move data back and forth between database and application. The must-have knowledge in this book helps programmers learn how to use the official driver, MySQL Connector/Python, by which Python programs communicate with the MySQL database.This book takes you from the initial installation of the connector through basic query execution, then through more advanced topics, error handing, and troubleshooting. The book covers both the traditional API as well as the new X DevAPI. The X DevAPI is part of MySQL 8.0 and is an API that can be used with connectors for several programming languages and is used from the command-line interface known as MySQL Shell. You will learn to use the connector by working through code examples and following a discussion of how the API calls work.By the end of the book, you will be able to use MySQL as the back-end storage for your Python programs, and you’ll even have the option of choosing between SQL and NoSQL interfaces.**What You'll Learn*** Install MySQL Connector/Python* Connect to MySQL and configure database access* Execute SQL and NoSQL queries from your Python program* Trap errors and troubleshoot problems* Store data from different languages using MySQL’s character set support* Work in the X DevAPI that underlies all of MySQL’s language connectors**Who This Book Is For**Developers familiar with Python who are looking at using MySQL as the back-end database. No prior knowledge of Connector/Python is assumed, but readers should be familiar with databases and the Python programming language.