Having done a little work in .NET, I've grown to appreciate checking for dirty attributes. Checking for changed attributes after the model is persisted - that's pretty sweet!
Awesome explanation! This knowledge came at the right time, since I'm starting to build a custom audit system for my clients! I'm glad to see you posting new videos, hope to see more from you!
hi mohamed said great work . i am learning laravel right now i was wondering how did you get so good at it to the point that you even started contributing to open source any piece of advice of some one just starting . Btw your making really useful videos
I like tutorials like this that teach you the core of the framework (hidden gems), rather than introducing endless streams of packages.
Thanks Said!
Glad you like it. I try to avoid packages if possible in my apps.
Having done a little work in .NET, I've grown to appreciate checking for dirty attributes. Checking for changed attributes after the model is persisted - that's pretty sweet!
Awesome explanation! This knowledge came at the right time, since I'm starting to build a custom audit system for my clients!
I'm glad to see you posting new videos, hope to see more from you!
Glad it was helpful! :)
Awesome brother, we've been facing the same problem and this trick will be fix it.
Really good one, but I like the observer moree.
Useful video thanks Mohammed from sudan
Learnt something new, thank you, namesake :)
Welcome back to RUclips! 😍
thanks :)
Thnx Mohammed. Wasn't aware of the nuance so this was super helpfull!!! Thnx for taking the time to make this video. Hope to see more. :)
glad you like it :)
It's better practice to watch for changes within the actual Eloquent model insted of the closure function or controller.
Thanks for the video. Could you please let me know what's your theme and color scheme?
Thanks for this. Can you explain more about authentication in Laravel. More on custom guards and provider.
Ok will try to make a video on that :)
Love your accent 😍
how detect change , two models or more or two table change(update one data,change 2 o 3 tables) with getdirty?
hi mohamed said great work . i am learning laravel right now i was wondering how did you get so good at it to the point that you even started contributing to open source any piece of advice of some one just starting .
Btw your making really useful videos
From Nepal.. ❤️❤️
Thanks :)
This is probably the first time I've been able to press like on the same video twice on RUclips.
Did you just cut 13 seconds off? :D
haha yeah I had a few mistakes that had to be edited out. Still working on my video editing skills :|
Well, just make sure to post more often then :) We are always eager to see your content! 😎
legend
glad you like it
amazing, thanks a lot
You are welcome!