Book Image

Hands-On Enterprise Application Development with Python

By : Saurabh Badhwar
Book Image

Hands-On Enterprise Application Development with Python

By: Saurabh Badhwar

Overview of this book

Dynamically typed languages like Python are continuously improving. With the addition of exciting new features and a wide selection of modern libraries and frameworks, Python has emerged as an ideal language for developing enterprise applications. Hands-On Enterprise Application Development with Python will show you how to build effective applications that are stable, secure, and easily scalable. The book is a detailed guide to building an end-to-end enterprise-grade application in Python. You will learn how to effectively implement Python features and design patterns that will positively impact your application lifecycle. The book also covers advanced concurrency techniques that will help you build a RESTful application with an optimized frontend. Given that security and stability are the foundation for an enterprise application, you’ll be trained on effective testing, performance analysis, and security practices, and understand how to embed them in your codebase during the initial phase. You’ll also be guided in how to move on from a monolithic architecture to one that is service oriented, leveraging microservices and serverless deployment techniques. By the end of the book, you will have become proficient at building efficient enterprise applications in Python.
Table of Contents (24 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

Entering the development phase


With our project structure defined and in place, it's time for us to get up and start developing our application. The development phase involves various steps, which include setting up the development environment, developing models, creating views that map to the models, and setting up the server.

Setting up the development environment

The first step before we begin our development is to set up our development environment. This involves getting the required packages in place, and setting up the environment.

Setting up the database

Our web application relies heavily on the database for managing the individual records related to the users and the bugs that have been filed. For the demo application, we will set back with the PostgreSQL as the choice for our database. To install it on an RPM-based distribution, such as Fedora, the following command needs to be executed:

dnf install postgresql postgresql-server postgresql-devel

To install postgresql on any other distribution...