| Members | Series | Title | Release | Length |
|---|---|---|---|---|
| Pragmatic Laravel |
Form Data & HTTP Post Handlers
In this episode, we begin capturing and storing survey data!
We’ll design the database schema for responses and answers, build out models, and wire up the controller logic to handle incoming survey submissions. This continues our journey of transforming a static survey page into a dynamic Laravel application — step by step, the pragmatic way. 🧠 What You’ll Learn - Designing survey_responses and survey_response_answers tables - Creating migrations and Eloquent models - Defining relationships between surveys, responses, and answers - Updating POST routes to save incoming data - Setting up a foundation for validation and fingerprinting 🧩 Commands Used - php artisan make:migration create_survey_responses_table - php artisan make:model SurveyResponse 🧱 Database Schema survey_responses - id (PK) - survey_id (FK: surveys) - user_fingerprint - completed_at (nullable) - created_at / updated_at survey_response_answers - id (PK) - survey_response_id (FK: survey_responses) - survey_question_id (FK: survey_questions) - answer (json) - created_at / updated_at 🔗 Resources - Migrations Docs: https://laravel.com/docs/12.x/migrations - Eloquent Docs: https://laravel.com/docs/12.x/eloquent - Routing Docs: https://laravel.com/docs/12.x/routing 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #Eloquent #DatabaseDesign #Migrations #TekCasts #LearnLaravel #FullStackDevelopment #Controllers |
Tue, Dec 23, 2025 | 14m:43s | |
| Pragmatic Node.js |
Popular JavaScript Frameworks
Your JavaScript framework journey is about to level up 🔍📦
We’ve built our own lightweight Node.js MVC framework — now let’s look outward and explore how it stacks up against several strong contenders in the ecosystem. Why use a framework, when vanilla Node gives you full control? What trade-offs come with more structure? In this episode, we dig deep into those questions. 👉 In this episode, you’ll learn how to: 🚀 Understand the value frameworks bring: structure, built-in features, community, performance ⚙️ Compare what we’ve built against mature solutions 🧭 Decide when it’s worth adopting a full framework and when you might stick with custom ⚖️ Spot the key trade-offs between flexibility and convention 📚 Frameworks we cover: [03:19] Next.js — https://nextjs.org/ [06:39] NestJS — https://nestjs.com/ [10:38] Express.js — https://expressjs.com/ [13:38] Nuxt.js — https://nuxt.com/ [16:00] Meteor — https://www.meteor.com/ [17:58] Koa.js — https://koajs.com/ [19:20] Fastify — https://fastify.io/ [21:39] Remix — https://remix.run/ [24:04] Sails.js — https://sailsjs.com/ [26:32] AdonisJS — https://adonisjs.com/ [29:06] Hapi.js — https://hapi.dev/ By the end, you’ll not only appreciate how well your custom framework works — you’ll also be ready to evaluate the full-scale options and pick the right tool when it’s time to scale. 💡 Relevant Links Previous TekCasts series: - JavaScript for Beginners: https://tekcasts.com/play/javascript-for-beginners-what-is-javascript - JavaScript in the Browser: https://tekcasts.com/play/javascript-in-the-browser-browser-runtime-environment Libraries / Docs mentioned: - Node.js HTTP: https://nodejs.org/api/http.html - Node.js URL: https://nodejs.org/api/url.html |
Tue, Dec 23, 2025 | 32m:14s | |
| Pragmatic Node.js |
Deployment Basics
Your Node.js journey is about to go live 🌐🚀
You’ve built, refactored, and refined — now it’s time to deploy your application to the real world! In this episode, we’ll walk through the key steps and best practices for running your Node.js app in production. 👉 In this episode, you’ll learn how to: ⚙️ Configure your app for different environments 📊 Manage logs and monitor performance 🧱 Handle errors gracefully in production 🌱 Use environment variables for configuration 🌀 Keep your app running with process managers like PM2 By the end, you’ll understand what it takes to make your Node.js app not just work — but thrive in production 💪 💡 Relevant Links Previous TekCasts series: - JavaScript for Beginners: https://tekcasts.com/play/javascript-for-beginners-what-is-javascript - JavaScript in the Browser: https://tekcasts.com/play/javascript-in-the-browser-browser-runtime-environment Libraries & Tools mentioned: - PM2 Process Manager: https://pm2.keymetrics.io/ - Node.js Documentation: https://nodejs.org/en/docs/ - dotenv: https://www.npmjs.com/package/dotenv |
Thu, Dec 25, 2025 | 24m:15s | |
| Pragmatic Laravel |
Take Survey Fingerprinting
In this episode of Laravel: The Pragmatic Way, we explore how to generate a unique “fingerprint” for survey participants using a combination of PHP and JavaScript signals.
You’ll learn what fingerprinting is, why it matters, the ethical considerations, and how to integrate a JavaScript fingerprinting library into your Laravel workflow. 🧠 What You’ll Learn - A method of producing a unique identifier using user “signals.” - Why fingerprinting must be handled with caution — privacy, consent, regulation concerns. - Which data you can access server-side vs client-side. - Including adding routes, generating fingerprints, and pre-filling survey responses. 🪪 Example Signals - PHP Signals (server-side): IP address, User-Agent, Accept-Language, Accept headers, Referer header, Cookies - JavaScript Signals (client-side): Everything PHP offers plus installed fonts, plugins/extensions, platform info, screen resolution, OS, touch capabilities, GPU/audio/video data, and more. 🛠️ Survey Workflow Changes 1. Install the JS Fingerprinting Library: https://github.com/jackspirou/clientjs 2. Update the route /s/{survey:hash} - No longer shows questions directly - Generates the fingerprint - Provides a “Take Survey” link: /s/{survey:hash}/{fingerprint} 3. Create the route /s/{survey:hash}/{fingerprint} - Ensures a SurveyResponse record exists - Passes SurveyResponse + SurveyResponseAnswers to the view - Pre-fills previous answers automatically 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #Fingerprinting #Security #Controllers #Forms #JavaScript #FullStackDevelopment #TekCasts #LearnLaravel #Routes #SurveyApp |
Thu, Dec 25, 2025 | 31m:43s | |
| Pragmatic Node.js |
Recap & Next Steps
Your Node.js journey comes full circle 🌎✨
In this final episode of JavaScript on the Server, we recap everything you’ve learned — from your first console.log() to deploying a full-featured web app — and explore what comes next 🚀 👉 In this episode, you’ll: 🧩 Review each module and how it fits into the bigger picture ⚙️ Connect key concepts like routing, MVC, sessions, and middleware 💡 See how frameworks build on the foundation you’ve created 🧭 Discover practical next steps to deepen your skills 🔥 Leave with a clear path forward for your JavaScript and Node.js mastery By the end, you’ll have a strong grasp of how the server-side ecosystem works — and the confidence to keep building, learning, and exploring 💪 💡 Relevant Links Previous TekCasts series: - JavaScript for Beginners → https://tekcasts.com/play/javascript-for-beginners-what-is-javascript - JavaScript in the Browser → https://tekcasts.com/play/javascript-in-the-browser-browser-runtime-environment Key Topics from this Series: - Node.js HTTP → https://nodejs.org/api/http.html - Node.js fs → https://nodejs.org/api/fs.html - Node.js path → https://nodejs.org/api/path.html - EJS Templates → https://ejs.co/ - Express (for further learning) → https://expressjs.com/ |
Tue, Dec 30, 2025 | 10m:34s | |
| Pragmatic Laravel |
Fingerprint Refactoring
In this video, we tighten up our survey flow by performing several important refactors across models, routes, and controllers. These changes lay the groundwork for securely capturing survey responses and preventing duplicates.
Topics Covered - Adding model relationships: Survey → responses, SurveyQuestion → answers - Introducing a fingerprint-based protection to avoid duplicate survey submissions - Updating database migrations to support hashed response identifiers - Creating a clean, structured route layout for: ✔️ Viewing a survey ✔️ Submitting a fingerprint ✔️ Viewing the survey questions ✔️ Submitting survey answers - Refactoring TakeSurveyController to support the new workflow 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #FullStack #LaravelTutorial #Programming #SurveyApp #TechEducation #LaravelDevelopers #BuildInPublic #TekCasts |
Tue, Dec 30, 2025 | 18m:20s | |
| Pragmatic Laravel |
Validation Rules Engine
In this video, we introduce server-side validation to ensure incoming survey data is complete, well-formed, and secure. You’ll learn how Laravel’s validation layer works, how to define rules, and how to prepare your app to handle different question types with a rule engine.
Topics Covered: 🔍 What validation is and why it matters 🌐 Client-side vs. server-side validation 🛡️ Laravel’s built-in validation features 🧩 Introducing rules for each survey question type ⚙️ Building a rule engine to encapsulate validation logic 📦 Aggregating validation rules for a full survey ✔️ Validating incoming user input 📚 Resources - Laravel Validation Docs: https://laravel.com/docs/12.x/validation 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #FullStack #Validation #DataIntegrity #Programming #SurveyApp #TekCasts |
Thu, Jan 1, 2026 | 22m:47s | |
| Pragmatic Laravel |
Form Validation Requests
In this episode, we refactor our validation logic by introducing Form Request Validation, a powerful Laravel feature that helps keep controllers clean, reusable, and scalable.
This step builds on our existing Validation Rules Engine and moves the logic into a dedicated request class—perfect for more complex validation and authorization scenarios. ✨ What You’ll Learn - How Form Request Validation works in Laravel - Why moving validation into request classes improves maintainability - Creating a custom request with php artisan make:request - Transferring validation and authorization logic from controllers - Updating the survey flow to use the new request 🧠 Form Request Benefits: - Cleaner and smaller controllers - Reusable validation logic - Built-in support for authorization - Consistent structure across larger apps 🔗 Resources - Laravel Form Request Validation Docs: https://laravel.com/docs/12.x/validation#form-request-validation 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #Programming #CleanCode #FullStack #Validation #LaravelTips #TekCasts |
Tue, Jan 6, 2026 | 9m:9s | |
| Pragmatic Laravel |
Validation Errors
Welcome back to Laravel: The Pragmatic Way!
In this episode, we build on our Form Request workflow and focus on how Laravel handles validation errors — and how you can present them cleanly in your UI. We walk through the full flow: triggering errors, displaying them, styling them, and customizing their messages. 🎯 What You’ll Learn - How Laravel automatically redirects back with validation errors - Displaying all errors at the top of the page - Field-specific error messages using Blade directives - Highlighting invalid fields for better UX - Creating custom error messages inside your Form Request - Updating question components to surface validation issues cleanly If you’re enjoying the series, hit 👍 Like, 🔔 Subscribe, and share with other Laravel devs! 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. |
Thu, Jan 8, 2026 | 18m:18s | |
| Pragmatic Laravel |
Navigation
In this video, we enhance the user experience of our survey application by improving navigation flow and tightening up some important logic. You’ll see how to guide users more intuitively through the app while ensuring clean, secure, and predictable behavior.
What We Cover - Fixed the query in take_store by adding a missing where survey_id filter - Added a welcome page that lists all active surveys - Prevent users from retaking a survey they’ve already completed - Updated the “thanks” page with a Redo Survey link - Stretch Goal: Introduced a simple top-level navigation menu to improve app-wide usability 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #FullStackDev #TekCasts #WebAppDesign |
Tue, Jan 13, 2026 | 18m:47s | |
| Pragmatic Laravel |
Laravel Starter Kits & Fortify
In this video, we take our survey app to the next level by introducing Authentication, discussing installation options, and laying the groundwork for protected views and user-based access.
Along the way, we also apply several refactorizations to keep the codebase clean, flexible, and scalable. 🛠️ Refactorizations Completed Before diving into authentication, we improved core structures: 📱 Added a mobile menu using npm install flowbite + import "flowbite" 🎨 Updated mobile menu styling 🧩 Created navigation, table, and form components for DRY code 🗂️ Moved layouts into Blade components (@extends('xxx') ➜ ) 👥 Added new layout shells: empty and guest 🔐 Authentication vs. Authorization Authentication = Who are you? Authorization = What are you allowed to do? 📘 Laravel Docs: 👉 Authentication — https://laravel.com/docs/12.x/authentication 👉 Authorization — https://laravel.com/docs/12.x/authorization ⚙️ Installation Options Depending on your project setup, Laravel gives you multiple ways to integrate auth: For New Apps 🚀 Laravel Starter Kits (React, Vue, Livewire) For Existing Apps 🌬️ Laravel Breeze 🛡️ Laravel Fortify Useful Links: 🔗 Starter Kits — https://laravel.com/docs/12.x/starter-kits 🔗 Breeze — https://github.com/laravel/breeze 🔗 Fortify — https://laravel.com/docs/12.x/fortify 🛡️ Laravel Fortify Setup (Summary) Installation 1️⃣ composer require laravel/fortify 2️⃣ php artisan fortify:install 3️⃣ php artisan migrate Configuration Review settings in config/fortify Example: Registration View Binding // App/Providers/FortifyServiceProvider.php (partial) public function boot(): void { Fortify::registerView(function () { return view('auth.register'); }); } If you're enjoying the series, don't forget to Like, Comment, and Subscribe — it helps TekCasts grow! 🙌 #Laravel #PHP #LaravelFortify #LaravelBreeze #WebDevelopment #FullStack #CleanCode #BladeComponents #Authentication #Authorization #TekCasts |
Thu, Jan 15, 2026 | 16m:36s | |
| Pragmatic Laravel |
Fortify Features & Breeze Views
In this video, we build out the authentication views for our Laravel survey application. We continue integrating Laravel Fortify, but now focus on the Blade side of things — customizing the registration and login screens and wiring them to Fortify’s backend actions.
You’ll learn: ✨ How Fortify expects your views to be structured ✨ How to adapt the Breeze templates to your app ✨ How to customize labels, errors, and layout ✨ How to create a cohesive guest layout for all auth screens 🔗 Resources - Laravel Starter Kits: https://laravel.com/docs/12.x/starter-kits - Laravel Breeze: https://github.com/laravel/breeze - Laravel Fortify: https://laravel.com/docs/12.x/fortify 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #LaravelFortify #PHP #WebDevelopment #FullStack #BackendDevelopment #Blade #Authentication #TekCasts #LaravelThePragmaticWay #CodingTutorials #LearnLaravel #CleanCode |
Tue, Jan 20, 2026 | 16m:48s | |
| Pragmatic Laravel |
Auth using Fortify & Breeze
In this video, we bring Laravel’s authentication system to life by pairing Fortify’s backend features with Breeze’s simple, clean Blade views. This creates a complete, customizable starter kit without the complexity of Inertia or Livewire.
You’ll learn how these two tools fit together and how to leverage them to build real-world authentication flows. 🔥 What You’ll Learn - How Breeze and Fortify work together - Review of all Fortify routes and features - Registration and login flows - Email verification - Password reset workflow - Updating profile information - Changing passwords - Session handling and protections - How this setup fits into the bigger picture of building your app 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #LaravelFortify #LaravelBreeze #Authentication #WebDevelopment #PHP #FullStack #LaravelTutorial #LearnLaravel #TekCasts #LaravelThePragmaticWay |
Thu, Jan 22, 2026 | 15m:7s | |
| Pragmatic Laravel |
Middleware Basics
In today’s video, we’re digging into one of the most important — and most misunderstood — parts of the Laravel request lifecycle: middleware.
If you’ve ever wondered how Laravel transforms an incoming HTTP request into a response… or how authentication, sessions, CSRF protection, and even custom logic happen automatically — this video is for you. ⭐ What You’ll Learn In this lesson, we break down the core concepts behind Laravel middleware, including: - How middleware modifies request and response data - How it can short-circuit the request lifecycle - Where middleware fits inside Laravel’s 5-step request lifecycle - How route files are registered inside bootstrap/app.php - How to attach middleware to individual routes, route groups, or out-of-the-box groups like web and api - How to explore your middleware stack using: php artisan route:list -v We also walk through real examples showing how middleware groups (like auth, verified, and password.confirm) cascade to define route behavior. 🔗 Resources • Request Lifecycle — https://laravel.com/docs/12.x/lifecycle • Routing — https://laravel.com/docs/12.x/routing 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #LaravelMiddleware #LaravelRouting #PHPTutorials #LearnLaravel #LaravelTips #BackendDevelopment #FullStackDevelopment #WebDevTutorials #LaravelEcosystem #LaravelFramework #CodeBetter #BuildWithLaravel |
Tue, Jan 27, 2026 | 20m:26s | |
| Pragmatic Laravel |
Custom Middleware
In this video, we explore how to create and use custom middleware in Laravel—one of the most powerful tools for intercepting and transforming HTTP requests and responses.
You'll learn how middleware works behind the scenes, how to build your own, and how to apply it to your routes using both class names and aliases. We walk through several practical examples that demonstrate how middleware can redirect users, modify incoming request data, and even alter outgoing HTML responses. What We Cover - Generating custom middleware with Artisan - Understanding the handle() method lifecycle - Adding logic before and after the request reaches your controller - Building a middleware that performs redirects - Creating route aliases for cleaner middleware usage - Modifying incoming request data (e.g., normalizing phone numbers) - Injecting additional content into outgoing HTML responses - Managing configuration-driven UI banners - Tagging and pushing source code for versioning This video provides a solid foundation for writing expressive, maintainable middleware tailored to your application's needs. 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #SoftwareEngineering #Coding #Developers #Programming #FullStack #TekCasts |
Thu, Jan 29, 2026 | 17m:2s | |
| Pragmatic Laravel |
Cookies
In this video, we explore Laravel Cookies—what they are, how they work under the hood, and how your Laravel application can set, retrieve, and delete them. Cookies are one of the foundational building blocks for maintaining state in a stateless HTTP world, and understanding them sets the stage for working with sessions effectively. In this video you will learn:
🔹 What Cookies Are - Why HTTP is stateless and how cookies help solve that - How cookies allow the server to remember clients across requests - Where cookies are stored and how they travel between client and server - Client-side vs server-side visibility (HTTP-only vs accessible from JavaScript) - Common uses (session identifiers, personalization, analytics, etc.) 🔹 Setting Cookies in Laravel - You’ll see how Laravel allows you to: - Queue cookies to be added to the outgoing response - Attach cookies directly to a response object - Configure cookie attributes such as expiration time, path, domain, secure mode, and HTTP-only mode - Work with encrypted cookies (default in Laravel) - We walk through multiple approaches, and the vid eo explains when you’d use each one. 🔹 Retrieving Cookies We compare: - Raw PHP cookie access - Laravel’s cookie retrieval helpers - Using the request object to access cookies - Automatically decrypted values in Laravel 🔹 Deleting Cookies You’ll see how to invalidate cookies and remove them properly from the browser. 🔹 Production Considerations We discuss: - Why you almost always want encrypted or signed cookies - What types of data should not be stored in cookies - Practical tips for secure cookie handling 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #SoftwareEngineering #BackendDevelopment #CodingBestPractices #TechEducation #LearnToCode #TekCasts |
Tue, Feb 3, 2026 | 22m:49s | |
| Pragmatic Laravel |
Sessions
Learn how Laravel sessions work, why they matter, and how to choose and use the right session driver for your app.
📺 In this video you'll learn: - What sessions are and how they let servers remember users across requests. - The trade-offs between session storage drivers: file, cookie, database, redis, memcached, dynamodb, and the built-in array driver for testing. - How to store, retrieve, and delete session data in Laravel (helpers, request-based APIs, and Blade usage). - Flash data: how Laravel flashes temporary data (e.g., validation errors) and how to reflash/keep it. - Session lifecycle operations: regenerate session ID, invalidate session, and best practices for production. - Guidance on which driver to pick based on scalability, speed, persistence, and reliability. ✨ Who is this for? Backend devs and full-stack devs building real Laravel apps who want practical guidance for session management and how session choice affects production behavior. 🔧 Useful links (mentioned in the video): - Official Laravel Sessions docs — https://laravel.com/docs/12.x/session 📌 Key takeaways: - Sessions store server-side data tied to a user via a cookie (session id). - Driver choice matters — Redis is great for high-traffic apps; file or database may suffice for smaller apps. - Use flash data for one-time messages (validation errors, success notices). - Always regenerate/invalidate sessions appropriately on sensitive actions (login/logout) to help prevent fixation. 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #LaravelSessions #SessionManagement #PHP #WebDevelopment #BackendDevelopment #FullStackDev #TekCasts |
Thu, Feb 5, 2026 | 26m:12s | |
| Pragmatic Laravel |
Custom Alerts / Toasts
n this video, we take a practical, hands-on look at Alerts / Toast Messages and how they fit into Laravel’s session-driven workflow.
You’ll learn: ✨ What alerts/toasts are and why real applications rely on them ✨ How to build a clean, reusable alert component on the front end ✨ How to create a smooth developer experience on the back end ✨ How to connect both pieces using Laravel’s session flash data ✨ How to display success, warning, and error messages seamlessly We walk through the full flow—from triggering messages in your controllers to rendering beautiful toast-style alerts in your UI. This is a foundational building block for providing meaningful feedback to your users. By the end of the video, you’ll have a custom-built alert system that works across your entire application and follows Laravel’s best practices. 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #FullStackDev #BackendDevelopment #CodingTutorial #TekCasts |
Tue, Feb 10, 2026 | 24m:49s | |
| Pragmatic Laravel |
Resource Controllers
In this video, we continue building our survey application by exploring Resource Controllers, CRUD operations, and RESTful routing conventions in Laravel.
You’ll learn how Laravel connects controllers, models, and routes using expressive, convention-driven patterns that dramatically simplify your codebase. What We Cover ✔ Controllers - Off-loading logic from route files - Organizing application behavior into coherent action methods - Coordinating Models and Views ✔ Eloquent Models - Representing database tables as objects - Simplifying database interactions - Handling model relationships - Working with PHP instead of SQL ✔ CRUD Fundamentals - Create, Read, Update, Delete - Why nearly every model needs these operations ✔ RESTful Routes - Mapping CRUD operations to HTTP verbs - GET, POST, PUT/PATCH, DELETE - Using _method to simulate non-GET/POST verbs in forms ✔ Resource Controllers - Scaffolding with: `php artisan make:controller SurveyController --resource` - Understanding index, create, store, show, edit, update, destroy - Conventions that keep your controllers clean and predictable ✔ Resourceful Routing - Connecting all CRUD routes with a single line: `Route::resource('surveys', SurveyController::class);` - Overview table of every generated route, verb, URI, and action ✔ Nested Resources & Relationships - Handling survey sections with nested resource routes - Using ->scoped() to ensure child models belong to parent models - Auto-generated nested route names (e.g., surveys.sections.index) Links & References - Laravel Resource Controllers Documentation: https://laravel.com/docs/12.x/controllers#resource-controllers If you're learning Laravel the pragmatic way — by building real features, with clean code, using the framework as intended — hit subscribe and follow the full series! #Laravel #PHP #RESTful #CRUD #CleanCode #WebDev #TekCasts |
Thu, Feb 12, 2026 | 19m:14s | |
| Pragmatic Laravel |
Survey List
In this episode, we continue building out our survey application using RESTful Routes in Laravel — focusing specifically on the List / Index functionality. This is where your application begins to feel real: retrieving data, showing ownership, and giving users access to CRUD operations.
👉 We walk through: - Migrating the surveys table to include a user_id owner - Building a clean, readable table view to list all surveys - Providing quick access to create, view, update, and delete actions - Preparing the foundation for the full management workflow This is a hands-on, practical lesson designed to reinforce core Laravel conventions and REST architecture—no fluff, just real-world application structure. 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #CodingTutorial #FullStackDevelopment #BackendDevelopment #LearnLaravel #SoftwareEngineering #Developers #BuildInPublic #TekCasts |
Tue, Feb 17, 2026 | 22m:7s | |
| Pragmatic Laravel |
Survey Simple Create
In this episode of Pragmatic Laravel, we continue building out our survey management features by implementing the Create workflow for a RESTful resource.
This video focuses on wiring together the controller, view, and form handler needed to create new surveys while following Laravel’s RESTful conventions and keeping responsibilities clearly separated. ✅ What You’ll Learn: - How the create action fits into a RESTful resource controller - Building the survey.create Blade template - Handling form submissions with the store action - Keeping controllers clean and intentional - Preparing your application for full CRUD workflows This is a key step toward building real-world admin and management features using Laravel’s conventions—without unnecessary complexity. 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PHP #WebDevelopment #BackendDevelopment #RESTfulAPI #SoftwareEngineering #CodingTutorial #TekCasts |
Thu, Feb 19, 2026 | 22m | |
| Pragmatic Laravel |
Authorization / Laravel Policies
In this video, we tackle authorization in Laravel and close an important gap in our RESTful workflow.
You’ll learn how to define what a user can do, enforce those rules cleanly, and secure your application using Laravel Policies — without cluttering your controllers or routes. What we cover: - Cleaning up loose ends from earlier videos - Defining authorization rules on the User model - Generating and structuring Laravel Policies - Enforcing permissions via: Controllers, Middleware, Routes, the AuthorizesRequests trait - Reviewing real authorization logic across: SurveyPolicy, SurveyController, SurveyRequest, Section & Question controllers - Seeing what happens when a user is not authorized This is a critical step toward building secure, maintainable, production-ready Laravel applications — especially when working with RESTful routes and resource controllers. 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PragmaticLaravel #LaravelAuthorization #LaravelPolicies #PHP #WebDevelopment #TekCasts |
Tue, Feb 24, 2026 | 17m:59s | |
| Pragmatic Laravel |
Survey Preview
When you’re building and managing surveys, you need a safe way to see exactly what respondents will experience — before you publish anything.
In this episode of Pragmatic Laravel, we add a Survey Preview feature for survey creators and managers. This preview allows the person building the survey to view it exactly as a participant would, without making it publicly accessible. Rather than creating something new from scratch, we reuse the existing “take survey” view, wire it through proper RESTful routes, and expose it intentionally as a management-only capability. What you’ll learn in this video: - How to add a manager-only survey preview - Designing preview routes that fit RESTful conventions - Reusing existing Blade views without duplication - Connecting routes, handlers, and views cleanly - Adding preview links to survey management screens - Thinking intentionally about who a feature is for and why This is a practical example of building real-world management features while keeping your Laravel application clean, readable, and maintainable. 🎥 Watch more at TekCasts: https://tekcasts.com 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PragmaticLaravel #PHP #WebDevelopment #TekCasts |
Thu, Feb 26, 2026 | 6m:11s | |
| Pragmatic Laravel |
Survey Delete
Deleting data is easy. Deleting data safely and intentionally is where real applications are made.
In this episode of Pragmatic Laravel, we implement survey deletion the right way — with confirmation, clear feedback, and reusable infrastructure that works across the entire app. Rather than wiring up one-off JavaScript or brittle confirmation dialogs, we build a flexible alert system that supports: - Server-side flash alerts - Client-side JavaScript alerts - Reusable confirmation dialogs via data-* attributes What you’ll learn: - How to wire up the destroy action using RESTful resource routes - How to confirm destructive actions before they happen - How to build a reusable alert/confirmation system in Laravel - How PHP and JavaScript can work together cleanly - How to improve UX without sacrificing maintainability Topics covered: - Resourceful routes and controllers - Delete buttons with confirmation - Flash messaging infrastructure - JavaScript-powered confirmation dialogs - data-confirm patterns for scalable UI behavior This approach scales beyond surveys — you can reuse it anywhere you need confirmations, alerts, or user feedback across your Laravel application. 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PragmaticLaravel #PHP #CleanCode #TekCasts |
Tue, Mar 3, 2026 | 11m:26s | |
| Pragmatic Laravel |
Survey Edit / Update
In this video, we build the edit/update experience for surveys using RESTful routes in Laravel. We focus on creating a clean, scalable user experience that sets the foundation for managing surveys, sections, and questions—without reaching for Livewire (yet).
You’ll see how to wire up resourceful routes, connect them to controller actions, and design views that support future growth. We’ll also look at how Laravel Breeze uses modal dialogs with Alpine.js, and how those patterns can be reused in real applications. This is another step in building a practical, real-world Laravel application, emphasizing clarity, maintainability, and thoughtful UX decisions. What you’ll learn: - How to implement edit/update flows with RESTful resource routes - Connecting list views to edit pages cleanly - Using resource controllers effectively - Designing views that support future survey management features - Leveraging Laravel Breeze + Alpine.js modal patterns - Preparing your application for section and question management Up Next: - Managing survey sections - Managing survey questions - Continuing to evolve the survey management experience If you’re looking to move beyond “toy examples” and see how Laravel is used pragmatically, this series is for you. 💥 About the Series: Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic. #Laravel #PragmaticLaravel #PHP #CleanCode #TekCasts |
Thu, Mar 5, 2026 | 12m:38s |