Laravel Conventions/Guidelines from IxDF

  Рет қаралды 5,309

Laravel Daily

Laravel Daily

Күн бұрын

Пікірлер: 15
@rahulxcr
@rahulxcr 3 ай бұрын
This is very helpful
@faridmoreno2864
@faridmoreno2864 3 ай бұрын
Thank you very much!!!
@373323
@373323 3 ай бұрын
yep, that migration part is a tricky one. specially when moving from branch to branch, your database in one branch can be significantly ( and contradiction ) different than in the other branch , i think this may be a subject better tackled by an artisan command that ( dumps and stashes ) the old branch database and ( creates the new branch database ) ... food for thought
@TalesGrechi
@TalesGrechi 3 ай бұрын
I was thinking the same!
@imqqmi
@imqqmi 3 ай бұрын
Should work if the migration id/version is stored in database. Migration could rollback/forward as required. When automated for dev env could be made seamless.
@codewithfongoh
@codewithfongoh 3 ай бұрын
Thank you for sharing 😊
@francescoleto2823
@francescoleto2823 3 ай бұрын
Good point!
@imnash_on_E
@imnash_on_E 3 ай бұрын
Sir Laravel Daily, should I do this? public function __invoke(User $user, Request $request) Or this? public function __invoke(Request $request, User $user)
@LaravelDaily
@LaravelDaily 3 ай бұрын
I think both could work
@krekas
@krekas 3 ай бұрын
Do the second
@imnash_on_E
@imnash_on_E 3 ай бұрын
Thank you
@MrDhump
@MrDhump 2 ай бұрын
2nd one seems good to me.
@ThalisUmobi
@ThalisUmobi 3 ай бұрын
That rollback thing seems to me super optimistic, i really don't think the effort worth it. The single action controller seems to me like an anti-pattern. The api route versioning is money though, use it, and you will thank yourself very soon.
@khangle6872
@khangle6872 3 ай бұрын
Single action controller is becoming the industry standard in all languages
@ThalisUmobi
@ThalisUmobi 3 ай бұрын
@@khangle6872 Together with fat controllers/lean models? I mean, it seems to me that if the controller is slim, single action controllers don't bring much to the table.
Laravel Return Types in API Controller: Five Options?
8:15
Laravel Daily
Рет қаралды 4 М.
So I've Analyzed 100+ Laravel Open-Source Projects...
11:40
Laravel Daily
Рет қаралды 6 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Configuring (and viewing!) logs in Laravel
13:17
Aaron Francis
Рет қаралды 14 М.
Build Your First CLI App with Laravel Prompts
14:48
Laravel
Рет қаралды 4,4 М.
4 Problems with Eloquent Soft Deletes (and Two Alternatives)
9:05
Laravel Daily
Рет қаралды 14 М.
Laravel API Security: Triple-Check Request TYPES (example "hack")
8:16
Why Don't We Have A Laravel For JavaScript?
12:36
Theo - t3․gg
Рет қаралды 113 М.
A Deep Dive into JVM Start-Up
22:03
Java
Рет қаралды 19 М.
Laravel vs React
9:40
Aaron Francis
Рет қаралды 69 М.
SOLID Principles in Laravel & PHP: A Practical Guide
27:49
Taylor Daughtry
Рет қаралды 10 М.
Laravel and 3rd-Party APIs: The PROCESS
11:31
Laravel Daily
Рет қаралды 3,2 М.
Laravel + Service Pattern + DTOs = ❤️❤️❤️
17:52
Przemysław Przyłucki
Рет қаралды 54 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН