Web Development with Django: Learn to build modern web applications with a Python-based framework
$9.99
Price: $9.99
(as of Oct 26, 2024 23:19:51 UTC – Details)
Learn how to create your own websites simply, safely, and quickly with Django by tackling practical activities based on realistic case studies
Key FeaturesUnderstand Django functionality and the Model-View-Template (MVT) paradigmCreate and iteratively build a book review website, adding features as you build your knowledgeExplore advanced concepts such as REST API implementation and third-party module integrationBook Description
Do you want to develop reliable and secure applications which stand out from the crowd, rather than spending hours on boilerplate code? Then the Django framework is where you should begin. Often referred to as a ‘batteries included’ web development framework, Django comes with all the core features needed to build a standalone application.
Web Development with Django takes this philosophy and equips you with the knowledge and confidence to build real-world applications using Python.
Starting with the essential concepts of Django, you’ll cover its major features by building a website called Bookr – a repository for book reviews. This end-to-end case study is split into a series of bitesize projects that are presented as exercises and activities, allowing you to challenge yourself in an enjoyable and attainable way.
As you progress, you’ll learn various practical skills, including how to serve static files to add CSS, JavaScript, and images to your application, how to implement forms to accept user input, and how to manage sessions to ensure a reliable user experience. Throughout this book, you’ll cover key daily tasks that are part of the development cycle of a real-world web application.
By the end of this book, you’ll have the skills and confidence to creatively tackle your own ambitious projects with Django.
What you will learnCreate a new application and add models to describe your dataUse views and templates to control behavior and appearanceImplement access control through authentication and permissionsDevelop practical web forms to add features such as file uploadsDevelop a RESTful API and JavaScript code that communicates with itConnect to a database such as PostgreSQLWho this book is for
Web Development with Django is designed for programmers who want to gain web development skills with the Django framework. To fully understand the concepts explained in this book, you must have basic knowledge of Python programming, as well as familiarity with JavaScript, HTML, and CSS.
Table of ContentsIntroduction to DjangoModels and MigrationsURL Mapping, Views, and Templates Introduction to Django AdminServing Static Files FormsAdvanced Form Validation and Model FormsMedia Serving and File UploadsSessions and AuthenticationAdvanced Django Admin and CustomizationsAdvanced Templating and Class Based Views Building a REST API Generating CSV, PDF, and Other Binary FilesTestingDjango Third-Party LibrariesUsing a Frontend JavaScript Library with Django
ASIN : B08MB85B8Z
Publisher : Packt Publishing; 1st edition (February 25, 2021)
Publication date : February 25, 2021
Language : English
File size : 40468 KB
Text-to-Speech : Enabled
Screen Reader : Supported
Enhanced typesetting : Enabled
X-Ray : Not Enabled
Word Wise : Not Enabled
Print length : 826 pages
Page numbers source ISBN : 1839212500
9 reviews for Web Development with Django: Learn to build modern web applications with a Python-based framework
Add a review
You must be logged in to post a review.
$9.99
Dayn Hardie –
Great product!
I have built several personal Django Websites using various online resources, but this book really helped me get a better grasp on some of the key concepts in Django, how Django uses API’s to talk to databases, how templates are rendered, etc. Great resource for learning Django and making you more aware of why Django acts the way it does, especially in the settings configurations, instead of just being a black box.
Kay –
Excellent and to the point
Each chapter is explained in detail for a newbie. Book goes in an order with each chapter. I would love to get an updated one with the next iteration of the python level from 3.0 and higher. Would buy again from these guys. Thank you
nicorellius –
Overall, pretty solid book on Django development
Overall, this is a good book. It hits most of the major points and does it in a clear manner. I like the layout and cool features, like Github layout for this project is nice, and I really like the final folder idea. I also like the overview bubble that explains what the chapter will be about. Good guidance technique.Some negatives are the author suggests using SQLite for development and this is actually a bad idea for many reasons. It creates divergent settings and is not what you will be using in production, so any automation or testing is now inconsistent. After more than a few handfuls of Django projects since 1.3, I personally recommend using the same DB that you will use in production: PostgreSQL (MySQL and MSSQL are horrible).Another thing that I think should be included in all development books is using source control. While out of the scope of the book to cover git in depth, a brief overview and regular reminders to commit code would be helpful. In this day and age, with GitHub and Bitbucket, there is no reason to develop anything without storing it in a VCS repo. One book that does this very well is “Test-driven Development with Python” by Harry Percival. This book is a great example of how to do this correctly.Since building Django projects and apps is so well established, as long as the basics are covered, the book can be pretty good. It’s these little extras that make the book great: testing, source control, cool tricks. Books that just rehash the docs aren’t that valuable. I want a book that gives me insight into the process.
AA –
5-star definitely
This is the most educational book on django for me.
AX –
A Standout Amongst the How-To Django Books!
It is clear to me, the authors and publisher put a ton of effort in to bring us a very thorough and well organized book on Django development. They cover an amazing amount of detail across all the various aspects of developing and deploying a Django web application. Here is my take:Target audience and perceived prerequisite skill level needed:- Intermediate, with prior knowledge of web technologies- New to Django, with some prior web development experience- True beginners may be lost, or find it slow going through the book- Advanced developers may find most content redundant, or find the book useful as a quick referenceSubject matter domain:- Web application development with Django and ReactScope of instruction:- Django, Python, Javascript, HTML, React, JSX, VirtualBox, man pages,ssh, (it goes on and on – there is a TON of content in this book!)Technical relevance:- Up-to-date, covers the most recent, usable tools and techniques available in 2021.Code examples quality and accuracy:- Example code is easy to read and accurate.Instructional effectiveness and ease of learning:- Text based descriptions of how code works difficult (for me) to parseBook organization- Table of contents covers all the appropriate categories, and the publisher provides links to two bonus chapters on their website to cover deploying Django to production servers.Writing quality, illustrations- The writing is clear, and leans toward the technical side of things. While I enjoy a little more personality when I’m reading a development book, the authors get the job done- The illustrations and screenshot examples are detailed, and there are plenty of them.Areas for improvement- While the instruction and examples of how to implement React as a front end are good, I’d like to see an expanded front end development section in a book like this.- I realize its a challenge to cover a wide range of content deeply, yet I’d like to see more detail on the intricacies of the ‘gotchas’ in Django development: like choosing between virtual environments or how to integrate a static files tool like webpack (I’m asking a lot of an already 800+ page book)
eSteve –
This Book is Dated
While the book is helpful, it is dated. It is written for version 3.1. There is no addendum with corrections. So, when something doesn’t work I left with trying to figure out if I’ve made a mistake or there is a Django version issue.Also, as you get to the middle and later chapters, there is a lot of voodoo (directions to do things with no explanation of what you are doing).
Izmir K –
It is a very good book to get you started into the world of Django. I only am halfway through it, and so far I like it. I find that often it goes enough in-depth to explain how Django works in the background, which is pretty much what you will not get from most of the youtube tutorials out there.If you are new to web development as well as Django, this book is definitely a good starting point as it explains also quite a few web development concepts. If you are not new to web development but are moving from another language, you might find that a bit annoying!The other two things that I found to be extremely annoying are the fact that the whole content of this book is based on Django 3.1 (The current version is 4.0), and then the fact that often you are asked to check the full code example on github (extremely annoying if you have the paperback copy).
Nicola –
Lasciate perdere i vecchi testi che si approcciano allo sviluppo web con python in modo troppo python-centrico.Se venite esempio dal PHP e volete muovere i primi passi verso lo sviluppo web con python questo libro fa perfettamente per voi!
Vittorio –
Si tratta di un validissimo manuale di programmazione, ben articolato e completo di molte illustrazioni ed esercizi; guida il lettore attraverso un percorso di apprendimento guidato e la creazione, step-by-step, di una semplice applicazione web. L’inglese usato dagli autori è essenziale e di facile lettura.Unica pecca (per cui 4 stelle) è il fatto che si costringa l’utente a scaricare da internet buona parte degli esempi, anche quelli che potrebbero essere riportati direttamente sul libro o su un CD-ROM, come si faceva una volta, anche se questa cosa può sembrare desueta e anacronistica.Poi è chiaro che la pubblicazione di contenuti on-line, come gli errata corrige, gli esempi o, come nel caso di questo libro, di due capitoli bonus aggiuntivi sia un plus quasi irrinunciabile, MA il prodotto di base DEVE essere completo, e non da integrare “a manina”, cercando i pezzi mancanti fra link non funzionanti o dismessi, come proprio nel caso di quest’opera!