• Complain

Antonio Mele - Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition

Here you can read online Antonio Mele - Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2022, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Antonio Mele Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition
  • Book:
    Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2022
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Learn to create fully functional web applications with authentication, content management systems, payment processing, RESTful APIs, and more

Key Features
  • Implement advanced functionalities, such as full-text search engines, user activity streams, payment gateways, and recommendation engines
  • Integrate JavaScript, PostgreSQL, Redis, Celery, and Memcached into your applications
  • Add real-time features with Django Channels and WebSockets
Book Description

Django 4 By Example is the 4th edition of the best-selling franchise that helps you build web apps. This book will walk you through the creation of real-world applications, solving common problems, and implementing best practices using a step-by-step approach.

Youll cover a wide range of web app development topics as you build four different apps:

  • A blog application: Create data models, views, and URLs and implement an admin site for your blog. Create sitemaps and RSS feeds and implement a full-text search engine with PostgreSQL.
  • A social website: Implement authentication with Facebook, Twitter, and Google. Create user profiles, image thumbnails, a bookmarklet, and an activity stream. Implement a user follower system and add infinite scroll pagination to your website.
  • An e-commerce application: Build a product catalog, a shopping cart, and asynchronous tasks with Celery and RabbitMQ. Process payments with Stripe and manage payment notifications via webhooks. Build a product recommendation engine with Redis. Create PDF invoices and export orders to CSV.
  • An e-learning platform: Create a content management system to manage polymorphic content. Cache content with Memcached and Redis. Build and consume a RESTful API. Implement a real-time chat using WebSockets with ASGI. Create a production environment using NGINX, uWSGI and Daphne with Docker Compose.

This is a practical book that will have you creating web apps quickly.

What you will learn
  • Learn Django essentials, including models, ORM, views, templates, URLs, forms, authentication, signals and middleware
  • Implement different modules of the Django framework to solve specific problems
  • Integrate third-party Django applications into your project
  • Build asynchronous (ASGI) applications with Django
  • Set up a production environment for your projects
  • Easily create complex web applications to solve real use cases
Who this book is for

This book is for readers with basic Python knowledge and programmers transitioning from other web frameworks who wish to learn Django by doing. If you already use Django or have in the past, and want to learn best practices and integrate other technologies to scale your applications, then this book is for you too. This book will help you master the most relevant areas of the framework by building practical projects from scratch. Some previous knowledge of HTML and JavaScript is assumed.

Table of Contents
  1. Building a Blog Application
  2. Enhancing Your Blog with Advanced Features
  3. Extending Your Blog Application
  4. Building a Social Website
  5. Implementing Social Authentication
  6. Sharing Content on Your Website
  7. Tracking User Actions
  8. Building an Online Shop
  9. Managing Payments and Orders
  10. Extending Your Shop
  11. Adding Internationalization to Your Shop
  12. Building an E-learning Platform
  13. Creating a Content Management System
  14. Rendering and Caching Content
  15. Building an API
  16. Building a Chat Server
  17. Going Live

Antonio Mele: author's other books


Who wrote Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition? Find out the surname, the name of the author of the book and a list of all author's works by series.

Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Django 4 By Example Fourth Edition Build powerful and reliable Python web - photo 1

Django 4 By Example

Fourth Edition

Build powerful and reliable Python web applications from scratch

Antonio Mel

BIRMINGHAMMUMBAI Django 4 By Example Fourth Edition Copyright 2022 Packt - photo 2

BIRMINGHAMMUMBAI

Django 4 By Example

Fourth Edition

Copyright 2022 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Senior Publishing Product Manager: Manish Nainani

Acquisition Editor Peer Reviews: Suresh Jain

Project Editor: Amisha Vathare

Content Development Editor: Bhavesh Amin

Copy Editor: Safis Editing

Technical Editor: Aditya Sawant

Proofreader: Safis Editing

Indexer: Sejal Dsilva

Presentation Designer: Pranit Padwal

First published: November 2015

Second edition: May 2018

Third edition: March 2020

Fourth edition: August 2022

Production reference: 2230822

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham

B3 2PB, UK.

ISBN 978-1-80181-305-1

www.packt.com

To my sister Paloma.

Foreword

Django: The web framework for perfectionists with deadlines.

I like this tagline because it can be easy for developers to fall prey to perfectionism when having to deliver workable code on time.

