uncategorized

Implementing Single Responsibility Principle in Laravel

Single responsibility Principle (SRP) is first of five Solid principles. It is defined as “A class should have only one reason to change.” Single Controller Handling All Operations Above is the example of one class doing everything… and logic is inside every method. This breaks the SRP. To start with this looks faster and easy …

Implementing Single Responsibility Principle in Laravel Read More »

Observer in Laravel

Observer in Laravel is used to do any operations that may be needed before or after any CUD operations on a model. Like before Creating a record, After record is created in the model. Similarly before updating a record and after record is updated etc..   How to create observer? > php artisan make:observer ProductObserver –model=Product …

Observer in Laravel Read More »

Correlation in Machine Learning | Correlation Coefficient

Hello Friends, Today we’ll discuss correlation coefficient and few important methods to calculate correlation coefficient. Before diving deep in correlation coefficient, let’s understand correlation. One can casually understand from the word, that it’s Co-Relation, which is exactly the purpose of correlation coefficient. Correlation means the relation between 2 or more variables. Now, here comes correlation …

Correlation in Machine Learning | Correlation Coefficient Read More »

New Announcement | C++ Tutorial Course

Hi all, we are really glad to announce that we’re back after the long break due to COVID19. Now, we’ll be going to resume our operations soon. So, without wasting the time, let’s move to the main motive of writing this article. We’re going to launch a C++ tutorial course. We’ll cover from basics to …

New Announcement | C++ Tutorial Course Read More »

Share via