Content relationships in Laravel vs WordPress
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
Creators and Guests
Host
Aurooba Ahmed
(she/her) Developer building bespoke #WordPress solutions, tools, and blocks. My name is pronounced "oo-ROO-ba" — Default to kindness, folks.