Laravel: Two Routes - Resource or Single Get Routes?
If you have only index() and show() methods in the Controller, is it better to have two single routes or use the Resource Controller?
Links mentioned in the video:
- Docs: Actions Handled By Resource Controller #actions-handled-by-resource-controller
- “Cruddy by Design“ - Adam Wathan - Laracon US 2017
- My article “CRUDdy By Design by Adam Wathan: Summary, Examples, Opinions“
- - - - -
Support the channel by checking out my products:
- My Laravel courses:
- Filament examples:
- Livewire Kit Components:
- - - - -
Other places to follow:
- My weekly Laravel newsletter:
- My personal Twitter:
2 views
15
7
1 month ago 00:26:22 1
156 Large file uploads, scrambled spotlights, and preparing for Laracon AU
1 month ago 00:05:27 1
Let’s build a CMS with Filament 3 and Laravel 11 | #32 - Carousel block part 2
1 month ago 00:11:39 1
Let’s build a CMS with Filament 3 and Laravel 11 | #31 - Carousel block
1 month ago 00:05:11 1
Let’s build a CMS with Filament 3 and Laravel 11 | #30 - Email Builder part 2
1 month ago 00:02:59 1
Let’s build a CMS with Filament 3 and Laravel 11 | #29 - Email Builder
1 month ago 00:08:18 1
Let’s build a CMS with Filament 3 and Laravel 11 | #28 - Small improvements
1 month ago 00:07:06 1
Let’s build a CMS with Filament 3 and Laravel 11 | #27- Menu Builder part 4
1 month ago 00:07:33 1
Let’s build a CMS with Filament 3 and Laravel 11 | #26- Menu Builder part 3
1 month ago 00:03:45 2
Laravel Policies: Add Custom Methods
1 month ago 00:03:50 1
Let’s build a CMS with Filament 3 and Laravel 11 | #245- Menu Builder part 2
1 month ago 00:05:14 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #18 - Infinite Scroll part 2
1 month ago 00:05:04 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #18 - Infinite Scroll part 1
1 month ago 00:14:33 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #17 - Follow functionality
1 month ago 00:05:53 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #16 - Profile Page part 3
1 month ago 00:02:30 1
Let’s build a CMS with Filament 3 and Laravel 11 | #24 - Menu Builder
1 month ago 00:07:45 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #16 - Profile Page part 2
1 month ago 00:04:47 1
Let’s build a CMS with Filament 3 and Laravel 11 | #23 - Laravel Pulse
2 months ago 00:02:28 1
Let’s build a CMS with Filament 3 and Laravel 11 | #22 - Theme plugin
1 month ago 00:05:35 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #15 - Profile page part 1
1 month ago 00:02:18 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #14 - Like button part 2
2 months ago 00:07:22 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #13 - Like button part 1
2 months ago 00:05:00 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #12 - Add links to tweet body
2 months ago 00:09:59 1
Let’s build a CMS with Filament 3 and Laravel 11 | #21 - Load more button part 2
2 months ago 00:19:48 1
Let’s build a CMS with Filament 3 and Laravel 11 | #20 - Load more button part 1