Тёмный

Laravel 6 Advanced - e9 - Soft Deletes 

Coder's Tape
Подписаться 61 тыс.
Просмотров 26 тыс.
50% 1

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 87   
@fiveDust
@fiveDust 5 лет назад
Awesome video as always ,Victor! With this kind of implementation always keep in mind GDPR compliance (if you're targeting the affected geo)
@CodersTape
@CodersTape 5 лет назад
That’s is an extremely important point. Thanks for bringing it up.
@jorgenash3452
@jorgenash3452 4 года назад
damm, this guy explain make everything much more simple. congrats dude, u are really good.
@JACKoPL
@JACKoPL 5 лет назад
Waiting for more and more...
@walidbagh
@walidbagh 5 лет назад
Another advanced episode :D Can't wait for more :)
@rabeeamustafa2228
@rabeeamustafa2228 5 лет назад
the way in explains lecture is powerful, thanks, man!
@mangasprai
@mangasprai 3 года назад
Great explanation, if only i viewed this months ago...
@KhrisnaGunanasurya
@KhrisnaGunanasurya 5 лет назад
Hi @Victor do you mind to export your PhpStorm settings? Because I just tried to download it from your github, but it doesnt work. I just bought the PhpStorm. I'm using Windows.
@luispaulodasilvaferreira665
@luispaulodasilvaferreira665 4 года назад
again, great series, congrats. Can't wait for more
@robbradley1337
@robbradley1337 5 лет назад
Excellent! We need MORE advanced stuff. Make my brain bleed! I canceled my Laracasts membership because I can't handle being talked to in a baby voice anymore. Every new version of Laravel, same old tired thing. Baby step after baby step. Ugh! Sorry, I'm venting. RU-vid/udemy/etc. is flooded with "for beginners". Anyway, thumbs up for the advanced series!
@MULTICODE
@MULTICODE 5 лет назад
hum, laracasts explained well too, you can follow the two at the same time as i do. No course is perfect at 100%.
@adam192021
@adam192021 5 лет назад
The BEST as always!
@parashagrawal7496
@parashagrawal7496 3 года назад
The terminal commands are not quite visible sometimes due to youtube's controls. Would you mind keeping a little space at the bottom? Would be great. Big Fan. :)
@Stoney_Eagle
@Stoney_Eagle 5 лет назад
This might be very useful to give people a grace time after they delete their own record. It's what Facebook does when you click delete your account, you have a grace time of 30 days.
@CodersTape
@CodersTape 5 лет назад
That's a great use case. Maybe write a cron job that permanently deletes records after X number of days automatically.
@CodersTape
@CodersTape 5 лет назад
@Openvisor Definitely rumor
@Stoney_Eagle
@Stoney_Eagle 5 лет назад
@@CodersTape That was exactly what I was thinking. 😉 It might be true, if you think about Facebook's money making model. However the case is, I am glad I left Facebook 😁
@CodersTape
@CodersTape 5 лет назад
@@Stoney_Eagle HAHA Facebook conspiracy comment thread! :)
@Stoney_Eagle
@Stoney_Eagle 5 лет назад
@@CodersTape LMFAO
@linguapharm
@linguapharm 4 года назад
around 50 days no more videos .. i think that is a new knowledge is coming for us to learn!
@MeAsh768
@MeAsh768 4 года назад
Amazing there is lot of thinks i have leant fron this tutorial nice home you will guide with more laravel videos
@isaacsouza17
@isaacsouza17 4 года назад
Great tutorials, really. But you know what whould be even better? A project as close as possible to the real world, from scratch using most of the tools laravel has to offer, that would be awesome to see
@nullishcoalesce
@nullishcoalesce 5 лет назад
helpful as always.
@tyronevalderama4359
@tyronevalderama4359 4 года назад
Thanks for you videos. really helped me a lot. Please make a tutorial for Laravel + Reactjs
@AMoktar
@AMoktar 4 года назад
thanks
@alvarezskinner
@alvarezskinner 5 лет назад
Really like this series of videos! By the way why arent you using $table->softDeletes(); in the migrations as documented?
@CodersTape
@CodersTape 5 лет назад
Completely forgot that method even existed. :)
@alvarezskinner
@alvarezskinner 5 лет назад
Coder's Tape Even so the video was awesome, thanks for these videos! Really looking forward to the next ones. BTW in case of using softDeletes in the migrations, would be interesting if using the same for the rollback will work in the down method.
@CodersTape
@CodersTape 5 лет назад
Great point. I’m not sure. Try it out and report back to us.
@vitor-peixoto
@vitor-peixoto 4 года назад
Hey man, do you have a course about angular? I think it'd be interesting to see you using it with laravel :)
@mooodddy1
@mooodddy1 4 года назад
Please make video about laravel and microservices & laravel modulartiy & more advanced topic
@atalatal
@atalatal 4 года назад
Hi, please let us know what color scheme and font you use. also the icons extension, they look awesome
@g0disn0where
@g0disn0where 2 года назад
Why we cant reach to softdeleted record from model view? It gives 404.
@IvanColumbro
@IvanColumbro 4 года назад
A curiosity: what's ZSH theme are you using in your terminal? Maybe agnoster? If yes, how do you configured it?
@IvanColumbro
@IvanColumbro 4 года назад
Maybe I found it... Powerlevel10k? XD
@CodersTape
@CodersTape 4 года назад
That's right! I have a video on setting up the terminal under the deploying a Laravel project.
@mabdullahsari
@mabdullahsari 5 лет назад
Didn't expect you wouldn't bring up global scopes as that's how soft deletes works behind the curtains... Also, could've simply used $table->softDeletes(); instead of manually defining the types etc.
@techno_abhishek8982
@techno_abhishek8982 4 года назад
Waiting for your new videos..
@ProgrammingwithPeter
@ProgrammingwithPeter 5 лет назад
It's a bit tricky when you do it with emails for example, the unique validation (at least on older versions) didn't check if it was deleted or not, so it would fail.
@johnyonardpauly5601
@johnyonardpauly5601 5 лет назад
I normally use Rule::unique('users, 'email')->where( function (Builder $query) { $query->whereNull('deleted_at') }) - under store method validaiton.Hope it helps if ever :)
@ProgrammingwithPeter
@ProgrammingwithPeter 5 лет назад
@@johnyonardpauly5601 this means that you have to build a custom validator everytime you need to validate by unique. I didn't say that I don't have a solution, it's just that works weird with it. What would the correct behaviour be?
@johnyonardpauly5601
@johnyonardpauly5601 5 лет назад
@@ProgrammingwithPeter yah thats why I said "if ever". I know that youre just trying to explain something.
@johnyonardpauly5601
@johnyonardpauly5601 5 лет назад
@@ProgrammingwithPeter before I used that method, I was also feeling weird on how to handle it.
@lordgodgiven
@lordgodgiven 4 года назад
Hello master wizard of laravel, I have a database with students in it, I also have a folder that contains folders (with the student's serial number) in which there are scanned documents, my question is how to connect the database to the folders via an application so that by clicking on the student's serial number that his folder is displayed. I already have the laravel application with the search function already in place
@arditgjondedaj6143
@arditgjondedaj6143 5 лет назад
Please do a exlanation on foreign keys on migration from laravel
@creative-commons-videos
@creative-commons-videos 5 лет назад
hi, I am confused why every time we modify migration, we use new migration, you did add_column_to_post_table, why not we directly add one more column to posts table instead, what is benefit or difference ?
@CodersTape
@CodersTape 5 лет назад
Adding a new migration allows us to add the column but not lose all of our existing data. I could have added it to the original migration but would have been forced to drop the table and recreate it. At that point, all of the data would have been gone.
@thepepitofamily3308
@thepepitofamily3308 5 лет назад
Thank you .. great tutorial. can you please make a video about laravel api using passport with token scopes . i'm waiting ....
@montazarcrash3851
@montazarcrash3851 4 года назад
would you please create a lesson for laravel passport for API authentication. your awesome dude
@psisco2
@psisco2 5 лет назад
Nice and easy just like usual. i was hoping at the end, that you make a soft delete with relationship example
@rafaelcorrea7959
@rafaelcorrea7959 4 года назад
I would like some help with soft deletes relations.
@alqistasadmin6194
@alqistasadmin6194 2 года назад
what's the name of this editor plz
@kaneKun
@kaneKun 4 года назад
May be a good idea to apply soft delete to all tables in my database?
@CodersTape
@CodersTape 4 года назад
In theory it sounds good. The biggest issue I see with soft deletes is data gloat in the database. Depending on the speed that data is generated in your database, this can make your database huge and slow. Remember there’s a cost of processing associated with every where statement you add so all things to consider.
@EasyHDGaming
@EasyHDGaming 4 года назад
Hey, what theme are you using in phpstorm? Thanks
@CodersTape
@CodersTape 4 года назад
Material Theme Dark
@ishqinfinite3545
@ishqinfinite3545 5 лет назад
hi there , can you please make a video on unlink or how to delete image from storage folder thanks in advance
@stephenadomaddae7744
@stephenadomaddae7744 4 года назад
Hello, im currently building an application where the receives emails from customers but I am having trouble implementing that section. can you help me with that?
@CodersTape
@CodersTape 4 года назад
You will need a service like mailgun to create an incoming webhook for emails. Then that will send it to your laravel app
@stephenadomaddae7744
@stephenadomaddae7744 4 года назад
@@CodersTape Alright, thank you
@rafaelcorrea7959
@rafaelcorrea7959 4 года назад
Firefox formats JSON natively
@zainzulifqar
@zainzulifqar 5 лет назад
Hey Coders tape..!! Hope you are fine please make a series on Subscription system in laravel like the one on laracast.com mean for individual developer and for teams... Thanks
@konstruktion
@konstruktion 5 лет назад
I can't find the video "Policies". Can someone share the RU-vid-Link? Thanks!
@CodersTape
@CodersTape 5 лет назад
I thought I had added it to the description of the video. Let me know if you see it.
@konstruktion
@konstruktion 5 лет назад
@@CodersTape I see it! Thanks!
@muhammadsalbiyath4212
@muhammadsalbiyath4212 4 года назад
Should i learn laravel 5? Or i can skip laravel 5 and jump to laravel 6?
@CodersTape
@CodersTape 4 года назад
No major differences between Laravel 5 and 6, pretty much an incremental upgrade and nothing earth shattering.
@muhammadsalbiyath4212
@muhammadsalbiyath4212 4 года назад
So i can start with laravel 6 ? Hope i enjoy your tutorial sir 🙏
@musicvista5345
@musicvista5345 5 лет назад
Hey, thank u... but you are helping one type of developer, as a freelancer you have to help as much as you can...please i am a laravel developer but what if i am not, please please
@noushadmohammed4286
@noushadmohammed4286 4 года назад
Would you please create a Laravel passport API authentication tutorial.
@CodersTape
@CodersTape 4 года назад
Is there something specific you’re looking for? The install is pretty straight forward.
@helloworld3914
@helloworld3914 4 года назад
And you need to write "Use Softdelete" in you modal where you use $table->softdelete(), if I right
@CodersTape
@CodersTape 4 года назад
That's right
@SPCPerez19Delta
@SPCPerez19Delta 4 года назад
Can I pay you to help me with package development? I'm serious.
@lordgodgiven
@lordgodgiven 4 года назад
Hello Victore, I would like to know the number of people who owe retirement in 5 years, 10 years... and to do this I have their date of birth, the retirement age as well as the retirement deadline, how to do it with larvel. Thanks
@vitalii3256
@vitalii3256 4 года назад
Good topic to make video github.com/laravel/framework/blob/5.5/src/Illuminate/Support/Fluent.php
@Alphabet_-_
@Alphabet_-_ 5 лет назад
@CrazyMoviesLt
@CrazyMoviesLt 4 года назад
build facebook from scratch using laravel
@CodersTape
@CodersTape 4 года назад
You must be a mind-reader!
@CrazyMoviesLt
@CrazyMoviesLt 4 года назад
@@CodersTape haha, awesome :D I am keen to see your chosen tech stack, hope it includes Redis
@Kortess
@Kortess 4 года назад
@@CrazyMoviesLt + for Redis
Далее