Tag: Laravel - Página 2

20 entradas encontradas (2 páginas)

Laravel Blueprint: La herramienta que revoluciona el scaffolding con YAML y te ahorra horas de desarrollo

Laravel Blueprint: La herramienta que revoluciona el scaffolding con YAML y te ahorra horas de desarrollo

11 min de lectura

¿Cuántas veces has comenzado un proyecto Laravel creando manualmente modelos, controladores, migraciones, factories, form requests y tests uno por uno? Si eres como la mayoría de desarrolladores Laravel, probablemente has perdido incontables horas en estas tareas repetitivas que, aunque necesarias, no aportan valor directo a la lógica de negocio de tu aplicación.

Laravel Blueprint está cambiando completamente este paradigma. Esta herramienta de generación de código, creada por Jason McCreary (el mismo genio detrás de Laravel Shift), permite generar múltiples componentes de Laravel desde un único archivo YAML legible y expresivo. En este análisis profundo, exploraremos cómo Blueprint puede transformar tu flujo de desarrollo y por qué está ganando tracción en la comunidad Laravel.

Laravel Blueprint: The Tool That Revolutionizes Scaffolding with YAML and Saves You Hours of Development

Laravel Blueprint: The Tool That Revolutionizes Scaffolding with YAML and Saves You Hours of Development

11 min de lectura

How many times have you started a Laravel project manually creating models, controllers, migrations, factories, form requests, and tests one by one? If you’re like most Laravel developers, you’ve probably wasted countless hours on these repetitive tasks that, while necessary, don’t add direct value to your application’s business logic.

Laravel Blueprint is completely changing this paradigm. This code generation tool, created by Jason McCreary (the same genius behind Laravel Shift), allows you to generate multiple Laravel components from a single, readable, and expressive YAML file. In this deep analysis, we’ll explore how Blueprint can transform your development workflow and why it’s gaining traction in the Laravel community.

Recursos 11 de marzo 2022

Recursos 11 de marzo 2022

1 min de lectura

Options Pattern in Golang

Option pattern is a functional programming pattern that is used to provide optional arguments to a function that can be used to modify its behavior.

How to create a simple event streaming in Laravel?

Event streams provide you with a way to send events to the client without having to reload the page. This is useful for things like updating the user interface in real-time changes are made to the database.

Resources March 11, 2022

Resources March 11, 2022

1 min de lectura

Options Pattern in Golang

Option pattern is a functional programming pattern that is used to provide optional arguments to a function that can be used to modify its behavior.

How to create a simple event streaming in Laravel?

Event streams provide you with a way to send events to the client without having to reload the page. This is useful for things like updating the user interface in real-time changes are made to the database.

Laravel Collections: Arrays on stereoids

Laravel Collections: Arrays on stereoids

2 min de lectura

Laravel además de utilizar múltiples paquetes de terceros tambien es posible utilizar partes como componentes. Todos los componentes están bajo el namespace “Illuminate”.

Si hay una clase realmente interesante y útil es Collection, que nos permite trabajar con arrays de datos de una forma sencilla y “programática”.

Para tener esta clase en nuestro proyecto solo necesitaremos el paquete illuminate/support que podremos instalar con:

composer require illuminate/support:5.2.x-dev

Para mostrar algunos ejemplos utilizaremos un pequeño array con estos datos:

Laravel Collections: Arrays on steroids

Laravel Collections: Arrays on steroids

2 min de lectura

Laravel, in addition to using multiple third-party packages, is also possible to use parts as components. All components are under the “Illuminate” namespace.

If there’s a really interesting and useful class, it’s Collection, which allows us to work with data arrays in a simple and “programmatic” way.

To have this class in our project, we only need the illuminate/support package which we can install with:

composer require illuminate/support:5.2.x-dev

To show some examples, we’ll use a small array with this data: