Diving into models and views in Laravel
Listen now
Description
Breaking down Laravel and the MVC framework by building our first model and view. Along the way, Aurooba and Brian talk about Breeze, Artisan, database migrations, and Query Builder - all fundamental components of Laravel- and how they work. A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first! Laravel Breeze - https://laravel.com/docs/10.x/starter-kits#laravel-breeze Eloquent ORM - https://laravel.com/docs/10.x/eloquent Code from this episode - https://github.com/viewSourcePodcast/suggest-episode Brian's website – https://www.briancoords.com Aurooba's website – https://aurooba.com (00:00) - Introduction (00:08) - What are we building with Laravel? (02:48) - Frontend Demo and Laravel Breeze (04:17) - MVC - The Model (07:20) - MVC - The View (09:22) - MVC - Controller (11:40) - Artisan Migrations to set up Database tables (16:52) - Our New Suggestions Model (18:01) - Strictness in a Framework (21:53) - Query Builder (25:16) - Views and Blade Templates (32:29) - Coding Standards in Laravel (35:13) - Next Steps and Outro
More Episodes
Aurooba and Brian dig deeper into the WordPress Interactivity API. This episode mostly focuses on the HTML directives they used in their custom blocks, how they work with block markup, and how the Interactivity API uses them to hydrate data. Along the way they also compare it to other templating...
Published 04/29/24
Published 04/29/24
So begins another project! This time back inside WordPress. Brian and Aurooba discuss the Interactivity API in WordPress. They explore how to use the API, the challenges they faced, and the benefits it provides. They also touch on JavaScript modules and how they are used in the context of the...
Published 04/15/24