There are many great web frameworks out there, but sometimes they assume too much of the developer, for example, how to properly structure a project, find the right plugins and elegantly use existing abstractions.

Django takes most of that decision fatigue away and provides you with so much more. But it's also a big framework, so learning it from scratch can be overwhelming.

I learned Django in 2017, head-on, out of necessity, when we decided it would be our core technology for our Python coding platform (CodeChalleng.es). I forced myself to learn the ins and outs by building a major real-world solution that has served thousands of aspiring and experienced Python developers since its inception.

Somewhere in this journey, I picked up an early edition of this book. It turned out to be a treasure trove. Very close to our hearts at Pybites, it teaches you Django by building interesting, real-world applications. Not only that, Antonio brings a lot of real-world experience and knowledge to the table, which shows in how he implements those projects.

And Antonio never misses an opportunity to introduce lesser-known features, for example, optimizing database queries with Postgres, useful packages like django-taggit, social auth using various platforms, (model) managers, inclusion template tags, and much more.

In this new edition, he even added additional schemas, images, and notes in several chapters and moved from jQuery to vanilla JavaScript (nice!)

This book not only covers Django thoroughly, using clean code examples that are well explained, it also explains related technologies which are a must for any Django developer: Django REST Framework, django-debug-toolbar, frontend / JS, and, last but not least, Docker.

More importantly, you'll find many nuances that you'll encounter and best practices you'll need to be an effective Django developer in a professional setting.

Finding a multifaceted resource like this is hard, and I want to thank Antonio for all the hard work he consistently puts into keeping it up to date.

As a Python developer that uses Django a lot, Django by Example has become my GO TO guide, an unmissable resource I want to have close by my desk. Every time I come back to this book, I learn new things, even after having read it multiple times and having used Django for a solid five years now.

If you embark on this journey, be prepared to get your hands dirty. It's a practical guide, so brew yourself a good coffee and expect to sink your teeth into a lot of Django code! But that's how we best learn, right? :)

- Bob Belderbos

Co-Founder of Pybites

Contributors
About the author

Antonio Mel is the co-founder and chief technology officer of Nucoro, the fintech platform that allows financial institutions to build, automate, and scale digital wealth management products. Antonio is also CTO of Exo Investing, an AI-driven digital investment platform for the UK market.

Antonio has been developing Django projects since 2006 for clients across several industries. In 2009 Antonio founded Zenx IT, a development company specialized in building digital products. He has been working as a CTO and technology consultant for multiple technology-based startups and he has managed development teams building projects for large digital businesses. Antonio holds an MSc. in Computer Science from ICAI - Universidad Pontificia Comillas, where he mentors early-stage startups. His father inspired his passion for computers and programming.

About the reviewer

Asif Saif Uddin is a software craftsman from Bangladesh. He has a decade-long professional experience working with Python and Django. Besides working for different start-ups and clients, Asif also contributes to some frequently used Python and Django packages. For his open-source contributions, he is now a core maintainer of Celery, oAuthLib, PyJWT, and auditwheel. He is also co-maintainer of several Django and Django REST framework extension packages. He is a voting member of the Django Software Foundation (DSF) and a contributing/managing member of the Python Software Foundation (PSF). He has been mentoring many young people to learn Python and Django, both professionally and personally.

A special thanks to Karen Stingel and Ismir Kullolli for reading and providing feedback on the book to enhance the content further. Your help is much appreciated!

Preface

Django is an open-source Python web framework that encourages rapid development and clean, pragmatic design. It takes care of much of the hassle of web development and presents a relatively shallow learning curve for beginner programmers. Django follows Pythons batteries included philosophy, shipping with a rich and versatile set of modules that solve common web-development problems. The simplicity of Django, together with its powerful features, makes it attractive to both novice and expert programmers. Django has been designed for simplicity, flexibility, reliability, and scalability.

Nowadays, Django is used by countless start-ups and large organizations such as Instagram, Spotify, Pinterest, Udemy, Robinhood, and Coursera. It is not by coincidence that, over the last few years, Django has consistently been chosen by developers worldwide as one of the most loved web frameworks in Stack Overflows annual developer survey.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition»

Look at similar books to Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition»

Discussion, reviews of the book Django 4 By Example: Build powerful and reliable Python web applications from scratch, 4th Edition and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.