Search looks for provided text the Title, Description, Classification, and Keywords for the video.
oop,php
33m:55s
Mar 27, 2025
Exceptions & Errors
When things go wrong in your PHP application, how do you handle it? 🤔 In this video, we dive into the art of exception handling and smart error management! 🎯🔹 Throwing & catching exceptions—what, when, and why? 🎭
🔹 Best practices for handling errors (logging, notifications, feature toggles) 📝
🔹 When to use try/catch blocks (external APIs, limited resources) 🔄
🔹 The role of a global exception handler 🛑
🔹 Throwing custom exceptions to make your code more meaningful 🏗️
🔹 Why exceptions can be expensive 💰 and how to use error objects instead ⚡
By the end, you’ll know exactly how to keep your application resilient, stable, and user-friendly! 💪 Let’s dive in! 🎬
oop,php
9m:48s
Apr 17, 2025
Extracting Layout Components
In this video, we take a major step toward cleaner, more maintainable code by refactoring our static HTML into reusable layout components. ✂️➡️🧩We’ll extract repeated sections of HTML into their own PHP partial view files:
• layout/_nav.view.php 🧭
• layout/_page_head.view.php 🧠
• layout/_header.view.php 🏷️
• layout/_page_foot.view.php 👣
This makes our pages easier to manage and sets the stage for a powerful layout system in future steps. 💡
By the end of this video, our project will be refactored and tagged as v3-layout-files—modular, organized, and ready to grow. 🚀
browser,javascript
8m:58s
Sep 30, 2025
Fetch API Basics
Unlock the power of the Fetch API and take your JavaScript skills to the next level! ⚡️In this video, you’ll discover how to:
Make lightning-fast GET requests with fetch()
Transform API responses into usable JSON 🔄
Handle errors like a pro (404s, network issues, and more) 🛑
Write cleaner, modern code with Promises and async/await ✨
Whether you’re pulling in jokes, quotes, or real-world data, this lesson gives you the tools to connect your app to the web 🌍 and make it truly dynamic.
👉 Hit play and start fetching like a pro! 🚀
linux
10m:48s
Feb 3, 2025
File System - Create, Copy, Move, Link
This video is part of the Linux Crash Course series. This video will continue introducing the Linux File System. In this video you will learn how to create / remove directories, copy / move files, and everything you need to know about links.Github Repo: https://github.com/rcravens/linux-crash-course
linux
16m:41s
Feb 3, 2025
File System - Permission
This video is part of the Linux Crash Course series. This video will continue exploring the Linux File System. In this video you will learn about permissions and how to secure access to files.Github Repo: https://github.com/rcravens/linux-crash-course
linux
13m:51s
Feb 3, 2025
File System - Wildcards, Find, Search
This video is part of the Linux Crash Course series. This video will continue exploring the Linux File System. In this video you will learn how to search the file system for files or content inside those files.Github Repo: https://github.com/rcravens/linux-crash-course
linux
23m:8s
Feb 3, 2025
File System Basics - Navigation
This video is part of the Linux Crash Course series. This video will introduce the Linux File System. In this video you will learn how to navigate the file system.Github Repo: https://github.com/rcravens/linux-crash-course
javascript,node
15m:13s
Nov 4, 2025
File-Based Storage
Ever wondered how to persist data without setting up a full database? In this episode, we explore file-based storage in Node.js — a simple way to read, write, and manage data using the filesystem.Perfect for small projects, prototypes, or when you just need to get things done quickly ⚙️💾
👉 You’ll learn how to:
- Read and write JSON files asynchronously using fs/promises
- Implement full CRUD (Create, Read, Update, Delete) operations
- Handle data safely and understand file-based storage limitations
- Prepare your app for a transition to a real database later
💡 Relevant Links
Node.js Docs:
- Reading Files: https://nodejs.org/en/learn/manipulating-files/reading-files-with-nodejs
- Writing Files: https://nodejs.org/en/learn/manipulating-files/writing-files-with-nodejs
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
javascript,node
19m:51s
Dec 18, 2025
Final Refactor
Your JavaScript framework is complete 🧠⚙️In this final refactor, we polish our custom Node.js MVC framework — bringing everything together into a clean, organized, and extensible foundation worthy of real-world projects 💪
👉 In this episode, you’ll learn how to:
🧩 Move core classes like BaseController and BaseModel into the app layer
🧠 Refine the Router to handle static assets and feed request body data to middleware
🔒 Strengthen encapsulation and enforce single responsibility
✍️ Apply DRY principles and consistent coding style across the codebase
🎁 Add a fun “Easter Egg” route using your new framework
By the end, you’ll have built a lightweight but powerful Node.js framework — and gained a deep understanding of how professional frameworks like Express are designed under the hood 🚀
💡 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 mentioned:
- 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
oop,php
12m:54s
Jul 17, 2025
Final Review & Refactor
This video is all about the last layer of polish — a final walkthrough to tidy up code, views, and structure across the project. Here’s what we touched:🖼️ Views
- index.view.php: added wider screen support with max-w-7xl.
- Removed a duplicate header to clean up the layout.
🧱 Framework Cleanup
- Database.php: fixed IDE issues and added helpful annotations.
- globals.php: minor tweaks to smooth dev experience.
- Model.php: highlighted PHPDoc comments, reviewed skip(), take(), and orderBy() methods.
- Session.php and View.php: both got the “FII” treatment (Fix IDE Issues).
📦 Http Layer
- Policies:
- UserPolicy: FII.
- Controllers:
- AuthenticationController, PhotoController, RegisterController, ReviewController, and UploadController: all reviewed and cleaned up.
🌐 Public Entry Point
- index.php: adjusted try/catch block for better error handling and clarity.
🎯 And that wraps things up at v28-review-refactor — setting the stage for a maintainable, scalable app with a solid foundation.
Coming Soon
laravel,php
18m:20s
Dec 30, 2025
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
oop,php
18m:18s
Jun 3, 2025
First Review & Refactor
It’s time to pause and sharpen the tools. In this video, we take a step back to review our progress and clean up our codebase, because maintainability is key to sustainable development. 🛠️Here’s what we tackle in version v16-framework-refactor:
Emphasize the value of regular review and refactor sessions 🧠
Review our entry point (public/index.php) and extract logic into a new App class 📦
Create Framework/App as a singleton with a start() method to centralize bootstrapping 🚀
Address messy relative paths like '../../' by creating a dedicated Path helper class 🧭
Build Framework/Path as a singleton and introduce helpers like app(), root(), require_app(), and require_root()
Refactor all path-related code to use these clean, expressive helpers 📁
Move globals.php into the Framework directory to keep framework-related code encapsulated
Clean up and clarify all require/import statements 🔄
This refactor sets us up for a cleaner, more organized foundation—making our mini-framework easier to navigate, extend, and love. 💡
javascript,node
11m:4s
Dec 9, 2025
Flash Messages
Your app just got a voice 💬✨It’s time to give your users clear feedback with flash messages — those friendly pop-ups that say things like “User created” or “Access denied.”
In this episode, we’ll bring interactivity and state together to create a polished, professional experience.
👉 In this episode, you’ll learn how to:
🚀 Implement flash messages using your existing session system
⚙️ Build alert helpers (req.alert.success, req.alert.error, req.alert.warn)
🧩 Pass flash data into your EJS views for dynamic display
💡 Automatically clear messages after they’re shown
🎨 Create a reusable _flash.ejs component for consistent UX
By the end, your Node.js app will communicate like a pro — giving users instant, elegant feedback ⚡️
💡 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
Official Docs & Resources:
- Node.js Documentation: https://nodejs.org/en/docs/
- EJS Docs: https://ejs.co/
- MDN Web Docs – JavaScript Guide: https://developer.mozilla.org/en-US/docs/Web/JavaScript
oop,php
17m:11s
Jun 19, 2025
Fluent Validation
In this step, we introduced a flexible and expressive validation system.🧱 Created the Framework/Validation class and added a validate() helper to globals.php.
✍️ The goal was to write intuitive validation logic like:
validate('rating')->integer()->min(0)->max(5)->required();
validate('name')->string()->max(100);
validate('comment')->string()->max(1000);
🧪 This fluent API allowed chaining validation rules for each input field, improving both readability and maintainability.
🔧 We fixed the num_stars constraint in the migration SQL to properly enforce the rating range.
🧹 Ran the migration and reseeded the database to apply the changes.
🕵️ Also refined the reviews logic to default the name to “Anonymous” when one isn’t provided.
This new validation infrastructure enhances data safety and gives us a consistent, clean way to validate user input throughout the application.
Coming Soon
laravel,php
14m:43s
Dec 23, 2025
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