@@CodersTape Before I was sceptical about how Laravel can serve as a framework for big applications like CRM solution with 4-tier solutions (Storage + Model + Service + View). Now I see that Laravel 6 have a powerful tools for dev. Victor, maybe you have some course about performance tunings in Laravel? Maybe some course about best practices how to work with events and queues, because event it's a best way for decoupling of classes and logics - the separate event listener can listen on User::online event and create some record in UserActivityTracking system or whatever. Thank you!
@CodersTape5 жыл бұрын
As suggested by Michael Erwin, the singleton binding should be registered in the using the register() method in the AppServiceProvider class, not the boot().
@bboydarknesz3 жыл бұрын
I makes me doubt before your clarification. Thanks for it. that's what you taught me too in your Service Container video.
@lazarusodhiambo27074 жыл бұрын
I can't believe this content is free. Thanks a lot man.
@moussabkobisy46862 жыл бұрын
I have been asked to explain facade in a job interview and that was my answer : laravel facade is a feature provided by laravel and it let us call the dynamic methods in a static way so, instead of doing two steps, construct the class and then call the method dynamically out of this construction, You can just call the function statically through Facade and the facade will do everything behind the scenes, facade first will go to the service container and construct the class there, then facade will use PHP magic function __callStatic to return the called method. I think this is a great feature, and you know, at the beginning I was unable to grasp the concept of facades and fully understand how does it works until I wrote my own facade using pure PHP. I think laravel creators are geniuses because they provide such a complicated concept in a way that let everyone use it, even if he doesn't know he is using it
@AbdulSamad-sq3rd2 жыл бұрын
I'm also applying for Laravel jobs. This summary answer has also helped. Thank you.
@SimpleLangSolution Жыл бұрын
That was beautiful. I've been working with Laravel for the better part of 10 years and only now do I fully understand Facades. Thank you.
@michaelplichart32246 күн бұрын
Great explanation as usual with Coder's Tape Thank you very much for this video
@joelmurphy77022 жыл бұрын
This tutorial is golden. Clearly explains the inner workings of the framework to the extent it should be explained in the documentation. Thanks man!
@jeff93935 жыл бұрын
dude i just found this channel and everything got me.. from the thumbnails design and little music intro to the simple but clear explanation.. i hope to see laravel 6 to maximum power here + as a spanish speaker who has always preferred english content about programming
@danhnguyen-sz4tv2 жыл бұрын
OMG, your content is so unique. I haven't seen any video that explain everything so detail like yours
@MrMirza-uw1ry4 жыл бұрын
Amazing!!! I watched a lot of tutorials but never got this type explanation strategy that take learner from ground to sky. Most of the teachers ask to learn prerequisite to proceed further. But you teach prerequisite and advance at the same time. Really appreciated! Keep the good work up (y)
@nguyenmanh80872 жыл бұрын
Best explain about Facade ever, you really did a good job bro! Keep going!
@olivierbassin2865 жыл бұрын
Mate, I recently hit a wall in my learning and each one of your videos brightens my day. This is some of the best content out there to me, especially the more advanced stuff that's almost never discussed.
@CodersTape5 жыл бұрын
Happy to help
@francisco91803 жыл бұрын
Only words I have right now: "Fantastic tutorials!!"
@RishabKapadia Жыл бұрын
Legendary explanation. 💯🚀🙏 you should be the official laravel tutor.
@rustin-m3 жыл бұрын
You are an incredibly perfect teacher!
@AhmedMwafi2 жыл бұрын
Clear and smooth, nailed it
@FranciscoSierraLDU5 жыл бұрын
I should say that I like your videos but what I really want to say is that I ABSOLUTELY LOVE THEM!!! You are awesome, so i'll start calling you Sensei! Greetings from Ecuador.
@CodersTape5 жыл бұрын
Haha thanks for the comment. Gracias!
@alinawaz40345 жыл бұрын
first time i get what Facades are thanks man love you!!
@MG-wx8yx5 жыл бұрын
"So how cool is that?". Thanks for sharing the knowledge bro, I appreciate it so much. I'm watching the Vue series first then I will come back for this Laravel series. You are my sensei. Subscribed since the Laravel From Scratch series.
@CodersTape5 жыл бұрын
I genuinely think those things are so cool. How magical they actually seem! Thanks.
@user-xb6jm5bz3x5 жыл бұрын
Best videos I ever saw for laravel
@ZSteven3 жыл бұрын
Wow. I am impressed with how well your videos are made! Sad that these didn't exist when I started with laravel. Thx to this it will be so much easyer to implement these consepts to other frameworks :P And ofc it will help out a lot with my fresh Laravel project (haven't done that in a while :D)
@aswadali75474 жыл бұрын
Your content is very helpful, keep it up. Also, it would help a lot of people if you could create a public repo for future tutorial series, it would serve greatly as reference material. Other than that your content is pure gold.
@poldohub52755 жыл бұрын
Dude you're awesome. Please upload everyday.
@84Zimone4 жыл бұрын
It is certainly prime quality video content
@SethSetiadha3 жыл бұрын
when you ask "Are you with me so far?" I was like...."not really" hahaha
@yurabobrov67175 жыл бұрын
This is an absolutely fantastic lesson! 👏👏👏 can't waiting a new content on your channel!
@ArunKumar-kb1bb3 жыл бұрын
You have explained Facade in an amazing way. Thank you so much.
@kamal-ahmed4 жыл бұрын
This so clear and amazing that I am speechless. I understood a very confusing concept very clearly and I can now explain it to others. Thank you so muh for this great tutorial.
@geneartista97142 жыл бұрын
This is lit, thanks for your hardwork continue doing your thing
@ahmadkhaled74973 ай бұрын
Keep up the good work mate!
@MohammadRobih5 жыл бұрын
I love your explaination. This is first I get the idea how facade actually work. Thanks man.
@Vinothvipin5 жыл бұрын
Zero dislike is the proof for master piece :) keep rock ...
@SowrenSen5 жыл бұрын
Wow! These are really some cool advanced stuffs. It's totally entertaining the way you explain. Love it!
@jayreigning4 жыл бұрын
man!!, where have you been!!! you are so good at this
@KNRuma11 ай бұрын
This is the BEST!
@teddyperera85313 жыл бұрын
nice and smooth explanation. your teaching is amazing.
@1mr4n4li5 жыл бұрын
in laravel you can convert any dynamic php library to facades if you just add namespace starting with /App/Yourlib
@CodersTape5 жыл бұрын
I think you are talking about realtime Facades? If you do, then you need to add the the namespace \Facades\Your\Class\Here.
@1mr4n4li5 жыл бұрын
@@CodersTape I am not sure its realtime or what, But I mostly import my class with namespace starting with slash and then easily I can use it as facades. I liked a lot facades idea and I have tried to convince codeigniter 4's developers but they believed its not as useful as I am telling them.
@MohamedAjhar Жыл бұрын
This is great and useful lesson, sadly there are no any tutorials recently
@mhnayem60233 жыл бұрын
Thanks for sharing the knowledge bro, I appreciate it so much. I love your explaination. This is first I get the idea how facade actually work. Thanks man.
@PhucNguyen-zh4bo4 жыл бұрын
this video saved my life
@ivnstudios61354 жыл бұрын
thanks a lot Victor I really like the youtube videos you made , and they are very direct to the point , the example made on the video is perfect! thanks
@hieudangthanh5248 Жыл бұрын
Awesome tutorial! Thank you.
@TheMarcelitto2 жыл бұрын
Amazing, thanks for sharing!
@KeyserEngelberthAbarca5 жыл бұрын
Hey Victor, very well explained and easy to understand. Gr8 job!
@ush69394 жыл бұрын
man thank you so much for your hard work, i've been learning a lot of things through out this series, but i would really appreaciate it if you can make a video about how laravel events work as well as channels and stuff, its only this side of laravel that i don't really understand well enough. and thanks again.
@CodersTape4 жыл бұрын
I’ve got a video on events
@ceyhunyucel47494 жыл бұрын
Viktor,this tutorial is really awesome
@logaanathan43745 жыл бұрын
Thank you very much.. initially, i dont have intrest in it.. at last your explanation was really awesome...thanks buddy..
@mouhamaddiop11444 жыл бұрын
one of the best tuts in laravel. Thanks a lot
@AnoopD20135 жыл бұрын
Victor thank you so much for such a wonderful classes .
@ThePublicTutorials5 жыл бұрын
Glad to see the Laravel vids keep coming! I have a ton of use for them. Any chance for a tutorial on invitation-only registration?
@kvanca23302 жыл бұрын
Amazing work. Thanks
@Netherlands0314 жыл бұрын
The 'old way' presented at 16:28 - that is the really old school way of doing, without the service container. You can register things to the service container without having to access them using a facade, so there's a middle way here.
@abdulwakeel89375 жыл бұрын
Awesome , You clear my concept about Facades
@codingstuff83055 жыл бұрын
Hi Victor. Thanks for this high quality video as always. Even if you're explanations were clear I have to see it many times because it's not easy to understand. It's not an easy subject🤔. .. You're still my favorite laravel channel dont worry 😉.
@CodersTape5 жыл бұрын
Like I said using facades is easy, understanding how they work, that’s a totally different ballgame.
@codingstuff83055 жыл бұрын
@@CodersTape indeed that's what I meant. I saw your videos twice to understand how facades work. Thanks a lot again for sharing your knowledges !!
@pittwerx3 жыл бұрын
Such good content. Thanks!
@mohammedsalman33974 жыл бұрын
!Muchas gracias!
@gazorbpazorbian5 жыл бұрын
Awesome job dude, loved this. Melted my brain. Need to look at it again, Understood barely half
@CodersTape5 жыл бұрын
Definitely must watch 2-3 times to understand what is happening. But that’s the level of understanding that you need to make the correct decisions when writing your projects.
@gazorbpazorbian5 жыл бұрын
@@CodersTape dude, you should do a tutorial on push messages and notifications
@adam1920215 жыл бұрын
The BEST as always!
@rfpdl4 жыл бұрын
Really good playlist and videos. Keep it up!
@user-vq6pe5px9k5 жыл бұрын
Awesome man, just keep doing this stuff. I would also really like to watch a course(mb even on udemy) about testing A-Z. RN I dont test my apps at all, cuz I just dont know what Unit, Integration tests are, how to implement it, what the difference btw PhpUnit and Xprint and ofcs I dont have a clue about any of that things. I would really love to watch a fully immersing course on testing php applications in general and laravel ones particularly. Thank you for everything u provide here for free. Its rare to see such talented teacher spreading the word with no charge, I respect it and I value it. Keep going.
@CodersTape5 жыл бұрын
The course I have on Udemy is done using testing. Might be worth checking out.
@AugustoTitan5 жыл бұрын
Amazing course! Keep it up.
@RobertCordes5 жыл бұрын
Love this series. Keep up the great work :)
@vibhorgupta38575 жыл бұрын
Your explaintion is really beautifil and simple
@dinxb93482 жыл бұрын
Amazing lesson... thank you so much. Is it possible to construct the PostcardSendingService with dynamic arguments (country, width and height) ?
@AbdulSamad-sq3rd2 жыл бұрын
I was thinking the same.
@mahmod200015 жыл бұрын
Thanks a lot for these series!!
@jh-to4us3 жыл бұрын
I have learned a lot Thank you so much!!
@kaungkaung80093 жыл бұрын
Thanks bro really help me to understand more
@rjfortis54155 жыл бұрын
I really love the intro bro jaja👌
@CodersTape5 жыл бұрын
Rock on! 🤘
@devMoemen2 жыл бұрын
Amazing! thank you.
@mohamedgharbi75825 жыл бұрын
i love it without seeing the video
@michaelerwin87445 жыл бұрын
Why did you boot method instead of register to bind a service?
@CodersTape5 жыл бұрын
Good catch. Yes, it should have been in the register() method instead.
@michaelerwin87445 жыл бұрын
@@CodersTape Thanks for clarification.
@clusterbyblocks4 жыл бұрын
Very valuable content. thanks!
@AbrarAhmad-mz8vl3 жыл бұрын
Gold!
@antontraceur3 жыл бұрын
Long story short: If you want more bugs in your app use Facades pattern. They didn't wanted to follow good practices so instead of using dependency injection and splitting you application logic correctly into services and different types of classes they've just created a hack to use static methods from anywhere you want. If your an experienced Laravel developer and still don't get why df Facades exists just go Symfony and do things the right way...
@thisisthelogic2 жыл бұрын
wonderful!
@kiasaty4 жыл бұрын
that was fantastic!! but I've got a question. In Lumen, Facades are turned off by default, and you can activate it to use it in your project if you'd like to. What's that about? does using facades have a negative affect on performance?
@kikitumiwan65975 жыл бұрын
it's super.. super.. awesome!....
@bakre_dev8728 Жыл бұрын
@michabbb5 жыл бұрын
never have seen such a great explanation of laravel! do you have a full laravel course? 😊
@CodersTape5 жыл бұрын
Yes. Right in the channel.
@chang112x4 жыл бұрын
Nice tuts... keep going :D
@ashishnimrot42185 жыл бұрын
Awesome sir..
@devfarhod4 жыл бұрын
Thanks for such awesome pro tutorials. I really liked the video style. Can you share your secret, please? Do you write a video script before recording or speak as you record?
@xavolinks4 жыл бұрын
Muito bom. Very good. I'm from Brazil
@josephnduati12144 жыл бұрын
The GOAT 🐐
@sunduskareem32764 жыл бұрын
Thanks so much , this really helped me
@banujan.b24794 жыл бұрын
Coool!!!!!!! But I have a doubt, You are using app->singleton() which means we can't create 2 or more postcard instance with difference values right?
@user-vc3xn7gh3d5 жыл бұрын
What do you think about using facades. Is it good way? The magic methods make reading the code more complicated. Also IDE can't make variable hinting (you can see this at 16:20).
@CodersTape5 жыл бұрын
I like facades and use them in my projects. IDE support has gotten better but you’re right, it’s not 100% yet. But I do know that Phpstorm is just working overtime to add Laravel specific features. All of the latest releases have had Laravel features.
@TUTORIALSUZ4 жыл бұрын
Thank you!!!!!!!!!!
@free2idol13 жыл бұрын
Thanks for creating awesome videos... I just have a few quick questions: 1/ In 21:01 the Mailer() class is not auto-loaded so how can we initialize it as $mailer = new Mailer(...) ? 2/In 21:01: $mailer = new Mailer( $this->app['view'], $this->app['swift.mailer'], $this->app['events'] ); 'view' and 'events' alias is not stated in /bootstrap/cache/services.php, then how can it be resolved via app() ?
@user-tk1re2hd2y5 жыл бұрын
More! More! More!
@CodersTape5 жыл бұрын
Up next, Macros...
@minjon565 жыл бұрын
I like the video and I understand the facts. What I don't get is - why would we construct the PostcardSendingService class, bind the Postcard class to it, and then use two methods to call the regular hello method from the first class statically in the latter one. Can we simply construct the Postcard class, call the getFacadeAccessor method on it, and use the static hello method from within that class. Is your approach for educational purpose only or I am missing something?:)
@user-vq6pe5px9k5 жыл бұрын
As you can see from the example of laravel impelementation self (mailer and Mail facade), you can notice that they also use the approach of splitting the logic of instansiating a facade functionality and base class. So, think its related to *separation of concerns, or single responsibility prinsiple* which is well known at object oriented programming.
@natenatebobate4 жыл бұрын
Victor, I'm quite new at webdev and brand new at laravel, and almost everything I have learned about it I learned from you. You're like a god to me (despite that I'm an atheist). I've spent dozens of hours going over your 4-hr beginner class, as well as your other vids. However, often it seems I need, or it would be helpful, to know what some of the advanced topics are about, at least on the surface, like Facades. Is there possibly a concise and explicit version of this video for learning WTF a facade is, because after watching this entire video, rewinding in places, I still don't know what a facads is (you never said what a facade is). I got some inkling about some of the features of a facade (seems like static method but is not), but I really have no idea if I have ever encountered one in my personal projects or what to do about it if I did. Of course, the Laravel docs are equally cryptic; (read the first few paragraphs on facades and quote me the part that says "A facade is a ...). Clearly, the docs are almost useless to newbies. Without you, Victor, (and a couple others) I wouldn't have the faintest idea how to use the framework. But I can't advance if everything is geared toward experienced programmers only. Can ANYONE ELSE out there help me out in case Victor doesn't get around to reading this? Any help/contact would be very, very appreciated.
@santiagos42903 жыл бұрын
Kind of creating a static/ utility class
@innocentmazando38084 жыл бұрын
thats what am talking about
@armandomora22864 жыл бұрын
and that allow to automatically declare the variables of the constructor
@iwandepee3 жыл бұрын
greattt
@hamzaaslam6973 жыл бұрын
damn you are just great man
@diohngoe60284 жыл бұрын
One of the best laravel's tut, well explained. but i've got an issue. upon sending a postcard, i receive an error message say "No such host is known" when i'm offline and when i'm online i'll receive an error message "Cannot send message without a sender address" please any help???
@humanity0true0way3 жыл бұрын
10 dislikes !!!!!! Thanks man for this great content
@robertrocha72163 жыл бұрын
I'm confused as to why you are using the boot method to create your singleton and not the register method instead in AppServiceProvider. Care to explain?