Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Interface Segregation Principle

Автор: kudvenkat

Загружено: 2018-01-04

Просмотров: 208147

Описание:

In this video we will discuss
1. Interface Segregation Principle
2. Will look at a Case Study of Interface Segregation Principle
3. And will implement Interface Segregation Principle with a simple example

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
   / @aarvikitchen5572  

In the first video of SOLID Introduction we have understood that I in the SOLID is acronym for Interface Segregation Principle
1. The interface-segregation principle (ISP) states that "no client should be forced to depend on methods it does not use".
2. Which means, Instead of one fat interface many small interfaces are preferred based on groups of methods with each one serving one submodule.
3. The ISP was first used and formulated by Robert C. Martin while consulting for Xerox.

Let us now understand how the ISP was evolved with a case study.

CASE Study

Problem
• As we all know Xerox Corporation manufactures printer systems. In their development process of new systems Xerox had created a new printer system that could perform a variety of tasks such as stapling and faxing along with the regular printing task.

• The software for this system was created from the ground up.

• As the software grew for Xerox, making modifications became more and more difficult so that even the smallest change would take a redeployment cycle of an hour, which made development nearly impossible.

• The design problem was that a single Job class was used by almost all of the tasks. Whenever a print job or a stapling job needed to be performed, a call was made to the Job class.

• This resulted in a 'fat' class with multitudes of methods specific to a variety of different clients.

Because of this design, a staple job would know about all the methods of the print job, even though there was no use for them.

Solution

• To overcome this problem Robert C Martin suggested a solution which is called the Interface Segregation Principle.

• Which means, Instead of one fat interface many small interfaces are preferred based on groups of methods with each one serving one submodule.

For the example used in the demo, please refer to the link below
http://csharp-video-tutorials.blogspo...

Text version of the video
http://csharp-video-tutorials.blogspo...

Slides
http://csharp-video-tutorials.blogspo...

SOLID Design Principles Tutorial
   • SOLID Design Principles Introduction  

SOLID Design Principles Text Articles & Slides
http://csharp-video-tutorials.blogspo...

All Dot Net and SQL Server Tutorials in English
https://www.youtube.com/user/kudvenka...

All Dot Net and SQL Server Tutorials in Arabic
   / kudvenkatarabic  

Interface Segregation Principle

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Open Closed Principle

Open Closed Principle

Single Responsibility Principle

Single Responsibility Principle

SOLID Design Principles Introduction

SOLID Design Principles Introduction

Low Level Design 108 | Interface Segregation Principle | 2022 | System Design

Low Level Design 108 | Interface Segregation Principle | 2022 | System Design

Solid Design Principles

Solid Design Principles

Сетевые протоколы — ARP, FTP, SMTP, HTTP, SSL, TLS, HTTPS, DNS, DHCP — Основы сетей — L6

Сетевые протоколы — ARP, FTP, SMTP, HTTP, SSL, TLS, HTTPS, DNS, DHCP — Основы сетей — L6

Загадочная смерть руководителя аппарата Шойгу

Загадочная смерть руководителя аппарата Шойгу

Dependency Inversion Principle Introduction

Dependency Inversion Principle Introduction

Новый год не для всех: Москва празднует, регионы кринжуют | Украшения, флешмоб, общественная реакция

Новый год не для всех: Москва празднует, регионы кринжуют | Украшения, флешмоб, общественная реакция

Новый список запретов на 2026 год. Это коснется всех. Греф решил попрощаться

Новый список запретов на 2026 год. Это коснется всех. Греф решил попрощаться

What is Interface Segregation Principle ?

What is Interface Segregation Principle ?

Design Patterns: Interface Segregation Principle Explained Practically in C# (The I in SOLID)

Design Patterns: Interface Segregation Principle Explained Practically in C# (The I in SOLID)

41 - Interface Segregation Principle

41 - Interface Segregation Principle

Принципы проектирования SOLID с примерами Java | Чистый код и лучшие практики | Geekific

Принципы проектирования SOLID с примерами Java | Чистый код и лучшие практики | Geekific

Interface Segregation Principle Explained - SOLID Design Principles

Interface Segregation Principle Explained - SOLID Design Principles

Женщина патриарха. Как глава РПЦ 50 лет скрывал гражданскую жену?

Женщина патриарха. Как глава РПЦ 50 лет скрывал гражданскую жену?

Понимание Active Directory и групповой политики

Понимание Active Directory и групповой политики

ХАКЕРЫ СЛОМАЛИ И СТЕРЛИ РЕЕСТР ПОВЕСТОК. Власти готовились к мобилизации.  ГЛАВНЫЙ ВЗЛОМ 2025 ГОДА

ХАКЕРЫ СЛОМАЛИ И СТЕРЛИ РЕЕСТР ПОВЕСТОК. Власти готовились к мобилизации. ГЛАВНЫЙ ВЗЛОМ 2025 ГОДА

Изучите принципы SOLID с примерами CLEAN CODE

Изучите принципы SOLID с примерами CLEAN CODE

What is Liskov Substitution Principle ?

What is Liskov Substitution Principle ?

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]