Act Sem 21-28Jul - PHP obsolete? - IntersectionObserver - Django Tailwind - Shopping and +

Welcome to another week where I'll be talking about all the updates I posted, corresponding to the week of July 21st through July 28th, which is the current date.

YouTube Channel and Blog Updates

Opinion: "Fewer tutorials, more action"
An opinion video where I analyze an article that encourages us to watch fewer tutorials, less Google, less AI (I might add). The message isn't to criticize resources, but to take action.

Watching tutorials is fine, but don't forget the official documentation, which should always be your primary reference. Some people think that by buying a course or book, they shouldn't have to read the documentation, and that's a big mistake. In addition to reading and watching, you have to create on your own.

 "Programador autodidacta da consejo para aprender rápido: Evita Tutoriales y Google"  - https://youtu.be/EfS6RwbQaWI

Intersection Observer
I'm introducing a very interesting feature: the Intersection Observer, which allows you to observe a set of elements—for example, section titles—and, when they appear on the screen, execute an action.

In this case, I'm using it to highlight the active content next to it, giving the user a visual indication of where they are in the content. It can also be used for animations or other effects.

IntersectionObserver - Observa Elementos HTML cuando son visibles mediante el Scroll en JavaScript - https://youtu.be/nZAKa-dTWB8

Tailwind Django
A video I really liked: how to integrate Tailwind into a Django project using the django-tailwind plugin. I also integrated the typography plugin.

I love this because it allows us to work with Node in a Django project, which is one of the great advantages I like most about Laravel, especially using Livewire. Laravel lets you choose your build system and, above all, has native integration with Node, something it's had for years.

In Django, although it's a bit more complex (at least for me), it can also be done. So it has a lot of potential.

Video thumbnail

Django Tailwind - https://youtu.be/gy5L80fE8FA

Using AI with Laravel
I'll explain how you can use ChatGPT with Laravel, running a prompt from Laravel that communicates with the ChatGPT API and returns the response.

Video thumbnail

Cómo conectar Laravel con ChatGPT paso a paso (OpenAI API) - https://youtu.be/IxrgEwtOQIc

Command to view SQL
A command I loved but didn't know about: pretend. It allows you to view the SQL directly from the terminal, without executing it. This is useful if, for example, you're in production and can't access the terminal—typical on shared servers. This way, you can copy the SQL and execute it manually from another client.

Ver el SQL mediante php artisan migrate --pretend en Laravel - https://youtu.be/1nQxk7nc2Sw

Opinion: Technologies That Will "Die" in 2026
I analyze an article that says many technologies will be obsolete by 2026. My opinion:

PHP: I don't think so. It still powers half of the world's websites and is still actively being updated.

Ruby: It has a small community, but it's still alive.

Visual Basic, CoffeeScript, Perl: Yes, I consider them to be in decline.

Objective-C: Although Swift is replacing it, it's still used in legacy projects.

"These six programming languages ​​will be obsolete by 2026," says a developer

"Estos seis lenguajes de programación estarán obsoletos en 2026", según un desarrollador - https://youtu.be/V7qwQ-X2dSU

AIs aren't perfect, code suggestion issues
I had a problem with a setting using environment variables in Django. I wanted it to be defined only when necessary (in this case, to manage npm). If it wasn't defined, it should take a default value.

Las IAs no son perfectas, problemas en la sugerencias de código - https://youtu.be/UTKXLqTNdc8

I set it to null, but it didn't work. I asked the AI, and it got lost in its responses. Finally, I solved it in the official documentation, where the default value was clearly specified. Again, it's important to check the official documentation.

Unreal Engine 5.4 vs 5.6
On another channel, I posted a video about the improvements in Unreal Engine 5.6 compared to 5.4, mainly focused on performance, which is always appreciated.

Unreal Engine 5.4 frente a Unreal Engine 5.6: grandes mejoras de rendimiento - https://youtu.be/Z-VgftGYCm4

Course and Book: Django Shopping

Remember that Django Shopping is a translation and adaptation of the application we built with Laravel Livewire Shopping.

Most recent changes:

  • We're starting with Django + Tailwind (video already published).
  • Navigation tweaks using slots.
  • Simple styles for product details, containers, images, and filters.
  • Dark mode in progress.
  • Goal: To make it as similar as possible to the version built in Laravel Livewire (although we use Flux in Laravel, so there will be minor differences).

 

Django - Tienda en línea

 

Blog

  1. Django Tailwind: Errores con al sync con github y comando
    1. Vamos a hablar sobre un par de comandos de django tailwind y un error.
  2. Extra: Configuraciones distintas por ambiente y variables de entorno
    1. Vamos a explicar mostrar como crear configuraciones personalizadas por ambiente.
  3. Detalle: Slug
    1. Definimos el detalle del post mediante el slug.
  4. Filtros
    1. Vamos a crear los filtros para el listado.
  5. Hoja de Estilo
    1. Creamos una hoja de estilo estática en Django.
  6. Usar estilos de Tailwind
    1. Vamos a aplicar los estilos de Tailwind para crear nuestros componentes.
  7. Estilo cartas
    1. Vamos a crear un estilo para las cartas.
  8. Estilo botones
    1. Vamos a crear un estilo para los botones.
  9. Cambiar diseño: Listado, Post
    1. Aplicamos un diseño a la página de listado.
  10. Extra: Problemas con el servidor y Django Tailwind
    1. Te muestro algunos problemas que están ocurriendo al emplear Django Tailwind en Windows.
  11. Container
    1. Hablamos de definir el container en el contenedor.
  12. Estilo Imagen
    1. Muestro el estilo aplicado a las imágenes.
  13. Cambiar diseño: Listado, Filtros
    1. Aplicamos un diseño a la página de listado, los filtros.
  14. Estilo para los textos
    1. Aplicamos un diseño para los textos.
  15. Cambiar diseño: Detalle
    1. Aplicamos un diseño a la página de detalle.
  16. Sitemap
    1. Creamos el sitemap para el blog.
  17. Extra: Problema con NPM_BIN_PATH
    1. Vamos ha hablar sobre la configuración de NPM_BIN_PATH y las soluciones arrojadas por ChatGTP.
  18. TailwindCCS Typography
    1. Vamos a instalar un paquete para que configure tamaño y márgenes al texto.

I agree to receive announcements of interest about this Blog.

YouTube/Blog - NO tutorials + Coding - IntersectionObserver js - Django Tailwind - AI and its inventions - Laravel + ChatGTP - php artisan migrate --pretend - Obsolete technologies Django Course/Book: Blog, style, Tailwind, Detail View slug, and list with filters

| 👤 Andrés Cruz

🇪🇸 En español