Week 6 Update Jan-13 Jan - FastAPI Data Example, Apress Book, CodeIgniter 4 Update
Hello and welcome to another week in which I'm going to talk a little about the updates I made for the mentioned week which in this case is not two weeks as in the case of the previous week but is not just one here we have few videos on YouTube if we compare it with the rest of the updates to the past updates since due to issues such as who says vacations that everyone is in another mess I was simply publishing one video a day instead of the two videos that I always publish a day so you can see that there are a little less videos I'm going to quickly explain then I'm also going to do a I'm going to explain some more things about the courses and books so starting.
YouTube
As always with what is the YouTube channel as the first video here we have what is the plugin of the type what you see is what you get here it has its acronyms which are the ckEditor type plugins which is the one you can see here on the screen in this case remember that it is focused on Flutter then surely if you have projects like that that are multiple applications in this case a web application like the one you are seeing on the screen and an application in Flutter and you want as quill says to migrate what you do here the Flutter application or you want to replicate this also what was discussed in another video you are going to need at some point if you are using this plugin of this type on the web you are going to have to also replicate it in flurer in flurer as we do not work with html the thing changes a bit in this case a Delta is used which is a kind of json with a format And this is a plugin that allows us to do that configuration or rather Here we have with this plugin a kind of WYSIWYG to maintain or create rich content but you are going to have to translate what is html to Delta and Delta html then there I'll tell you a little bit about all that, the update from the last two weeks, as you can see here the date
Here we also have the Stripe that I'm working on right now in the Laravel base project, then there is the component to make online payments, the Stripe component, which is a very simple way to make recurring payments or a one-time payment, eh, we'll talk about it in several videos, remember that I only publish some videos, that is kept in the payment course and in the book, so here we have some parameters to configure the Vue stripe plugin
Again, continuing a little with the same thing and this is a little bit of personal content since I make very long courses, so especially when one is consuming a long course, it sometimes becomes a little tedious, and here I also wanted to clarify a point about whether it is necessary for you to have all the content given in the courses, and the answer is no, obviously I don't record it to simply grow in hours, I believe in the content that I am teaching, but I understand that it can be a little tedious, so I don't know if you remember that at some point in the course from Arabic, above all, I did that. I began to place a menu in the sections that was loose, nobody understood me and people got complicated, so obviously I did a class explaining what that was, but it became very tedious for everyone and in the end I didn't follow that, as who says, by that guideline, but what I meant with this was that once the basic part was completed, that part would be mandatory, the first sections, the first 10 sections, those sections of the course, something like that, and the rest you can consult in the order you want and above all, if that is what you want, simply consult it. You do not have to always develop the project word for word, but I leave that to the student to decide. That is to say, at some point when you already have the basic knowledge, you already know how to work and you are interested in learning a particular section, you could perfectly skip that section and skip the rest, directly consult it either in the book, if you are also interested from the book, which obviously you can advance much faster, or directly by analyzing the source code, that is to say, you already have many ways to advance without needing to see all the content, obviously I record it, that is to say. Every time I make a change to the projects I am forced, so to speak, to explain it to you in a way at the level of a video or develop it from scratch, which is what I did and that is why the course is growing a lot, the courses because I see that there are many interesting topics and I am simply creating classes associated with that, explaining the detail since someone may say that what is useful to one person who sees up to section 10 may be that the other person needs to see a little more content because it goes a little slower, each person learns in a different way, so it all depends on the learning and how each person takes it and that is a little what I talk about in that video
This is a video that I wanted to publish a long time ago that I had told you a while ago that the publisher La Press wrote to me, that is, I did not look for it, they wrote to me that they liked my Flutter Flame book and therefore I had some expectations based on that and I will tell you a little about my experience that in the end was really a little disappointing but well I do not regret it either
This is another video that I like to talk about a little, it has not arrived yet, it has not arrived on my Mac mini, it took me two months to send it, it is still on the way but well it should arrive this week, well this week in the United States to then send it where you know and I will talk a little about a point that I consider important, which is storage, since the minimum storage is 256. But this can quickly become scarce. That is, 256. Remember that we really have about 240 and from there you have to deduct what you also have in the operating system, so in the end you are left with about 170, so for current times it may be very little if you want to install it for free. example a little game that these are not gaming computers and it will eat up 40 50 100 GB and it is impossible to work like that and I also talk not so much about that but a problem that one will always have on this type of equipment that are the updates and that is what I talk about there if for example you are installing scode that for me at least takes up like 7 8 GB at least and it says that it is less There I show you but in principle it is that when you are downloading an update that usually when it changes from a major version That is to say from 15 to 16 the entire editor is downloaded again That is to say the 7 GB are downloaded On the one hand it has the 7 GB occupied by the editor that you have installed and on the other hand the 7 GB are going to be downloaded again That obviously that is going to be downloaded to disk it is not going to be it is not going to be in memory so it is taking up double but also when it goes to install it also needs available space so I think that in that case it is also exactly the same space that the program that you want to update has occupied since this is not only in scode but it is basically any program that you have installed that works this way then these are considerations that you have to take into account not just saying Well I have a Mac I am going to have 170 available scope takes up seven it is already simply 55 a question like that and installing does not take up that much eh crap that the system generates that is like 40 GB also then I have a lot of space left it does not work like that because believe me that space is taken up very quickly I already showed you in the previous videos to which I recommended in the case that you at least go for the 512 model and that is what is talked about in this video
- Flutter Quill - Plugin WYSIWYG o de Contenido Enriquecido de HTML - https://www.youtube.com/watch?v=VeOIZqbabsw
- Actualización semana 16Dic-6En - Testing Livewire, Ofertas marketing, Stripe, ToDo Alpine - https://www.youtube.com/watch?v=_ZXL4CfkuFk
- Vue Stripe: Componente para realizar pagos en línea 5 - https://www.youtube.com/watch?v=mLYqoSjoDBs
- Parámetros para configurar el Plugin de Vue Stripe 8 - https://www.youtube.com/watch?v=kY4zXYtq24Q
- ¿Es necesario ver TODO el contenido dado en los Cursos? - https://www.youtube.com/watch?v=msrhHVIkyHc
- Mi Experiencia publicando mi libro de Flutter Flame en ingles con la editorial Apress - https://www.youtube.com/watch?v=L4CH-irfOtU
- Problema de almacenamiento de los Macs de 256, Debes Tener el TRIPLE de Espacio Disponible - https://www.youtube.com/watch?v=f2jeAQOdhRw
Blog
As for the blog, since I have it here, there are not many changes, it was not a very smooth week either. What was commented on in the apress publication, the videos on the arab stripe plugin. Here I also published one from alpin that I had pending there for in this case the X model and the x-text so you can see how they work together. Here we have another stripe plugin, the Flutter plugin that I was telling you about, the qu one, and I think we are basically with all the publications since I always publish based on what I also publish on YouTube but its written format, so that's all with the updates at the blog level.
Siguientes Pasos y Actualización de Cursos/Libros
Let's go with the courses and books, which is a little more interesting. You can see that I went a little crazy and I'm working on several little things. Here it is also important since I had the whole blessed year working on the Arabic courses. You understand, in the Laravel base course that I am still working on, giving a little more material, although I had it stopped for a long time. From there I jumped for the Inertia one, which by the way, Inertia 2 is coming out. And although it does not have major changes, then I can do an update for Inertia and Livewire 3 in its version, obviously with Laravel 11. I recorded the courses from scratch, as well as the Laravel base one, and that is why I have been working all year since Laravel 11 was released, which was in March, if I remember correctly, 2024. It is now January 13, 2025. And I am still working on the Arabic courses, but the whole year was always working on the Arabic courses, mainly, so since I finished that, now in a few months the Laravel 11 course will come out. Laravel 12 but again I'm not going to record in this case again I'm not going to record the course from scratch I'm simply going to update the parts that I considered crucial and this year I'm not going to apply it so much to Laravel although I do have a project out there that I want to take out later when Laravel 12 comes out and once I update all the courses and books from 11 to 12 the specific things if I want to create a new course and book that is to create an online store I think it would be very interesting therefore it's not that big a project either but that's another topic of the rest 1I want to update and work a little on the old content apart from that I also have other projects like I told you I'm working on a game that I also hope to launch this year and I'm cutting a little bit the content that I upload to the books and courses since I think I have enough I don't want to be going into too much depth on the same thing so here you can see that I'm working on several little things I'm taking up old projects and courses again since I don't want them to stay there if not I do have to update I'm updating something
The first one I worked on was a bit on FastAPI in which I had pending the use of the tests, sorry for the example data that I had pending eh I recorded it from scratch to that section and it's the one you can see here here is data for well test data for the for I recorded it from scratch for the rest I simply updated the project to the latest version again I downloaded the old version that they had in my repository on github I created a new project or rather I didn't create a new project I simply installed the packages from scratch using pstal fasap everything else and there I saw if I had any decate I already updated it although I didn't have any decate and yes and therefore the project already worked perfectly but from this pending section from when I recorded the course that they are changing some things when I was recording it and I preferred to wait and at this moment I updated it so I took advantage and updated the FastAPI course for the rest everything should work correctly for the Livewire and Inertia course I don't know if it's also indicated here Well also I finished the one that was missing I have already finished all the parts of the tests here you can see that I have already recorded the introduction which is the last class that I record for the courses I have already finished with that I have already finished the courses towards Laravel and I can focus on something else because of what was commented in the Laravel one I am working right now with casher with Laravel with stripe I will continue a little on that seeing several little things now this week I will work on the subscription part and here you can see the content they are simply redundant seeing some characteristics that can be interesting of sty with the caser obviously and here also following a little
Recapitulating old projects and old courses, I'm working on the CodeIgniter 4 course that I just started right now just before recording this class in which you can see here that I had not worked on this course for 3 years to see if I find one, I'm going to work here in APA here you can see the date 3 years therefore through time I will manage to rescue it for obviously it is a course that I also like, a technology that I also like and I did not want to lose it since I have a lot of recorded material there. So I do not think it is wise to abandon it like most people do, so my intention is that it is something that I have for years, literally years, which is to record the integration layer with viw, that is, we create the resapi, I want to consume it through an application in Vue, which is what I always do from Django, Flask, I think fapi did not do it, eh, I was also pending there, too, later I will scale the fapi project a little bit and the others, Laravel obviously, and in this case C4 could not be left behind, I want us to consume that a very simple application in Vue so that it is exemplified. eh the integration since the idea is not to learn Vue but it is like who says to give value to what is the purpose of the REST API is that someone consumes it not that it is just a bunch of text without doing anything and that's it but that the why is understood that in this case it is to consume it from something and that something in this case is Vue But it can be for example an application in flurer in native Android Swift whatever you want but before that I considered it important to clarify some things which is precisely what I am commenting on that I had a long time without working in codad 4 and therefore it was a project already decate here you can see that some are 4 years old and how was what I did to have the project here working again since notice that it is working perfectly then in this video I talk to you a little about that eye that all this I am also going to publish all this right now by the way I talk about this I am also going to publish it on YouTube since they are general videos like this one I talk to you about the versioning part and everything else here also about larabel he that in this case is with codiner 4 since larabel and codin nader share both the same folder structure and obviously their bases Although cader 4 the bases in stores the dependencies are much simpler than those of Laravel and therefore the Laravel Herd works perfectly which is what you are seeing here on screen and that I talk about in these two videos and then the next one I start with the live application regarding lightware and inertia here it also occurred to me this morning I think it is important to publish a video to move it to production or do the deployment then the good news is that it is exactly the same as we do in the arab base so we do not have to make any additional changes but I wanted to comment a little there and from there I publish the class that I recorded for the ar base course I also publish it here but I wanted to make that clarification so that it is understood independently if you are using elare inertia or base they are exactly the same steps so well those are all the updates at the level of the Blog course and the YouTube channel and without further ado this is going to be the coupon of the week see you next week
Integración con Livewire e Inertia
- Laravel a producción
CodeIgniter 4
- Actualizar versiones antiguas de CodeIgniter 4
- Laravel Herd
Integración con Livewire - Prueba
Introducción
Prueba para filtros
Vamos a crear una prueba para el filtro de testing.
Laravel Cashier, Vue y Stripe
El Resto de las operaciones que vamos a ver
Vamos a hablar sobre los siguiente videos en los cuales va a ser funcionalidades específicas.
Otros métodos: Crear un customer
Vamos a conocer como crear un cliente de Stripe y asociar a un usuario de la app en Laravel al tener el trait billable.
Otros métodos: Balance
Vamos a conocer como podemos emplear un sistema de balance en Stripe.
Métodos de pago, Configurar Tarjeta: Primeros pasos
Vamos a hablar sobre la integración y crear la ruta.
Métodos de pago, Configurar Tarjeta: Implementación
Vamos a realizar la implementación para generar el bloque de carta.
Métodos de pago, Configurar Tarjeta: Guardar tarjeta
Vamos a terminar la implementación y registrar la tarjeta.
Obtener los métodos de pago
Vamos a obtener los métodos de pago registrados anteriormente.
Declarar solicitud de datos de ejemplo - FastAPI
Datos de ejemplos en modelos
Vamos a conocer como generar datos de prueba en las clases modelos.
Datos de ejemplos en modelos: Relaciones anidadas
Vamos a colocar las relaciones en la data de prueba del modelo.
Datos de ejemplos desde el argumento, Body
Vamos a conocer cómo colocar datos de ejemplos en los métodos de la API.
Listado de datos de ejemplos: OpenAPI
Vamos a colocar las relaciones en la data de prueba del modelo.
Datos de ejemplos en argumentos, primitivas
Vamos a conocer cómo colocar datos de ejemplos en los métodos de la API.
Here is the coupon of the week:
DESARROLLOLIBRE_131
Without further ado, until next time!