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
5 months ago 00:07:54 1
Filament 3 Custom Form Field (Slug Component)
5 months ago 00:45:15 2
Build ChatGPT In Laravel 11 Using OpenAI API | Create ChatGPT Clone Using Livewire 3
5 months ago 01:23:08 6
NuxtJS and Laravel API
5 months ago 01:42:31 1
Laravel Worldwide Meetup - Oh Crap, We’re Popular! / An Introduction to Laravel Internals
5 months ago 00:02:19 1
Laravel Package for HasManyMerged Relationship
5 months ago 00:03:56 5
Laravel Super Admin: 2 Ways to Override Roles and Permissions
5 months ago 00:07:48 1
30 Days to Learn Laravel, Ep 11 - Two Key Eloquent Relationship Types
5 months ago 00:02:46 1
Carbon diffForHumans: Date Difference in Human Language
5 months ago 00:20:03 2
30 Days to Learn Laravel, Ep 06 - View Data and Route Wildcards
6 months ago 05:44:19 1
Laravel 11 + React Full Stack App with Inertia - Project Management App
6 months ago 00:05:03 3
Two API Things that Laravel Automates For Us
7 months ago 00:04:50 7
DB Transactions in Laravel: Two Practical Examples
7 months ago 00:07:43 16
What’s New in Vue 3.4
8 months ago 01:47:13 1
371:Herding Lando
8 months ago 00:05:27 3
Generate Code with ChatGPT? Two Non-Laravel Stories.
8 months ago 00:03:42 1
Get/Compare PHP Versions: Two Useful Functions
8 months ago 00:02:24 1
Laracon US is coming August 27-28th 2024
9 months ago 00:03:56 2
Laravel: Two Routes - Resource or Single Get Routes?
9 months ago 00:07:00 1
Leveling up Laravel deployments: Unlocking optionality
9 months ago 03:01:52 1
Laravel Blog: Comments, Global Search, Deployment | Part 3
10 months ago 00:07:33 11
Public routes blow up Laravel (in a weird way!)
10 months ago 00:05:26 4
Laravel Pulse DB Queries: Indexing, JSON, Collections
10 months ago 00:02:27 1
I got TWO exciting things to share! Let’s go! Find out what’s next!
10 months ago 00:09:39 2
Run Laravel in a subdirectory with Nginx (full, working config)