Challenge Questions, Routes, Updated Books + Laravel Certification, SFC, AI SDK, Sociality, Django Channels

Video thumbnail

The last work period, spanning from April 19 to May 24, has been marked by intense technical production activity and a deep restructuring of the training platforms. Below are the main advancements in content creation, book catalog renewal, and the integration of new technologies.

Content Production and Framework Updates

Mobile Environment: Android Studio and Flutter
The specialized guide on native Android development using Android Studio has been concluded. The latest publications cover the integration of tools such as Canva, alert systems, and advanced implementation of Google Maps.

Regarding Flutter, an exhaustive review of the material has been carried out to update its concepts, while awaiting the official release of Flutter 4.

Backend Development: Django and Laravel

 

Compared to the traditional Laravel workflow, which scatters development across multiple directories, this approach centralizes the code. As a result, application maintenance is drastically streamlined and navigation within the project's folder tree is simplified.

Comprehensive Renewal of the Book Catalog

The modernization and technical update of the entire book catalog has been completed, adapting the works to the most recent software versions. Many of these texts had not received deep modifications for several years; I have included new chapters such as in the Bootstrap book, Components and animations in Flutter, Flutter, among others with simpler updates like the online stores book.

  • All have improvements in wording and new formats.

Blog Redesign and New Learning Paths

The blog's main page has been redesigned to offer a more intuitive and unified interface. Among the new additions is the Learning Paths section, designed to guide students in a structured manner according to their professional profile:

  • Full Stack Path: Focused on Laravel (PHP) and web development with Python (Django/FastAPI).
  • Mobile Development Path: Centered exclusively on native Android environments and the Flutter framework.

Automating Assessments with Laravel AI SDK

The most relevant technical milestone of this period has been the development of an automated question and answer system to measure student progress. This system is integrated at the end of each chapter in the books and features an interactive module on the web platform.

To build this assessment architecture without relying on a laborious manual process, the Laravel AI SDK package was implemented, connected to the open-source Gemma 3 12B model.

Updates on Laravel Courses and Books

In recent weeks, I have been working on Laravel books and courses, in which I have included the following content:

Laravel SDK AI:

  • Configuration and Attributes of Agents
    • We talk about configuring agent parameters such as time and model through attributes.
  • Introduction to Embeddings and Vector Databases: Tools
    • We talk about the tools that we will need to use Embeddings.

  • Vector Databases: Key concepts
    • We talk about the key concepts you need to understand to be able to use embeddings.

  • Generation of Embeddings and Vectors

    • We will see how to generate vectors and query them.

  • Different Dimensions Error

    • We show the error when the dimensions of the vector column are different.

  • Using Helper Functions for Embeddings

    • We will see how to generate Embeddings using the STR function.

  • Cache Management in Embedding Generation

    • We learn to use the Embeddings cache.

  • Creating a Chat Assistant with Agents and Stream
    • We will see how to create an AI assistant with Laravel SDK AI, which is consumed via Stream.
  • RAG Implementation for the previous chat
    • We implement a local RAG for the previous chat, with which we can consult local documentation.
  • The Potential of Tools in Laravel SDK AI
    • We talk about what we can use Tools for in Laravel SDK AI.
  • Failover and its use in Rate Limit
    • We talk about how we can use ANOTHER AI when there is a Rate Limit.
  • Attributes, Events and Decoupling
    • We talk about other parameters to customize agents or boost them at the moment when the agent does something.

Packages:

  • Optimization with Laravel Trash Cleaner

    • We will see how we can clean residual files from a project in Laravel.

  • Implement Laravel Socialite: Authentication with Google, GitHub and Considerations
    • Learn to integrate Laravel Socialite to allow logging in with social networks. Client IDs, secrets, and callbacks easily and securely, and KEYS for usage.

General:

  • Organize Laravel routes in Files
    • We talk about how we can organize our routes into separate files and the advantages of this scheme.

Also, they updated the SEO package in Laravel and I recorded a video of its use in the packages section and on generating a certificate.

Laravel Inertia:

  • Custom Error Pages in Inertia.js
    • We will see how to customize error pages in Inertia.
  • Translations in Laravel Inertia
    • We talk about how to use translations in an app in Laravel Inertia.
  • Load when visible - Load data When it is visible
    • We will see another scheme that allows loading additional data via prop when it is visible on screen.
  • Deferred Props - Defer content
    • We will see how we can load content AFTER the page loads.
  • Once Props - Load data only once
    • We will see how we can load data from a prop only once, regardless of the queries we make to the controller, until we reload the page.
  • Content Prefetching (Client-side Preloading)
    • We will see how to preloading client data from links.
  • The usePoll Hook in Inertia
    • We will see how to generate requests to the same page every certain amount of time.
  • Persistent State Management with useRemember in Inertia.js
    • We will see how we can persist data on the page while navigation is maintained.

Laravel Livewire:

  • Flux:toast
    • We use the Toast component to display information on screen.
  • Real-Time Streaming in Laravel Livewire 4 IDEAL for AI Chatbots
    • Discover how to use Stream technology in Livewire 4 to send data to the browser before the task is finished.
  • wire:loading and wire:target
    • We will see how to show messages or loading states when configuring certain buttons.
  • Data Loading in Livewire: A modern alternative
    • We will see the modern alternative to the wire:loading that we presented previously, using Tailwind attributes.
  • Creating a Chat Assistant with Agents and Stream
    • We will see how to create an AI assistant with Laravel AI SDK, to be consumed via Stream
  • RAG Implementation for the previous chat
    • We implement a local RAG for the previous chat with which we will be able to query local documentation.
  • What is Teleport and what is it used for?
    • Give me an example of using Teleport to transport the content you want to display.
  • Other actions provided in components
    • We talk about other modifiers you can use in Livewire components.
  • Style Isolation and Scoped Selectors in Livewire
    • We will see how we can define specific styles for the component.
  • Lazy Loading: lazy and defer attributes
    • We will see how we can load child components in the background and not block the loading of the main component.
  • Computed properties
    • We will see the use of computed properties, which are methods that can be consumed as if they were a property and are cached.
  • Lazy Loading: lazy and defer attributes
    • We will see how we can load child components in the background and not block the loading of the main component.

News and Updates Summary for the Laravel Ecosystem and Web Development

Video thumbnail

Below is a structured summary of recently published content, videos, and updates regarding the Laravel ecosystem, mobile development, and complementary tools. These resources are designed to support practical learning through the courses and books available on the platform.

Publications and Content on Laravel

Various contents have been generated focusing on architectures, official tools, and comparative analyses within Laravel:

  • Livewire and Wire Text: Analysis of fluid interface development and updating components directly on the client side.
  • Laravel AI SDK: Performance evaluation and use cases in local development environments.
  • Translation Management: Strategies for efficient localization and internationalization of web applications.
  • Livewire vs. Inertia.js: Technical comparison to help choose the right stack for modern projects.
  • Mobile and Social Authentication: Guides on integrating Laravel Sanctum with Flutter and implementing social login using Laravel Socialite.
  • Question and Answer (Q&A) Series: Video series dedicated to answering frequent community questions about architecture, performance, and best practices.

The Potential of Tools in Laravel AI SDK
https://youtu.be/2C1tccyK7ao

Organize Your Laravel Routes into Files NOW!
https://youtu.be/6u77Aur5sY8
Laravel 13 Livewire 4 vs Inertia 3 Vue 3 - Shopping Carts - 05
https://youtu.be/ueq6L1buHkc

Handling Translations in Laravel Inertia 3 and Vue - https://youtu.be/fWH0w9pfzH8

I Show You What I Use Laravel AI SDK For and ISSUES in Question Generation - https://youtu.be/I2vjlIgD5eI

Laravel Livewire: wire:text: Fluid Interfaces and Optimistic Updates - https://youtu.be/i1stttWJOH4

A Simple, Friendly, and Practical File Manager for Laravel Livewire - https://youtu.be/L9ND2hy5Nas

 Authentication via QR Codes and Mobile-Web Sync - Laravel + Flutter - https://youtu.be/1jnWpbGlsn4

Laravel Livewire: wire:ref: Capturing References in the DOM - https://youtu.be/Qzfs9c9rWyc

How to Create a REST API in Laravel 13 - https://youtu.be/ji36ALLja9s

Laravel AI SDK Makes Mistakes, Debugging 6500 Questions! - https://youtu.be/yLoLPvJPl9U

Authentication via One-Time Passcodes (OTP) by Email in Laravel Fortify - https://youtu.be/ger1YfPh-s8

Action Pattern in Laravel - Centralize Business Logic - https://youtu.be/Fq_3GRydb4E

Let's Talk About Laravel... The Good, The Bad, and The Ugly - https://youtu.be/NWFuKy8T6zo

Laravel: Gates and Policies (Authorization and Permissions) - https://youtu.be/SPNBVv5j1Tg

Strategies for Refreshing Access Tokens (JWT) in a REST API - Laravel Sanctum Case - https://youtu.be/y_PVHbxO1IA

Configure Laravel Sanctum for SPA and API Token Authentication - https://youtu.be/vmLIGzPPfro

Social Authentication in Flutter with Google/Gmail and Laravel Socialite/Django - https://youtu.be/9E6uBTwpXrc

Model Cloning in Laravel Eloquent with replicate() - https://youtu.be/JFAzajNOwY8

Social Authentication in Flutter with GitHub and Laravel Socialite/Django - https://youtu.be/GbzWRvGK8T4

Updating Laravel Manually vs. New Project - What They DON'T Tell You - https://youtu.be/fCHJFsdDNf8

Tools, Environments, and Cross-Platform Development

Beyond web development, development environment tools and publications on mobile development with Flutter and Python were also covered:

  • Development on Linux: Configuration and usage of Laravel Herd / Valet for Unix environments.
  • Flutter Ecosystem: Videos on development trends, pros and cons analysis of the framework, and a detailed tutorial on creating custom packages.
  • Django REST Framework: Release of a one-hour masterclass focused on building REST APIs with Python.
  • AI Assistants and Knowledge Management: Practical demonstration on structuring a "digital brain" and building a custom AI assistant.

