Sep 30-06 Oct - @transition CSS - Laravel vs Django (Context processor), Translation - Flame FREE+
Content Index
I will comment on the updates and all the content uploaded from the week of September 30th to October 6th, which is the current date.
Community Books
We start, as always, with the community versions of all my books.
This week, the Flutter with Flame version is added:
- https://academy.desarrollolibre.net/libro/laravel
- https://academy.desarrollolibre.net/libro/primeros-pasos-con-django-5
- https://academy.desarrollolibre.net/libro/primeros-pasos-laravel-livewire
- https://academy.desarrollolibre.net/libro/primeros-pasos-con-bootstrap
- https://academy.desarrollolibre.net/libro/primeros-pasos-con-electronjs
- https://academy.desarrollolibre.net/libro/primeros-pasos-con-fastapi/
- https://academy.desarrollolibre.net/libro/componentes-y-animaciones-personalizadas-en-flutter/
- https://academy.desarrollolibre.net/libro/primeros-pasos-con-codeigniter-4/
- https://academy.desarrollolibre.net/libro/flutter-flame-desarrollo-de-juegos/
Remember that if you want to get this community version, it is available both on Leanpub and in the academy's application
Just filter by Flutter and you'll have free access once registered.
You can download the book: over 100 pages ready to use and learn totally free.
Django Book/Course Part 1 Finished
The Django book is no longer in Early Access, now it's at the same level as the Laravel training (online store course).
Both have the same content —Django even has a little more.
The recommended way is to acquire them as a package, and from the academy you have the informative links:

News on YouTube and the blog
On YouTube and the blog I've been publishing introductions so you know exactly what we are working on.
In this case, the most interesting topic is the payment gateway with Stripe and PayPal, the core strength of the training.
- I explain how to handle:
- Payments with Stripe and PayPal,
- Pay now button,
- Coupons and validations,
- Error handling, among other features.
- All that is covered in the complete course.
Introduction 5: Stripe and PayPal Payment Gateway + Online Store with Django - https://youtu.be/EWNe28RVF88
Context Processor in Django
I also uploaded a video about the Context Processor, which explains what it is used for.
We also apply this concept in the complete training.
Basically, a Context Processor allows you to create custom variables for templates, something like a middleware but focused on views.
For example, we can add logic to know if the user has dark mode activated or any other preference saved in the session, and then use it in any template.
A very useful tool.

Context processor Django: Create Global variables in Template - Toggle Dark Mode with Tailwind 4 - https://youtu.be/-lcu0Or_uOY
View Modularization
Another topic we covered was how to organize and modularize views.
I had a file with about seven or eight classes, and I show you how to make it more reusable by creating associated views.

How to Organize your Views in Django: Separate a Giant views.py into Clean Modular Files - https://youtu.be/XGew_JuNduk
This way we avoid having a single giant and "spaghetti" file.
All this is organized within a folder called views, which works as a module, keeping the imports the same:
Laravel vs Django Comparison
A comparison that I like to do: Laravel vs Django, which for me are the most complete web frameworks in PHP and Python.
Translation handling has its advantages and disadvantages in both.
Personally, I prefer Django/Python's, because its structure does much of the work automatically, without the need to build everything manually, although with more steps.

Laravel vs Django Translation Handling - https://youtu.be/JKh4iLCMRLo
I will soon publish an article showing the complete translation process in Django.
The Flutter with Flame community book is now available:
Ninth Community BOOK (FREE 110Pag): Flutter Flame - Create 2D Games on Mobile - https://youtu.be/FK7lim6NJsA
I also shared some security recommendations given by a supposed hacker:
Don't share more information than necessary with AIs.
Ethical hacker reveals the TRUTH about AIs (and what you should never share) - https://youtu.be/WulGqpVtZ7o
Ethical hacker reveals the TRUTH about AIs (and what you should never share) - https://youtu.be/WulGqpVtZ7o
He also mentions applications that are being displaced by AI, such as translators or search engines in very specific niches.
10 apps that I have replaced with AI - https://youtu.be/fpAxaMZcTCE
Personal video: bookmarks and tab groups
I also uploaded a personal video showing something that has been very useful to me: bookmarks and tab groups.
Bookmarks or Tab Groups? I explain the difference in Chrome - https://youtu.be/FQ_W2tMf0kk
Groups allow you to compress several pages into a single block, and I explain how I use them, so you can also apply it to your daily life.
Progress of the Django Store course and book
We continue to make good progress with the main course and book, now in their final block.
This week I published the View Transitions part, to achieve smooth transitions between views.
From the link you can see the application uploaded in Python, part of the training.
When selecting an element, the animation is noticeable thanks to View Transitions in CSS.
It is also available in demo mode (with the option to enable or disable).
In addition, design improvements are included, interface variations so you can customize it to your liking, and a pending video on setting up the PayPal environment for developers.
Demo of the app at:
https://acy29.pythonanywhere.com/admin
Django - Online Store
Several changes
- Introduction to the course, Create an Online Store in Django
- Redirect from the root
- We create a redirection from the root and update the logo link in the header.
- view-transition: CSS for switching between pages
- We are going to create a smooth transition between pages.
- view-transition-name: transitions between images
- We are going to learn how we can make transitions between images.
- Demo Mode: Introduction
- We talk about how we can implement a demo mode.
- Demo Mode: Implement
- We implement the demo mode.
- Deploy on Pythonanywhere: Previous steps
- Previous steps before uploading.
- Deploy on Pythonanywhere
- We see the steps we have to follow to publish a Django app on Pythonanywhere.
- Better design: Inspiration
- Let's talk about where we can look for sources of inspiration for our app and how we can generate it using AI.
- Better design: Several
- We are going to make some subtle changes to improve the design in the app.
- Update on pythonanywhere
- We show the operations we have to perform to update a project on PythonAnywhere.
- PayPal, Keys, packages and developer mode
- We talk about how we can obtain the PayPal credentials.
I agree to receive announcements of interest about this Blog.
Community Version, Flutter Flame, and Ready for Django Shopping Training Blog/Youtube Laravel vs. Django, Translations - View Module in Django - AI Recommendations, 10 Apps I Replaced with AI - Django Context Processor Course/Book - Redesigns - View Transition - Deploy Python AnyWhere