Giter Club home page Giter Club logo

solidwdesignpatternscourse's Introduction

A course on SOLID design principles and frequently used software design patterns

Here's the source-code for a course on SOLID design principles and much used software design patterns that I once taught.

Although I'm no longer at hand to teach it, the course presentation should make it relatively easy to dive into it, for self-teaching purposes.

The - sufficiently annotated - source-code is in C#. But really the subject is language-agnostic, and might be easily converted into a different, similar object-oriented language.

As always I encourage issues and requests, so let me know if there's anything I can do to help.


Course content

(One-liners supplied for mnemonic purposes - they do not do justice to the complexities of the topics.)

SOLID design principles:

  • Single Responsibility principle

    "Split up your component if it has more than one reason to change"

  • Open/Closed principle

    "Let your component be open to extension, but closed for modification"

  • Liskov Substitution principle

    "Honor the contract"

  • Interface Segregation principle

    "Split up your interfaces if any of its methods won't be implemented"

  • Dependency Inversion principle

    "Give your component all the stuff it needs to do its job"

Frequently used design patterns:

  • Strategy pattern

    "Allow for interchangeable algorithm implementations"

  • Factory pattern

    "Out-source the creation of your components"

  • Decorator pattern

    "Add functionality to existing components"

  • Facade pattern

    "Offer a unified front to a complex system"

  • Template Method pattern

    "Execute a series of common steps, though still allowing for diversification"

  • Adapter pattern

    "Build a bridge, an 'adapter', between components"

  • Composite pattern

    "Enable node-leaf-like structures"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.