درباره این درس
Initially, it can be tough to adopt event-based code. Do you find yourself in the same boat? Let me give you a quick example to illustrate when and how to use events in your Laravel apps. We'll begin by reviewing the process of caching database queries, and then discuss how to go about clearing those individual queries, when certain actions occur. Finally, we'll touch upon model events, and finish up by discussing where event listeners may be placed.