Description
Continuing on in the Laravel series, Brian adds suggestion submission capabilities to the Suggest an Episode app and discussed routing, content relationships, and the ease of templating in Laravel versus WordPress.
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!
Demo Project - https://suggest.viewsource.fm/
Project Repo - https://github.com/viewSourcePodcast/suggest-episode
Laravel Debug Bar - https://github.com/barryvdh/laravel-debugbar
BerlinDB - https://github.com/berlindb/core
Brian's website – https://www.briancoords.com
Aurooba's website – https://aurooba.com
(00:00) - Introduction
(01:14) - Submitting a form in to create a new suggestion
(04:17) - Blade Templating Conditionals
(06:51) - User roles and permission conditions
(08:08) - The basics of Laravel Routes
(09:10) - Routes and CRUD
(10:36) - Error Handling in Routes
(11:51) - Passing information to Routes
(12:36) - How to create a Laravel Route
(15:09) - Looking at the Suggestion Controller
(18:36) - Comparing Laravel Scaffolding to WordPress Features
(19:21) - Creating the Destroy function
(21:25) - Comparing Routes in WordPress
(23:07) - When the Data Model needs to change
(25:09) - Content Relationships in WordPress
(28:40) - What are the next steps of the application?
(29:42) - Conclusion
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
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