Laravel Livewire In Practice

Download Laravel Livewire In Practice PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get Laravel Livewire In Practice book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.
Getting started with Laravel 12 Livewire 3

Laravel is a fascinating framework, huge and with a somewhat steep learning curve and with multiple options; this book is not for beginners and assumes that you already know how to program in Laravel. Laravel Livewire takes Laravel development a step further; automating routine processes in very flexible schemes based on components, Livewire components that allow us to communicate client and server in a very simple, efficient and easy way. Laravel Livewire is not a framework, it is just a layer or scaffolding that adds certain extra features to the framework that we can use to create great applications, with less effort and development time. Map We are going to give a brief introduction about Laravel Livewire. We are going to create our project in Laravel Livewire. We present the characteristics that a project created in Laravel Livewire has; team management, API Tokens, and authentication, are some of them. We are going to create a simple CRUD type application and get to know all the elements of Livewire such as handling forms, views and directives through the Livewire components. We are going to work on the style, improving the created application so that it looks like another Laravel Livewire module. We are going to learn about the communication between Livewire components based on events; detect changes in properties of the component class from the view and know the Laravel Livewire JavaScript. We are going to create the CRUD for the posts. We are going to create filters and search fields for a listing taking advantage of the benefits of Livewire. We are going to create sort fields for the column listing. We will get to know everything that Livewire offers us in JavaScript and combine it with other plugins, we will know the hooks in JavaScript, consume properties, functions and use of events. We are going to learn about some extra features of Laravel Livewire properties, such as customizing the update phase of wire:models, such as the use of computed properties. We are going to create a simple blog-type application with a list with filters and search and detail fields. We are going to create a shopping cart in the session and database, for which, we will see communication between components, sending events, toast type plugin to show messages confirming the operation carried out, with listeners of the events from JavaScript. We are going to show the code of an application created with Alpine.js to create a to do list component. We are going to adapt the Alpine.js application presented in the previous chapter, to work in conjunction with Livewire. We will learn how to create unit and integration tests in the application we created previously using PHPUnit. By the end of the book, you will have the knowledge to create any basic application with Livewire and know more than just the basics of it. I invite you to visit my website: desarrollolibre.net And get to know my work.
Create your online store with Laravel 12 Livewire 3

This book is intended for those who want to learn how to create an online store with Laravel. To do so, we'll use Laravel Livewire to implement each module. Livewire is a starter kit that allows us to create interactive interfaces with the backend in a very clean and simple way compared to the traditional approach. Intermediate-professional level: It is assumed that the reader has at least basic knowledge of Laravel, ranging from the development tools used with VSC, Laravel Hive, and its environment. Chapters This book has a total of seven chapters. We recommend that you read them in the order in which they are arranged. As we explain the components of Livewire, you jump right into practice, replicating, testing, and modifying the code we show in this book. The book is currently under development. * Chapter 1: We will create the project that we will carry out in the course. * Chapter 2: We will create the main migrations and models that we will use in the application. * Chapter 3: In this chapter, we're going to create the CRUD for the blog, that is, the posts, categories, tags, among others. * Chapter 4: We will create the blog for the end user, paginated listing with filters and details. * Chapter 5: We will create the Store with payment gateways for PayPal and Stripe for the end user, with paginated listings with filters and details. * Chapter 6: We'll create an online store for products instead of a book store to make it more generic. * Chapter 7: In this section, we'll implement several changes to the online store app, such as setting the language, dark mode, improving the design, and adding a payment viewer. Objective The training objective is twofold: 1 Creating an online store with basic payment options through Stripe and PayPal, easily scalable for other payment methods. 2 Explaining and putting into practice crucial concepts so you can implement (the why of things) and adapt the online store to your needs; concepts such as: Logic for managing payments in a centralized and scalable manner using a global entity called Payment. * Why create a layered system for the payment gateway for scalability and maintenance. * Using a generic product-type entity or a specific one. * Customizing listings and details by product. These are just some of the points we cover in this training, which, in short, is more than just application coding. Advantages of developing in Laravel Livewire and taking this training It's great for creating applications when you need to communicate frequently between the client and the server. For this reason, it's ideal for creating applications such as online stores that require a lot of interaction with the client and, consequently, the server.Thanks to Laravel, it offers excellent organization; it's a fast, powerful framework with ready-to-use libraries and helpers, and it's extensible with third-party and framework-specific packages and libraries. It's ideal for creating real-world, maintainable, and scalable applications. You'll learn to develop a modular and scalable application, which will allow you to improve your software development skills.