Update week 7Apr-14Apr - Laravel 12 BEST - Don't Use Flutter WebViews - Django Config
Welcome to another week of updates in which I'll talk about the updates that occurred in all the material I've uploaded from the week of April 7th to the week of April 14th, so starting as always with last week's update.
YouTube/Blog
The other thing is that this is a bit late, but it's no longer free. That is, only version 6 would be free. Starting with version 7—and currently, when we have version 8—you already need a paid license. I think you can use it without a license, but you're constantly prompted to purchase one. I don't know how much it costs because I haven't been able to find that information. It seems you have to install it before it sends you to the website, because I don't see the price on the official website.
Still, for that I use Laravel Herd, or for now I'll also stick with Laragon version 6.
Lo Mejor de Laravel - Su integración Nativa con Node - https://youtu.be/epXOfIL_RuU
Here's a video with a bit of personal humor. What I'd like most is to also be able to use Vue in Laravel Livewire, instead of Alpine. I think that would be a really good integration, or even improve what we have with Inertia, making it more modular. I always find it a bit funny that we have better modularization with Livewire than with Vue, which is a highly modular framework. But anyway, I've also covered that in several videos:
Laragon es de Pago, necesita una Licencia desde la versión 7, Pero... - https://youtu.be/9LUmKlqQFBI
Here's a video with a bit of personal humor. What I'd like most is to also be able to use Vue in Laravel Livewire, instead of Alpine. I think that would be a really good integration, or even improve what we have with Inertia, making it more modular. I always find it a bit funny that we have better modularization with Livewire than with Vue, which is a highly modular framework. But anyway, I've also covered that in several videos:
Mi Fantasía Más Oscura... Laravel Livewire + Vue (En vez de Alpine) sería bellisimo... - https://youtu.be/3Z_i9SuscM8
Here are also some videos that are, so to speak, summaries of sections I'm working on for the courses. For example, for Livewire, the summary of column sorting:
Ordenación de Columnas en Laravel Livewire: Resumen y Explicación - https://youtu.be/gVlEJfvPeYA
And for inertia, what is the shopping cart:
Carrito de compras - Shopping carts en Laravel Inertia, Resumen - https://youtu.be/GXSb6HYgZMc
For Django, we'll continue a bit with our little online store, which I'm releasing here. In this case, verifying a successful PayPal purchase:
Verificar una compra exitosa de PayPal - #3Django #Python 31 - https://youtu.be/9PrVDPKtues
And also an important video: how you can create custom configurations in Django. It's really easy, just add the keys and their values to the settings file:
Configuraciones personalizadas en Django - 22 - https://youtu.be/ylNPMmysyVc
Here are also some videos that I consider very important: the part about the keys to modularization. For me, in Flutter, I give you some tips—because, at least I'm like that, I'm always correcting myself—and that's why I'm always developing. We always have to create applications to grow as developers, see what's wrong, see how to improve them, modularize them, and compare them with other developments.
In this case, what I consider a common problem is when we're defining our custom widgets. For example, a form. We may have the bad habit—at least I do—of creating it as quickly as possible using a method instead of a class. But that can be a mistake if the widget is nested or complex, because you'll start creating methods like crazy. And in the end, you'll have unreadable code, with all those methods at the same level, and not very reusable. Obviously, a method can't compete with a class and all its advantages, in addition to other problems such as the number of properties declared in the root class.
Las 2 claves en la Modularización en Flutter, Clases y Métodos por parámetro. - https://youtu.be/ea-LVO7V_bE
And here's another video I recommend if you have HTML content you want to parse or display in your Flutter app. Here's a great way to do it, without using WebViews. We simply translate that code into its equivalent widgets: paragraphs to Text, images to Image, and so on.
NO uses los Webview en Flutter para MOSTRAR Contenido HTML, mejor usa ESTO... - https://youtu.be/2DcecsxliAg
Courses and Books
For courses and books, for Inertia, we have improvements and changes to the shopping cart:
- Cambios hasta este momento en el módulo de carrito de compra.
Mejorar diseño: Listado de Productos
Vamos a mostrar el diseño para el listado de productos.
Mejorar diseño: Agregar item desde el detalle del producto
Vamos a mostrar el diseño para agregar productos al carrito.
Nombre del producto
Vamos a mostrar el título del producto en el detalle del item del carrito.
Remover opción de agregar el producto en detalle si ya está en el carrito
Si el item esta en el carrito, quitamos la opción desde el detalle.
En detalle, resaltar producto en el carrito
En detalle, vamos a resaltar el item actual en el carrito.
En detalle, Animación al agregar producto en el carrito
Creamos una sencilla animación para mostrar/ocultar la opción de agregar un item al carrito
As for Livewire, a Blog-type app among others:
Cambios hasta el momento: Modulo de Ordenación
Extra: Aplicar cambios a componente de Volt: Modulo de Ordenación
- Cambios hasta el momento: JS de Livewire + CKEditor
Extra: Aplicar cambios a componente de Volt: JS de Livewire + CKEditor
Siguiente sección - Extra: Wire:confirm
- - Veremos cómo crear un diálogo de confirmación mediante un atributo.
- * Componente de Carta
- Creamos un componente de carta. - * Layout
- Vamos a crear y configurar un layout para el módulo de blog.