Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Jain, Shayank

Rating No ratings yet

A step-by-step that will help you build Microservices architecture using Django and Python KEY FEATURES - Understand in-depth the fundamentals of Microservices - Learn how to create and use Django APIs - Use web technology such as Nginx, Gunicorn, UWSGI, and Postgresql to deploy a Django project DESCRIPTION Microservices architectures solve the multiple problems of software architecture. Django is a full-stack development framework, written in python. This book includes everything necessary for web application development; from the user views to the information storage: model, persistence, relationships, controllers, forms, validations, rest API and a very useful back office. Furthermore, the book will show how to build production-ready microservices. It will help you create restful APIs and get familiar with Redis and Celery. Towards the end, the book will show how to secure these services and deploy these microservices using Django. Lastly, it will show how to scale our services. WHAT WILL YOU LEARN - Understand the basics of Python, Django, and Microservices - Learn how to deploy Microservices with Django - Get familiar with Microservices Architecture - Designing, Principles, and Requirements - Implement Asynchronous task, JWT API Authentication and AWS Serverless with Microservice architecture WHO THIS BOOK IS FOR This book is for those beginners who want to make their careers in software development. It starts from the basics of python and Django, takes the reader to the Microservices architecture. Table of Contents 1. Basic of Python 2. Major Pillars of OOPS with Python 3. Getting Started with Django 4. API Development with Django 5. Database Modeling with Django 6. First Django API Deployment on Web 7. Django Project Deployment on various web servers 8. What are Microservices 9. Designing Microservice Systems 10. Service Authentication 11. Microservices Deployment With Django 12. JWT Auth Service 13. Asynchronous Tasks 14. AWS Serverless 15. How to Adopt Micr

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A beginner-friendly, hands-on path from Python and Django fundamentals to designing, securing, and deploying production-ready microservices. Best for new developers and Django users who want a single guided route from first API to a deployed, scalable service architecture. 【Book Arc】 - **Opening (~0%–15%)**: Sets the stage with Python basics and the case for microservices, framing why splitting software into small, cohesive services helps teams move fast and satisfy investors. Solves the "where do I start" problem. - **Early (~15%–35%)**: Covers Python essentials, the major pillars of OOP (classes, inheritance, encapsulation, polymorphism, abstraction), and the first steps into Django—its architecture, request flow, and basic commands. - **Middle (~35%–60%)**: Moves into practical Django development: API creation with function- and class-based views, Postman testing, database modeling with Django ORM (PostgreSQL, MySQL, SQLite), and deployment on web servers using uWSGI, Nginx, Apache, Gunicorn, and Supervisor. - **Late (~60%–85%)**: Introduces microservices proper—design patterns, service design parameters, independent deployability, service authentication, connecting multiple databases, JWT API security, and asynchronous tasks with RabbitMQ, Redis, and Celery. - **Ending (~85%–100%)**: Covers AWS serverless deployment (Lambda, API Gateway, storage, NoSQL, async tasks) and closes with common questions and answers about adopting microservices. 【Key Takeaways】 - **The book is a ladder, not a reference** (Opening): It deliberately starts at Python syntax and climbs to microservice deployment, so readers with no prior Django experience can follow along. - **Django is treated as a full-stack microservice host** (Early): Models, views, forms, validation, REST APIs, and admin are all presented as the toolkit for building individual services. - **Deployment is a first-class topic** (Middle): Multiple web servers and process managers (uWSGI, Gunicorn, Nginx, Apache, Supervisor) are compared and configured, not just mentioned. - **Database modeling and multi-database connectivity matter** (Middle–Late): Django ORM is used across PostgreSQL, MySQL, and SQLite, and later chapters show how data flows between services with multiple databases in one project. - **Security is handled through JWT and Django's auth system** (Late): Service authentication and JWT tokens are presented as the way to secure APIs in a microservice architecture. - **Asynchronous work is essential for production services** (Late): RabbitMQ, Redis, and Celery are introduced as the best-fit stack for background tasks in Django. - **AWS serverless is a viable deployment target** (Ending): Lambda, API Gateway, and managed storage/database services are shown as an alternative to traditional server deployment. - **Adoption questions are addressed directly** (Ending): The final chapter collects common Q&A about moving to microservices, helping readers anticipate practical concerns. 【Reading Tips】 - **Skim the Python and OOP chapters if you already code** (Opening–Early): They are foundational but not the book's core value; move quickly to Django and microservices. - **Deep-read the deployment chapters** (Middle): The web server and process manager configurations are where many beginners get stuck, and the book provides concrete setup guidance. - **Treat the microservices design chapters as the conceptual anchor** (Late): Patterns, service boundaries, and independent deployability are the ideas that outlast any specific tool. - **Run the code as you go**: The book emphasizes real-life examples and sample code; typing and deploying locally will make the later AWS and async chapters much easier. - **Use the final Q&A as a checklist** (Ending): It surfaces practical adoption concerns that are easy to overlook when reading chapter by chapter. 【Coverage Limits】 This guide is based on the book's front matter, table of contents, and chapter summaries; the excerpts do not include detailed code, diagrams, or the full text of later chapters, so specific implementation details and edge cases are not covered here.
Excerpt 1
ployment on various web servers 8. What are Microservices 9. Designing Microservice Systems 10. Service Authentication 11. Microservices Deployment With Djan...
View in text
Page 6
ntegrate it into other third-party solutions for deployment. Over the 15 chapters in this book, you will learn the following: Chapter1: It covers the introdu...
View in text
Page 11
...............................................................................39 List comprehension ...........................................................
View in text
Page 12
...............................................................97 Structure ....................................................................................
View in text
Page 14
The way of microservices ................................................................................188 Scalability in microservices ......................
View in text
Page 16
............................................................209 Structure ......................................................................................
View in text
Page 17
..........................................................................................................282 RabbitMQ .........................................
View in text
Page 18
vice in the organization? ..................................310 What are the best practices and processes for microservices? ...................311 xix What...
View in text
Tags
AI categories
Programming LanguageBackendCloud Native
ISBN: 9389328799
Publisher: BPB Publications
Publish Year: 2020
Language: English
Pages: 332
File Format: PDF
File Size: 16.8 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…