SOLID Principle - Dart / Flutter

Learn SOLID principle and be a better developer

4.50 (82 reviews)
Udemy
platform
English
language
Mobile Apps
category
SOLID Principle - Dart / Flutter
2,866
students
2 hours
content
Jun 2023
last update
$19.99
regular price

What you will learn

SOLID Principle

Single Responsibility Principle (SRP)

Open-Close Principle (OCP)

Liskov substitution principle (LSP)

Interface segregation principle (ISP)

Dependency Inversion Principle (DIP)

Why take this course?

SOLID is an acronym for the first five object-oriented design (OOD) principles by Robert C. Martin (also known as Uncle Bob)

These principles establish practices that lend to developing software with considerations for maintaining and extending as the project grows. Adopting these practices can also contribute to avoiding code smells, refactoring code, and Agile or Adaptive software development.

SOLID stands for:

  • S - Single-responsiblity Principle

  • O - Open-closed Principle

  • L - Liskov Substitution Principle

  • I - Interface Segregation Principle

  • D - Dependency Inversion Principle

In this course, you will be introduced to each principle individually to understand how SOLID can help make you a better developer.

Single-Responsibility Principle

Single-responsibility Principle (SRP) states:  class should have one and only one reason to change, meaning that a class should have only one job.


Open-Closed Principle

Open-closed Principle (OCP) states: Objects or entities should be open for extension but closed for modification.


Liskov Substitution Principle

Liskov Substitution Principle (LSP) states: Objects of a superclass should be replaceable with objects of its subclasses without breaking the application. In other words, what we want is to have the objects of our subclasses behaving the same way as the objects of our superclass

Interface segregation principle (ISP)

Interface segregation principle (ISP) states: No code should be forced to depend on method it does not use. ISP splits interfaces that are very large into smaller and more specific ones so that clients will only have to know about the methods that are of interest to them. Such shrunken interfaces are also called role interfaces.ISP is intended to keep a system decoupled and thus easier to refactor, change, and redeploy.


Dependency Inversion Principle

Dependency inversion principle states: Entities must depend on abstractions, not on concretions. It states that the high-level module must not depend on the low-level module, but they should depend on abstractions.

Reviews

Ibrahim
December 28, 2022
Bro, u r great, I wish all the instructors take inspiration from your technique. I just have one problem .. why in the dependency inversion u used abstraction between high-level classes themselves.. the principle is talking about decoupling of low and high with the abstraction, not the high and high. Please correct me if I am wrong because I am confused right now. ThanQ :) :)

Charts

Price

SOLID Principle - Dart / Flutter - Price chart

Rating

SOLID Principle - Dart / Flutter - Ratings chart

Enrollment distribution

SOLID Principle - Dart / Flutter - Distribution chart

Related Topics

4866556
udemy ID
9/5/2022
course created date
9/9/2022
course indexed date
Bot
course submited by