Synopses & Reviews
Synopsis
Create unbelievably fast, robust and secure web apps with Django Web Framework and Python 3.6
Key Features
- Discover solutions to a variety of web application scenarios, leveraging the power of the Django framework
- Understand URL routing, models, forms, templates, and RESTful services with Django 2.14
- Test, deploy, and scale your web applications efficiently with Amazon Web Services
Book Description
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.
You'll learn how to write reusable pieces of code for your models and manage database changes. You'll work with forms and views to enter and list data, applying practical examples using templates and JavaScript together for the optimum user experience. This cookbook helps you to adjust the built-in Django administration to fit your needs and sharpen security and performance to make your web applications as robust, scalable, and dependable as possible. You'll also explore integration with Django CMS, the popular content management suite.
In the final chapters, you'll learn programming and debugging tricks and discover how collecting data from different sources and providing it to others in various formats can be a breeze. By the end of the book, you'll learn how to test and deploy projects to a remote dedicated server and scale your application to meet user demands.
What you will learn
- Get started with the basic configuration necessary to start any Django project
- Build a database structure out of reusable model mixins
- Secure web applications against malicious usage and address common performance bottlenecks
- Integrate with, and extend, the Django CMS
- Construct and manage complex and deep hierarchies
- Import data from local sources and external web services and export it to third parties
Who this book is for
This book is designed for Python developers working on fast and secure web apps that can scale over time. You'll also find this book useful if you want to upgrade to latest Django framework. A background in Python 3 along with basic knowledge of the Django framework will be useful.
Synopsis
Leverage the powerful Arduino and XBee platforms to monitor and control your surroundings
Key Features:
- Build your own low-power, wireless network using ready-made Arduino and XBee hardware
- Create a complex project using the Arduino prototyping platform
- A guide that explains the concepts and builds upon them with the help of examples to form projects
Book Description:
Arduino has been established as the de facto standard microcontroller programming platform, being used for one-off do-it-yourself projects as well as prototypes for actual products. By providing a myriad of libraries, the Arduino community has made it very easy to interact with pretty much any piece of hardware out there. XBee offers a great range of low-power wireless solutions that are easy to work with, by taking all of the complexity of wireless (mesh) networking out of your hands and letting you focus on what to send without worrying about the how. Building wireless sensor networks is cost-effective as well as efficient as it will be done with Arduino support.
The book starts with a brief introduction to various wireless protocols, concepts, and the XBee hardware that enables their use. Then the book expands to explain the Arduino boards to you, letting them read and send sensor data, collect that data centrally, and then even control your home from the Internet. Moving further more advanced topics such as interacting through the standard Zigbee Home Automation protocol, or making your application power-efficient are covered. By the end of the book, you will have all the tools needed to build complete, real-world solutions.
What You Will Learn:
- Interact with XBee boards using the XCTU program on Windows, OS X, or Linux
- Make your Arduino boards communicate wirelessly, using XBee modules in the advanced API mode
- Centrally collect and store measured sensor data, in the cloud or your own database
- Connect the coordinator Arduino to the Internet and send data to web services
- Control your environment automatically, based on sensor input from your network
- Interact with off-the-shelf ZigBee Home Automation devices
- Make your devices battery-powered and let them sleep to get months or even years of battery life