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.

Update 28Jul-07Sep - Django & Laravel Q&A + Secure RestAPI - CachyOS - AI Code - News

Video thumbnail

Approximately a month has passed since the last update. Below, I share a summary of the recently published videos in case any of these topics are of interest to you.

As a reminder, if you wish to receive this newsletter directly, you can subscribe using the form available in any of the blog posts.

What's New in Courses and Books

Regarding courses and books, no significant structural changes have been made, except for the addition of a few specific topics. For example, I added a section on the spatie/laravel-permission package for role management in Laravel within the packages section. This content will be available in the next export of the books.

New Videos and Posts

On the YouTube channel and the blog, I have published varied content that includes technical reviews, tutorials, and insights on development:

  • Query Caching in Eloquent: Strategies for optimizing database queries in Laravel.
  • Livewire Directives: Practical use of advanced directives like wire:wildcard.
  • Debugging in Inertia.js: Tools and techniques using Inertia DevTools.
  • User Experience on CachyOS: Review and details about my migration to this Linux distribution.
  • Virtual Assistant and Digital Brain: Progress in creating an artificial intelligence-based assistant system.
  • Automation with Python in Blender: How to run Python scripts using Blender's native API to manipulate the 3D environment.
  • REST API Security: A strategy for securing API routes scalable to any framework.
  • Lumen vs. Laravel: Reflection on the current state of the Lumen microframework.
  • Django and Laravel Q&A Series: FAQ-style posts answering common questions found online, such as:
    • Which is better, Python or Laravel?
    • Differences between building an API in Laravel and other environments.
    • How long does it take to learn Laravel?
    • Key advantages of the Laravel ecosystem.
  • Client-Side Thumbnail Generator: A web tool that processes images directly in the browser to create content covers.

Laravel Livewire: wire:navigate directive - SPA Navigation - https://youtu.be/4HFZ7BRxRhc

THE FLUTTER ECOSYSTEM IS TERRIBLE and Google makes it WORSE! - https://youtu.be/85C0TTJkZqU

 Eloquent Query Caching in Laravel - https://youtu.be/qTd7iTrk77s

How to Create Database Backups with Laravel Spatie Backup - https://youtu.be/tWVlBVO1PKY

Debugging in Inertia with Inertia DevTools - https://youtu.be/HFtEPhL-u58

My experience after one month using CachyOS: The good, the bad, and why I left Windows - https://youtu.be/88uANwBgrrQ

Linux is NOT for everyone: when you should stay on Windows or macOS - https://youtu.be/-aowNUy9wL8

Digital Brain - Hyperframes for video generation + FastAPI | 2 - https://youtu.be/4Ke_E0lD6Mo

Introduction to Blender Scripting with Python | 1 - https://youtu.be/serrDKHIqFU

The use of AI in programming and the LACK of trust in its code - https://youtu.be/365aUrgDVn0

Organization and Decoupling with Concerns (Traits) in Laravel - 
https://youtu.be/_J1E8Or6TSg

 REST API Protection Strategies in Laravel with HMAC Digital Signatures and Timestamps - https://youtu.be/K7DSl-SP9_o

The Origin and Fall of Laravel Lumen, Why is No One Talking About It Anymore? - 
https://youtu.be/qPsvR61WtVU

 

What is the Django Framework and Why Should You Know It? | 1 - https://youtu.be/jyXVEyHJOf8 

When is the Time to Learn Django? | 2 - https://youtu.be/_s8n4Dliokg

Main Features of Django: Why Choose It? | 3 - https://youtu.be/HMKGzeqz5Uk

Pros and Cons of Django | 04 - https://youtu.be/kawkQjg5d0A

When to Use and When NOT to Use Django | 05 - https://youtu.be/qzUn53m50EY

 

Building a Custom Image Compositor or Editor with Vue.js - https://youtu.be/knNfsQKpfLM

The Importance of KNOWING How to Code: Prompt Strategy and Preventing AI from Breaking Your Code - https://youtu.be/S0KbvZUI_jc

 

Also, I am creating a playlist answering questions I found online about the Laravel ecosystem:

Which is better, Python or Laravel? | 13 - https://youtu.be/vPQLZeNogMY

WordPress vs Laravel: When to Choose a Content Management System or a Custom Framework | 14 - https://youtu.be/2xRUjbo5kBQ

Difference Between PHP and Laravel? | 15 - https://youtu.be/npYn1nmIijU

What Can Be Built with Laravel? - Custom Development | 16 - https://youtu.be/NBujgmpp_Cw

Examples of Laravel Developments, Use Cases and What to Use It For | 17 - https://youtu.be/6sUxp9vMrLU

How to Install, Download, and Create Your First Laravel Project | 18 - 
https://youtu.be/8iUQy6Ffh-k

What is the BEST Online Laravel 13 Course/Book from Beginner to Professional | 19 - https://youtu.be/ZU6-tU4gbFI

The Best Updated Laravel Courses and Books in Spanish and English | 20 - https://youtu.be/VmHYC4vn_jo

 How to Learn Laravel and Programming: Documentation, Courses, Forums, and Artificial Intelligence | 21 - https://youtu.be/bd8lCUpGz54

How Long Does It Take to Learn Laravel? | 22 - 
https://youtu.be/555XrLCrwrE

How to Learn Laravel from Scratch: Recommended Learning Path and Essential Fundamentals | 23 - https://youtu.be/5mmHX9GMWkY

Key Concepts BEFORE Learning Laravel | 24 - https://youtu.be/YzBaBrs2G24

Is It Possible to Learn Laravel Without PHP Knowledge? | 25 - https://youtu.be/6Jd7KswIL5E

What is Eloquent ORM in Laravel? | 26 - https://youtu.be/GjNTt_88tOc

Can You Install Laravel on Shared Hosting? Recommendations and Deployment Guide | 27 - https://youtu.be/cfrtDvmkWUY

 Python vs PHP: Which Language is More Accessible or Harder for Beginners? | 28 - 
https://youtu.be/8nCXBKt7FLk

Is Laravel Easy or Hard to Learn? | 29 - https://youtu.be/4nqfDlzTWiw

Disadvantages of Laravel - When NOT to Use It | 30 - https://youtu.be/nEIiGSfOtn4

KEY Terminology Dictionary for Laravel | 31 - https://youtu.be/gBwhc3o68bE

Modern Authentication in Laravel: Fortify, Sanctum, Breeze, Social, QR... What They DON'T Tell You | 32 - https://youtu.be/Y6LJ4WslXsc

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.