How to Set Up a Laravel Environment on Linux with Valet and MariaDB (CachyOS/Arch) - https://youtu.be/V4NAYuHiTIg

The UNCERTAIN Future of Flutter, Google Hands Over Flutter Desktop - https://youtu.be/IqIHgLrMoec

The DANGEROUS 10x Programmers Trend ⚠️ - https://youtu.be/RGGVbUugSBU

Python the Undisputed KING in the AI Era and Reasons to Learn It - https://youtu.be/61zGnXFReq0

Vibe Coding and 5,000 VULNERABLE Apps! ⚠️ - https://youtu.be/L8cQWclDYDU

Let's Talk About Flutter Updates... The Good, The Bad, and The Ugly -https://youtu.be/-9b33_kqRDk 

Create PRIVATE Packages in Flutter with Git to Reuse in Your Apps - https://youtu.be/GNHj1ugf3_0

✅  AI Comes to Xcode 27 ✅ - 
https://youtu.be/57pxcGos8SM

How to Free Up Space on macOS and Reclaim +60GB FOR FREE with Mole - https://youtu.be/aEFuhVS0R0c

Seeders in CodeIgniter 4 to Generate Test Data - https://youtu.be/0ul2Sar9ZSE

How to Create a REST API in Django Step-by-Step (with Django REST Framework) - https://youtu.be/k5Zil14o6Ww 

Digital Brain with Python and Agent Orchestration with CrewAI - https://youtu.be/mUNXPZpspGQ

Did You Know You Can Use an AI Chat in DevTools to Debug CSS and HTML with Google Chrome? - https://youtu.be/Sd-FA0MOEIs

SQFlite to Manage an SQLite Database in Flutter - https://youtu.be/5TXRoIqapwU

I am also creating a playlist answering questions found across the Internet about the Laravel ecosystem:

What is the Laravel Framework? | 1 - https://youtu.be/ZpGofCnSP7E

Is Laravel Backend or Frontend? - Or Both | 2 - https://youtu.be/GRg8ewkXfmA

When is the Right Time to Learn Laravel? | 3 - https://youtu.be/4W8nt0sRQos

Laravel Features - | 4 - https://youtu.be/e4YSpKX0XbY

Pros and Cons of Laravel - | 5 - https://youtu.be/C1TSGNfavD8

When to Use and When NOT to Use Laravel | 6 - https://youtu.be/EXipzOUjpm4

What to Use Laravel for in Programming? | 7 - https://youtu.be/V5nUp4H-JC0

What Can You Build with Laravel? | 8 - 
https://youtu.be/ZqG-LS0vLWw

Functions and Features of Laravel | 9 - https://youtu.be/1U1xH5IoiK8

Difference Between PHP and Laravel? | 10 - https://youtu.be/AeXeB6t6jjc

Ways to Install Laravel: Linux, Windows, and macOS | 11 - https://youtu.be/nM7zsmAE-s0

 Is It Necessary to Learn PHP BEFORE Laravel? | 12 - https://youtu.be/d-ycS2waKzs

 

Some Lessons I Have Added Since Publishing the Livewire Course/Book a Few Weeks Ago:

  • Lazy Loading: lazy and defer attributes
    • We will see how to load secondary components in the background without blocking the main component load.
  • wire:current: Managing Active States
    • We will see how to inject classes when a URL is visited in Laravel. 
  • wire:transition: State Animations
    • We will see how to perform animations between states when using reactivity in Livewire. 
  • wire:dirty: Form Change Tracking
    • We will see how to detect if a form is "dirty", meaning the user has interacted with it.
  • wire:poll: Periodic Updates
    • We will see how to make periodic or recurring requests to the server at regular intervals.
  • wire:show: Client-Side Rendering Alternatives
    • Let's look at how to render with conditions on the client side.
  • wire:intersect: Scroll Visibility Detection
    • We will see how to check when an HTML block becomes visible or invisible in Livewire and trigger an action.
  • wire:cloak: Controlling Flicker During UI Loading
    • We will learn how to hide an HTML block using the wire:cloak directive.
  • wire:offline: Offline State Management
    • We will see how to display an HTML block when the user loses connection to the server.
  • wire:bind: Dynamic Attributes
    • We will see how to add attributes to components in Livewire.
  • wire:text: Fluid Interfaces and Optimistic Updates
    • Let's see how we can use optimistic updates to reflect changes BEFORE they are applied on the server.
  • wire:ref: Capturing References in the DOM
    • We will see how to reference HTML elements in the HTML DOM the Livewire way.
  • wire:replace: Forcing Third-Party Plugin Rendering
    • We will explore how to replace content during the Livewire update cycle.

Discover the latest updates in web and mobile development: updated books on Laravel 13, Django 6, and Flutter, and how to automate educational quizzes using RAG with the Laravel AI SDK and Gemma 3 12B. Boost your Full Stack learning journey!


Únete a la comunidad de desarrolladores que han decidido dejar de picar código y empezar a construir productos reales. Recibe mis mejores trucos de arquitectura cada semana:

I agree to receive announcements of interest about this Blog.