نوشته‌ها

کتاب Dive into Python 3

کتاب Dive into Python 3

Mark Pilgrim‘s Dive Into Python 3 is a hands-on guide to Python 3 and its differences from Python 2. As in the original book, Dive Into Python, each chapter starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together in a summary at the end.

This book includes:

  • Example programs completely rewritten to illustrate powerful new concepts now available in Python 3: sets, iterators, generators, closures, comprehensions, and much more
  • A detailed case study of porting a major library from Python 2 to Python 3
  • A comprehensive appendix of all the syntactic and semantic changes in Python 3

This is the perfect resource for you if you need to port applications to Python 3, or if you like to jump into languages fast and get going right away.

دانلود رایگان کتاب

 

Microservices in .NET Core

Microservices in .NET Core

Summary

Microservices in .NET Core provides a complete guide to building microservice applications. After a crystal-clear introduction to the microservices architectural style, the book will teach you practical development skills in that style, using OWIN and Nancy.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Microservice applications are built by connecting single-capability, autonomous components that communicate via APIs. These systems can be challenging to develop because they demand clearly defined interfaces and reliable infrastructure. Fortunately for .NET developers, OWIN (the Open Web Interface for .NET), and the Nancy web framework help minimize plumbing code and simplify the task of building microservice-based applications.

About the Book

Microservices in .NET Core provides a complete guide to building microservice applications. After a crystal-clear introduction to the microservices architectural style, the book will teach you practical development skills in that style, using OWIN and Nancy. You’ll design and build individual services in C# and learn how to compose them into a simple but functional application back end. Along the way, you’ll address production and operations concerns like monitoring, logging, and security.

What’s Inside

  • Design robust and ops-friendly services
  • Build HTTP APIs with Nancy
  • Expose events via feeds with Nancy
  • Use OWIN middleware for plumbing

About the Reader

This book is written for C# developers. No previous experience with microservices required.

About the Author

Christian Horsdal Gammelgaard is a Nancy committer and a Microsoft MVP.

Table of Contents

PART 1 – GETTING STARTED WITH MICROSERVICES

    1. Microservices at a glance
    2. A basic shopping cart microservice

PART 2 – BUILDING MICROSERVICES

    1. Identifying and scoping microservices
    2. Microservice collaboration
    3. Data ownership and data storage
    4. Designing for robustness
    5. Writing tests for microservices

PART 3 – HANDLING CROSS-CUTTING CONCERNS: BUILDINGA REUSABLE MICROSERVICE PLATFORM

    1. Introducing OWIN: writing and testing OWINmiddleware
    2. Cross-cutting concerns: monitoring and logging
    3. Securing microservice-to-microservicecommunicatio​n
    4. Building a reusable microservice platform

PART 4 – BUILDING APPLICATIONS

  1. Creating applications over microservices

دانلود رایگان کتاب

MySQL Connector/Python Revealed

MySQL Connector/Python Revealed

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. 

 

دانلود رایگان کتاب

Learn to Program with Python 3

Learn to Program with Python 3

Move from zero knowledge of programming to comfortably writing small to medium-sized programs in Python. Fully updated for Python 3, with code and examples throughout, the book explains Python coding with an accessible, step-by-step approach designed to bring you comfortably into the world of software development.

Real–world analogies make the material understandable, with a wide variety of well-documented examples to illustrate each concept.  Along the way, you’ll develop short programs through a series of coding challenges that reinforce the content of the chapters.

Learn to Program with Python 3 guides you with material developed in the author’s university computer science courses. The author’s conversational style feels like you’re working with a personal tutor. All material is thoughtfully laid out, each lesson building on previous ones. 

What You’ll Learn  

Understand programming basics with Python, based on material developed in the author’s college courses

Learn core concepts: variables, functions, conditionals, loops, lists, strings, and more

Explore example programs including simple games you can program and customize

Build modules to reuse your own code

Who This Book Is For
 
This book assumes no prior programming experience, and would be appropriate as text for a high school or college introduction to computer science.
دانلود رایگان کتاب
Flask By Example

Flask By Example

Flask By Example کتابی است که شما را به یک سفر یادگیری پیرامون توسعه ی وب با استفاده از Flask برای ساخت برنامه های کاربردی وب خواهد برد. Flask یکی از فریمورک های زبان برنامه نویسی پایتون می باشد که با استفاده از آن می توانید برنامه های وب بنویسید.

سرفصل ها:

Chapter 1: Hello, World

Chapter 2: Getting Started with Our Headlines Project

Chapter 3: Using Templates in Our Headlines Project

Chapter 4: User Input for Our Headlines Project

Chapter 5: Improving the User Experience of Our Headlines Project

Chapter 6: Building an Interactive Crime Map

Chapter 7: Adding Google Maps to Our Crime Map Project

Chapter 8: Validating User Input in Our Crime Map Project

Chapter 9: Building a Waiter Caller App

Chapter 10: Template Inheritance and WTForms in Waiter Caller Project

Chapter 11: Using MongoDB with Our Waiter Caller Project

 

مشخصات:

نویسنده: Gareth Dwyer

ناشر: Packt Publishing

سال نشر: ۲۰۱۶

تعداد صفحات: ۲۷۷

دانلود رایگان کتاب