Building Versatile Mobile Apps with Python and REST
Develop versatile iOS apps using Python with RESTful web services. This book will show you how to blend Django a high-level Python Web framework, with Django REST, the powerful, feature-filled extension, to build iOS mobile apps.
Using easy-to-follow examples, you'll begin by building a simple app using the RESTful Web API and iOS. You'll begin by using traditional Django to create models and connect your App to the database. You'll then see how to serialize your data and create the RESTful API.
The second part of the book introduces Xcode, a programming environment to develop iOS apps. Using Swift, the programming language for iOS, you'll design the actual app. Once you have your back-end in Django and a front-end in Swift, you'll connect them using our RESTful API. You'll be able to log in, browse places of interest, and rate them and leave comments.
Guided step-by-step instructions, Building Versatile Mobile Apps with Python and REST will demonstra ...
Django 3 By Example, 3rd Edition
If you want to learn the entire process of developing professional web applications with Python and Django then this book is for you. In the process of building four professional Django projects, you will learn about Django 3 features, how to solve common web development problems, how to implement best practices, and how to successfully deploy your applications.
In this book, you will build a blog application, a social image bookmarking website, an online shop, and an e-learning platform. Step-by-step guidance will teach you how to integrate popular technologies, enhance your applications with AJAX, create RESTful APIs, and set up a production environment for your Django projects.
By the end of this book, you will have mastered Django 3 by building advanced web applications. ...
Django Standalone Apps
Develop standalone Django apps to serve as the reusable building blocks for larger Django projects. This book explores best practices for publishing these apps, with special considerations for testing Django apps, and strategies for extracting existing functionality into a separate package.
This jumpstart reference is divided into four distinct and sequential sections, all containing short, engaging chapters that can be read in a modular fashion, depending on your level of experience. The first section covers the structure and scope of standalone Django apps. The second section digs into questions about pulling code out of existing projects and into new standalone apps for reuse. The third section details additional, advanced technical best practices toward making standalone apps as broadly useful as possible. The fourth and final section covers strategies for managing a published Django app.
Django Standalone Apps is the perfect resource ...
Designing Microservices with Django
Explore microservices using the Python-based Django framework and review the benefits and drawbacks of them. This book will examine what microservices look like, how they talk to each other, and how they are crafted using the Python programming language and the Django web framework.
You'll start by understanding what the key differences are between microservices and monolithic architectures. The book then does a deep dive into how microservices are built and what common models have emerged in our industry. You'll also take an extensive look at communication and ownership patterns and examine methodologies to speed up your architecture evolution by writing less but more distributed code using the Python programming language and the Django web framework.
By the end of the book, you'll have a solid understanding of microservices architectures. Armed with a comprehensive and solid toolset, you can begin working toward systems that are more scalable, resilient, a ...
Practical Django 2 and Channels 2
Learn how to rapidly build your own ecommerce site by applying Django's battle-tested components. This book demonstrates Django's features and conventions to help you develop modern web applications quickly. You'll adopt a "learn by doing" approach and gain a deeper understanding Django by working through a project in which the real-time component will be critical.
The book starts with the basics and explains the difference between a Django project and a Django app, the most important settings, how to change them, and the fundamentals of packaging. You'll then be introduced to all the standard tools of Django along with a sample project. The book then moves on to Channels, a recent addition to the Django ecosystem. It extends the framework with support for real-time operations such as Websockets and other asynchronous features.
Practical Django 2 and Channels 2 provides the practical concepts needed to create complex, database-driven web ...
Learn Web Development with Python
If you want to develop complete Python web apps with Django this Learning Path is for you. It will walk you through Python programming techniques and guide you in implementing them when creating 4 professional Django projects, teaching you how to solve common problems and develop RESTful web services with Django and Python. You will learn how to build a blog application, a social image bookmarking website, an online shop, and an e-learning platform.
Learn Web Development with Python will get you started with Python programming techniques, show you how to enhance your applications with AJAX, create RESTful APIs, and set up a production environment for your Django projects. Last but not least, you'll learn the best practices for creating real-world applications. ...
Django 2 Web Development Cookbook, 3rd Edition
Django is a framework designed to balance rapid web development with high performance. It handles high levels of user traffic and interaction, integrates with a variety of databases, and collects and processes data in real time. This book follows a task-based approach to guide you through developing with the Django 2.1 framework, starting with setting up and configuring Docker containers and a virtual environment for your project.
Mastering Geospatial Analysis with Python
Python comes with a host of open source libraries and tools that help you work on professional geoprocessing tasks without investing in expensive tools. This book will introduce Python developers, both new and experienced, to a variety of new code libraries that have been developed to perform geospatial analysis, statistical analysis, and data management. This book will use examples and code snippets that will help explain how Python 3 differs from Python 2, and how these new code libraries can be used to solve age-old problems in geospatial analysis.
You will begin by understanding what geoprocessing is and explore the tools and libraries that Python 3 offers. You will then learn to use Python code libraries to read and write geospatial data. You will then learn to perform geospatial queries within databases and learn PyQGIS to automate analysis within the QGIS mapping suite. Moving forward, you will explore the newly released ArcGIS API for Python and ArcGIS Online to perform geos ...
Building Django 2.0 Web Applications
This project-based guide will give you a sound understanding of Django 2.0 through three full-featured applications. It starts off by building a basic IMDB clone and adding users who can register, vote on their favorite movies, and upload associated pictures. You will learn how to use the votes that your users have cast to build a list of the top 10 movies. This book will also take you through deploying your app into a production environment using Docker containers hosted on the server in Amazon's Electric Computing Cloud (EC2).
Next, you're going to build a Stack Overflow clone wherein registered users can ask and answer questions. You will learn how to enable a user asking a question to accept answers and mark them as useful. You will also learn how to add search functionality to help users find questions by using ElasticSearch. You'll discover ways to apply the principles of 12 factor apps while deploying Django on the most popular web server, Apache, with mod_wsgi. ...
Test-Driven Development with Python, 2nd Edition
By taking you through the development of a real web application from beginning to end, the second edition of this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tests. The result? Clean code that works.
In the process, you'll learn the basics of Django Selenium, Git, jQuery, and Mock, along with current web development techniques. If you're ready to take your Python skills to the next level, this book—updated for Python 3.6—clearly demonstrates how TDD encourages simple designs and inspires confidence.
Dive into the TDD workflow, including the unit test/code cycle and refactoring; Use unit tests for classes and functions, and functional tests for user interactions within the browser; Learn when and how to use mock objects, and the pros and cons of isolated vs. integrated tes ...
Beginning Django CMS
Build a world-class website in less than a week with Django CMS. Beginning Django CMS shows you how to simply and easily write a dynamic website with a full content management system in the backend. It is written for Internet developers who are sick and tired of dealing with complicated, bloated website frameworks that are a pain to build and a nightmare to maintain. Django CMS is an Open Source website building framework that is experiencing exponential growth because it is built on the simple, secure and scalable architecture of Django. This book takes you from knowing nothing about Django CMS, to building a functional website and content management system that you can deploy for your own website or for your customers. ...