Mastering Object-oriented Python
Book Details:
Pages: | 634 |
Published: | Apr 22 2014 |
Posted: | Nov 19 2014 |
Language: | English |
Book format: | PDF |
Book size: | 5.84 MB |
Book Description:
For those who know the basics of object-oriented Python this book is a must-have. With 750 code samples and a relaxed tutorial approach, its the seamless route to more sophisticated programming. Overview Create applications with flexible logging, powerful configuration and command-line options, automated unit tests, and good documentation. Use the Python special methods to integrate seamlessly with built-in features and the standard library Design classes to support object persistence in JSON, YAML, Pickle, CSV, XML, Shelve, and SQL In Detail This practical example-oriented guide will teach you advanced concepts of object-oriented programming in Python. This book will present detailed examples of almost all of the special method names that support creating classes that integrate seamlessly with Python's built-in features. It will show you how to use JSON, YAML, Pickle, CSV, XML, Shelve, and SQL to create persistent objects and transmit objects between processes. The book also covers logging, warnings, unit testing, configuration files, and how to work with the command line. This book is broken into three major parts: Pythonic Classes via Special Methods; Persistence and Serialization; Testing, Debugging, Deploying, and Maintaining. The special methods are broken down into several focus areas: initialization, basics, attribute access, callables, contexts, containers, collections, numbers, and more advanced techniques such as decorators and mixin classes. What you will learn from this book Understand the different design patterns for the __init__() method Discover the essential features of Python 3's abstract base classes and how you can use them for your own applications Design callable objects and context managers that leverage the with statement Perform object serialization in formats such as JSON, YAML, Pickle, CSV, and XML Employ the Shelve module as a sophisticated local database Map Python objects to a SQL database using the built-in SQLite module Transmit Python objects via RESTful web services Devise strategies for automated unit testing, including how to use the doctest and the unittest.mock module Parse command-line arguments and integrate this with configuration files and environment variables Approach This book follows a standard tutorial approach with approximately 750 code samples spread through the 19 chapters. This amounts to over 5,900 lines of code that illustrate each concept.
Unleash the true power of JavaScript by mastering Object-Oriented programming principles and patterns About This Book * Covering all the new Object-Oriented features introduced in ES6, this book shows you how to build large-scale web apps * Build apps that promote scalability, maintainability, and reusability * Learn popular Object-Oriented programming (OOP) principles and design patterns to build robust apps * Implement Object-Oriented concepts in a wide range of front-end architectures Who This Book Is For This book is ideal for you if you are a JavaScript developers who wants to gain expertise in OOP with JavaScript to improve your web development skills and build professional quality web applications. What You Will Learn * Master JavaScript'...
The book begins with the very foundations of OOP and then uses practical examples to show how to correctly implement Object Oriented Programming in Python. Many examples are taken from real-world projects. The book focuses on high-level design as well as the gritty details of the Python syntax. The provided exercises inspire the reader to think about his or her own code, rather than providing solved problems. If you're new to Object Oriented Programming techniques, or if you have basic Python skills and wish to learn in depth how and when to correctly apply Object Oriented Programming in Python, this is the book for you. If you are an object-oriented programmer for other languages, you too will find this book a useful introduction to Python, as it us...
Developing Application-Oriented Software with the Tools & Materials Approach
Successful businesses and organizations are continually looking for ways to improve service and customer satisfaction in order to achieve long-term customer loyalty. In light of these goals, software developers must ask the question: how does customer orientation influence traditional approaches, methods, and principles of software development? In this book, a leading software architect and his team of software engineers describe how the idea of customer orientation in an organization leads to the creation of application-oriented software. This book describes what application-oriented software development is and how it can be conceptually and constructively designed with object-oriented techniques. It goes further to describe how to best fit together...
2007 - 2021 © eBooks-IT.org