Coder Social home page Coder Social logo

design-pattern's Introduction

Javasript Design Pattern

Categorization Of Classical Design Pattern

  • Creational
    • Based on the concept of creating an object
    • Class
      • [1]Factory Method
    • Object
      • [2]Abstract Factory
      • [3]Builder
      • [4]Prototype
      • [5]Singleton
  • Structural
    • Based on the idea of building blocks of objects
    • Class
      • [6]Adapter
    • Object
      • [6]Adapter
      • [7]Bridge
      • [8]Composite
      • [9]Decorator
      • [10]Facade
      • [11]Flyweight
      • [12]Proxy
  • Behavioral
    • Based on the way objects play and work together
    • Class
      • [13]Interpreter
      • [14]Template Method
    • Object
      • [15]Chain of Responsibility
      • [16]Command
      • [17]Iterator
      • [18]Mediator
      • [19]Memento
      • [20]Observer
      • [21]State
      • [22]Strategy
      • [23]Visitor

Javascript Design Pattern

  • [1]Constructor
    • Object Creation
    • Basic Constructors
    • Constructor with Prototypes
  • [2]Module
    • Implementation
      • The Module Pattern
        • IIFE: immediately-invoked function expression
      • Object Literal Notation
      • AMD modules
      • CommonJS modules
      • ECMAScript Harmony modules
  • [3]Revealing Module
  • [4]Singleton
  • [5]Observer
    • Subject
      • Maintain Observers List
    • Observers
      • Update interface
    • Publish/Subscribe pattern
      • topic/event
      • subscribers
      • publisher
      • allows any subscriber implementing an appropriate event handler to register for and receive topic notifications broadcast by the publisher.
  • [6]Mediator
  • [7]Prototype
  • [8]Command
  • [9]Facade
  • [10]Factory
  • [11]Mixin
  • [12]Decorator
  • [13]Flyweight

design-pattern's People

Watchers

James Cloos avatar  avatar

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.