Giter VIP home page Giter VIP logo
Benjamin Vincent photo

luxcium Goto Github PK

followers: 51.0 following: 130.0 repos: 30.0 gists: 25.0

Name: Benjamin Vincent

Type: User

Company: Luxcium

Bio: Full-time TypeScript worshiper, NodeJS enthusiast, VSCODE junkie. Benjamin Vincent✨ (cis, he/him, 🏳️‍🌈) is a lazy cat working too much🐈.

Twitter: Luxcium

Location: Québec, Qc, Canada

Luxcium ― † Scientia est lux principium✨ ™

SOLID principles

Although they apply to any object-oriented design, the SOLID principles can also form a core philosophy for methodologies such as agile development or adaptive software development.

History

The theory of SOLID principles was introduced by Robert C. Martin (Uncle Bob) in his 2000 paper Design Principles and Design Patterns. The SOLID acronym was introduced later by Michael Feathers.


Concepts

From Wikipedia, the free encyclopedia (source) ― Used under license ― Additional terms may apply.

Barbara Liskov (Picture) is an American computer scientist who has made pioneering contributions to programming languages and distributed computing.

Design Patterns

Design Patterns: Elements of Reusable Object-Oriented Software (1994) is a software engineering book describing software design patterns. The book was written by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, with a foreword by Grady Booch.

It has been influential to the field of software engineering and is regarded as an important source for object-oriented design theory and practice. The authors are often referred to as the Gang of Four «GoF».

Creational

Creational patterns are ones that create objects, rather than having to instantiate objects directly. This gives the program more flexibility in deciding which objects need to be created for a given case.

    1. Abstract factory O groups object factories that have a common theme.
    1. Builder O constructs complex objects by separating construction and representation.
    1. Factory method C creates objects without specifying the exact class to create.
    1. Prototype O creates objects by cloning an existing object.
    1. Singleton O restricts object creation for a class to only one instance.

Structural

These concern class and object composition. They use inheritance to compose interfaces and define ways to compose objects to obtain new functionality.

    1. Adapter C,O allows classes with incompatible interfaces to work together by wrapping its own interface around that of an already existing class.
    1. Bridge O decouples an abstraction from its implementation so that the two can vary independently.
    1. Composite O composes zero-or-more similar objects so that they can be manipulated as one object.
    1. Decorator O dynamically adds/overrides behaviour in an existing method of an object.
    1. Facade O provides a simplified interface to a large body of code.
    1. Flyweight O reduces the cost of creating and manipulating a large number of similar objects.
    1. Proxy O provides a placeholder for another object to control access, reduce cost, and reduce complexity.

Behavioral

Most of these design patterns are specifically concerned with communication between objects.

    1. Chain of responsibility O delegates commands to a chain of processing objects.
    1. Command O creates objects which encapsulate actions and parameters.
    1. Interpreter C implements a specialized language.
    1. Iterator O accesses the elements of an object sequentially without exposing its underlying representation.
    1. Mediator O allows loose coupling between classes by being the only class that has detailed knowledge of their methods.
    1. Memento O provides the ability to restore an object to its previous state (undo).
    1. Observer O is a publish/subscribe pattern which allows a number of observer objects to see an event.
    1. State O allows an object to alter its behavior when its internal state changes.
    1. Strategy O allows one of a family of algorithms to be selected on-the-fly at runtime.
    1. Template method C defines the skeleton of an algorithm as an abstract class, allowing its subclasses to provide concrete behavior.
    1. Visitor O separates an algorithm from an object structure by moving the hierarchy of methods into one object.

From Wikipedia, the free encyclopedia (source) ― Used under license ― Additional terms may apply.


ARCHIVED

#100DaysOfCode

time tracker Twitter Follow

  • Learn every day for 100 day.
  • Code at least one hour per day.
  • Teach someting online.
  • Blog about code every day.
  • Youtube something usefull for other to learn while doing their #100dayof code challenge.
  • Reach to other doing the chalenge.
  • Report my daily experience in a log on my github repository.
  • Support other doing the chalenge

Scientia est lux principium✨™

Benjamin Vincent's Projects

Benjamin Vincent doesn’t have any public repositories yet.

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.