Django has evolved into a powerful full-stack framework ideal for developing data-driven web applications, continuously expanding with new tools for asynchronous solutions, APIs, and real-time applications. This book explores modern Django development best practices, including Django Channels for WebSockets, Django REST Framework (DRF) for REST APIs, Graphene and Strawberry for GraphQL APIs, and integrating a front-end built with React The content is structured into two main parts, covering both fundamental and advanced concepts in a practical and digestible manner.
The first part introduces Django's core concepts, starting with an overview of web development and Python’s asyncio module for asynchronous processing. It then walks you through Django installation, project setup, and the admin interface. The Model-View-Template (MVT) architecture is explained in depth, with chapters on models, views, and templates, illustrating real-world examples. Additionally, it covers database interactions, introducing SQLAlchemy ORM and MongoDB integration to extend Django’s capabilities beyond its default ORM.
The second part delves into advanced Django features and the broader ecosystem. Topics include authentication, security, messaging, and reusable apps such as the Django toolbar. REST API development with Django REST Framework is explored, followed by an introduction to building GraphQL APIs using Graphene and Strawberry. A dedicated chapter covers Django Channels and the WebSocket protocol for real-time applications. Modern Django Web Development concludes with integrating React to develop front-end clients for Django-based REST, GraphQL, and WebSocket APIs, enabling a full-stack development experience.
Who is it for:
Software developers, web developers and engineers who are interested in adding Django to their development skillset. Python Developers can also leverage the power of modern Django with the help of this practical guide.
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
Brief outline
【One-Line Pitch】
Django has evolved into a powerful full-stack framework ideal for developing data-driven web applications, continuous…
【Book Arc】
- **Opening (~0%–12%)**: It then walks you through Django installation, project setup, and the admin interface.; e interested in adding Django to their development skillset.
- **Early (~12%–35%)**: ASGI app For Django version 3.1 and above, the asgiref library is a core dependency.; n the URLCONF of the project.
- **Middle (~35%–65%)**: us configure the URL route to pass the name of the author as the path parameter and map it with the DeleteView.; y from Python – such as variables, conditionals, and loops.
- **Late (~65%–88%)**: perations will be done on the Ticket model.; the browsable API show the effect of these changes?
- **Ending (~88%–100%)**: document.getElementById("Log").innerHTML " h2 Hello " user " /h2 ";; backend API built with Django REST Framework.
【Key Takeaways】
- **It then walks you thro…** (Opening): It then walks you through Django installation, project setup, and the admin interface.
- **e interested in adding…** (Opening): e interested in adding Django to their development skillset.
- **Thus, a web framework…** (Opening): Thus, a web framework facilitates rapid application development.
- **ASGI app For Django ve…** (Early): ASGI app For Django version 3.1 and above, the asgiref library is a core dependency.
- **n the URLCONF of the p…** (Early): n the URLCONF of the project.
- **a Python shell** (Early): a Python shell, with the settings of your project already imported.
【Reading Tips】
- Use Passage locations below to jump into the text and set reading anchors
- If this is a brief outline, click Regenerate (top right) for a synthesized guide
【Coverage Limits】
Compressed outline without the model (~32 index chunks). Full structured guide needs AI available.
Excerpt 1
e interested in adding Django to their development skillset. Python Developers can also leverage the power of modern Django with the help of this practical g...
ect’s default settings are stored in the settings.py module. Django also installs certain utility apps such as the admin app, the session management app, etc...
ml template (Listing 4-11). 97 ChapTeR 4 django TeMplaTes The properties of a certain form field are determined by one or more of the following attributes: r...
lier version if one or more models or columns are dropped. Alembic can also auto-generate migration scripts based on the current definitions of your SQLAlche...
ave an existing synchronous function and you want it to be used within an async context or when you need to call async functions from synchronous Django code...
Apart from Django’s default session authentication, Django REST Framework provides out-of-the-box support for the following authentication schemes: BasicAuth...
", "User1"); document.getElementById("Log").innerHTML = "<h2>Hello " + user +"</h2>"; } The onmessage event handler, as in Listing 9-26 is fired when an inco...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Modern Django Web Development With Channels, DRF, GraphQL, and React (Malhar Lathkar)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Modern Django Web Development With Channels, DRF, GraphQL, and React (Malhar Lathkar)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
Loading comments...
Reply to Comment
Edit Comment