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
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
https://www.youtube.com/watch?v=HLFbe...
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
https://www.youtube.com/c/KudvenkatAr...
asp.net core docker Interface Segregation Principle | |
| 291 Likes | 291 Dislikes |
| 66,961 views views | 524K followers |
| Science & Technology | Upload TimePublished on 4 Jan 2018 |
Related keywords
wcf vs web api,tutorialspoint,csharp-video-tutorials.blogspot,tutorials dojo,csharp string format,central park 5,asp.net core github,craigslist nj,wcf one piece,asp.net core 3,server status,server jobs nyc,asp.net core swagger,interface segregation principle python,credit karma,services group,tutorials by hugo,csharp corner,server error in '/' application,servers for minecraft,asp.net core dependency injection,services windows,asp.net core 3.0,wcf ria services,tutorialspoint c#,interface segregation principle golang,services angular,calculator,tutorialspoint tableau,services google play apk,asp.net core 3 release date,server job description,interface segregation principle example c#,tutorials by a,servicenow,csharp assembly,csharp array,interface segregation principle wiki,tutorialspoint python,services briefcase,asp.net core web api,wccftech,csharp enum,craigslist ny,server pro,server status ffxiv,csharp foreach,cheap flights,server memes,interface segregation principle explained,asp.net core hosting,services sas,services online,chase,interface segregation principle interface segregation principle,tutorialspoint java,serverless architecture,tutorialspoint java compiler,server resume,wcf c#,server books,tutorialspoint javascript,services technologies gps,csharp to json,college football,csharp dictionary,server jobs,cvs,cnn,costco hours,tutorialspoint sql,wcf service application,server side rendering,tutorialspoint spring,serverless,wcf soap,interface segregation principle php,tutorialspoint spark,wcf cat,asp.net core download,csharp to vb.net,wcf test client,cool math games,interface segregation principle vs single responsibility,services & training hse colombia sas,servicestack,interface segregation principle nedir,citibank,asp.net core identity,asp.net core logging,interface segregation principle abstract class,tutorialsystems,interface segregation principle пример,cunyfirst,wcf nba,csharp download,services fms publish announcement,wcfi foundation,services.msc no abre,csharp online,csharp operator,wcf authentication,asp.net core razor pages,server duties,asp.net core environment variables,tutorials near me,csharp random,interface segregation principle pdf,server 2019,chernobyl,century 21,serverminer,interface segregation principle stack overflow,interface segregation principle benefits,interface segregation principle c++ example,services consultores,services consulting,services.msc,asp.net core configuration,csharp list,asp.net core tutorial,wcfm,wcfs international curriculum,asp.net core mvc,interface segregation principle (isp),server hosting,chase online,wcf api,wcfi,costco,server jobs near me,interface segregation principle javascript,capital one,server rack,tutorialspoint html,csharp interface,interface segregation principle example,craigslist,interface segregation principle real world example,tutorialsteacher,tutorialspoint reactjs,wcf dragon ball,asp.net core 2.2,services desk,tutorialspoint python 3,services transmission company sas,interface segregation principle example java,asp.net core signalr,services manager,csharp tutorial,tutorialspoint spring boot,asp.net core middleware,csharp online compiler,wcf web service,wcf 2019 nba,services tag dell,csharp switch,csharpstar,wcf tutorial,
Không có nhận xét nào:
Đăng nhận xét