Act01-08Sep - Livewire in Laravel Core - Gemini CLI From Scratch - Python + C++

Video thumbnail

Welcome to another week. I'm going to talk about all the updates posted from September 1st to September 8th, which is the current date.

Community Versions of Books

We're starting off, as always, with the community versions. This week we're adding the FastAPI version, where you can download 60 free pages about this popular and modern Python Web framework.

It's basically the introduction: getting started with FastAPI, routing, creating an application, and little else. It's a book I still need to work on and improve.

These are the full books:

Early access: Book

Early access to the course and book Creating an Online Store with Django is also now available.
For now, it's available in digital format (not PDF or EPUB), directly through the viewer.

This course is a translation and adaptation of what we did with Laravel (an online store with Laravel), and will be available on Udemy later:

YouTube and blog posts

Django Tutorial: A video where I explain what to do if you have a Django project, such as how to download it, create the environment, install dependencies (requirements.txt), and configure it in VSCode.

Clone a GitHub project and create your virtual environment in VSCode step by step. - https://youtu.be/RVOjt12HdIk

Django Demo: An introductory video creating the models we'll use throughout the training:

Demo: Introduction to the Django Shopping Section - Templates 01 - https://youtu.be/xCdY8PKIVoA

AI Project with Gemini CLI: I show how to create a project from scratch with this tool.

Using Gemini CLI, in a project from scratch, the new way to program... 3 - https://youtu.be/anPRU6amSBA

Article: Python democratizes programming: an analysis of how Python facilitates visual tasks that are much more complex in C++. It's not that one is better than the other, but rather that they complement each other.

Python democratizes access to programming, and could mean the end of C and C++. - https://youtu.be/ZSOAUVIEOpg

Opinion: Laravel Livewire: I discuss why I believe Livewire should be part of Laravel's core, as it represents a natural evolution of its components.

Livewire should be part of Laravel Core - https://youtu.be/3QEqzGPdnTs

Promo video: Electron JS community version released for FastAPI.

Opinion: Duolingo and AI: Criticism of how this app has limited free use and how it attempted to replace employees with AI, only to have to backtrack. I reiterate that AI should be used as a support, not a complete substitute.

Course Progress\Django Shopping Book

I am currently working on the Django Shopping (online store) course and book.

  • We are developing two approaches:
    • Specific product store (e.g., a book).
    • Generic product store (e.g., shoes, desks).

With the layer system, we were able to implement another online store parallel to the initial one but much faster. This is everything covered this week:

Django - Tienda en línea

Tienda: Producto

  1. Store: Pasarelas: Template
    1. Vamos a mostrar la implementación de la pasarela de pago en el template.
  2. Store: Filtros por tipo: Listado
    1. Vamos a crear el filtro por tipo producto para el listado de la tienda.
  3. Store: Filtros por tipo: Listado, Clase abstracta
    1. Vamos a crear una clase abstracta para los tipos y aprovechar su estructura como lo es, la carga de filtros
  4. Store: Filtros por tipo: Detalle
    1. Vamos a agregar el tipo de producto en el filtro de detalle del producto, para evitar que la ruta choque con la ruta configurada en la clase anterior.
  5. Store: Vistas, refactorizar
    1. Vamos a organizar nuestras vistas de la tienda en archivos apartes para que sea más modular.
  6. Enlaces en el template maestro de la tienda
    1. Definimos el enlace de la tienda en el template maestro.
  7. Helper para los templates de pasarelas de pago
    1. Vamos a crear un template para la pasarela de pago.
  8. Clase global para registrar pagos: Solución IA
    1. Vamos a crear una clase adicional para registrar los pagos de los libros y productos.

Varios cambios

  1. Autenticación de usuarios: Primeros pasos
    1. Vamos a hablar sobre algunos paquetes que podemos usar para autenticar, los analizamos e indicamos cual empleamos.
  2. Autenticación de usuarios: django-allauth, instalar
    1. Vamos a instalar y configurar inicialmente django-allauth
  3. Autenticación: Probar
    1. Vamos a probar el módulo de registro y login.
  4. Autenticación: Personalizar templates
    1. Vamos a conocer cómo personalizar los templates en Django.
  5. Autenticación: Personalizar templates con Tailwind
    1. Personalizamos un par de templates de Auth All como lo es el de login y registro.
  6. Templates con diseños diferentes: Tag
    1. Implementamos un método/directiva para poder verificar si un template existe.
       

I agree to receive announcements of interest about this Blog.

Community Books and Django Shopping Course Youtube/Blog - Python Web, from GitHub to VSC - Gemini CLI From Scratch - Python + C++ - Livewire in Laravel Core Django Shopping Course and Book - Product Store, Auth Module

| 👤 Andrés Cruz

🇪🇸 En español