Reader small image

You're reading from  Hands-On Microservices with Django

Product typeBook
Published inMay 2024
PublisherPackt
ISBN-139781835468524
Edition1st Edition
Right arrow
Author (1)
Tieme Woldman
Tieme Woldman
author image
Tieme Woldman

Tieme Woldman works as a freelance Python developer and technical writer. As a Python developer, he builds web and data engineering applications with Django and Python data transformation packages such as pandas. As a technical writer, he has written software and user documentation for software companies such as Instruqt, Noldus Information Technology, and Rulecube. Tieme lives in the Netherlands, has a bachelor's degree in computer science, and holds several (technical) writing certifications.
Read more about Tieme Woldman

Right arrow

Exploring Django’s native components for microservices web applications

Django is a versatile web development tool and has these native components for developing microservices already on board:

  • Django Rest Framework (DRF): A framework for building RESTful APIs as general microservices.
  • Django Cache Framework: A framework for optimizing the performance of a microservices application.

In the following subsections, we’re looking contemplatively at DRF because in Chapter 5, Creating RESTful APIs for Microservices, we’ll explore DRF in depth and build a RESTful API ourselves. The same applies to caching. Later, in Chapter 10, Improving Microservices Performance With Caching, we’ll learn the ins and outs of caching with Django Cache Framework and Redis.

Now we’ll address DRF and RESTful APIs.

DRF

We learned in Chapter 1, What Is a Microservice?, that microservices come in the following basic flavors:

  • General microservices...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Microservices with Django
Published in: May 2024Publisher: PacktISBN-13: 9781835468524

Author (1)

author image
Tieme Woldman

Tieme Woldman works as a freelance Python developer and technical writer. As a Python developer, he builds web and data engineering applications with Django and Python data transformation packages such as pandas. As a technical writer, he has written software and user documentation for software companies such as Instruqt, Noldus Information Technology, and Rulecube. Tieme lives in the Netherlands, has a bachelor's degree in computer science, and holds several (technical) writing certifications.
Read more about Tieme Woldman