Giter Club home page Giter Club logo

kotlindesignpattern's Introduction

KotlinDesignPattern

License: CC BY 4.0

A Cookbook of commonly used Kotlin design patterns based on java examples from:

  • "Design Patterns: Elements of Reusable Object-Oriented Software" - Gamma et al
  • "Head First Design Patterns" - Freeman et al
  • "Java Design Pattern Essentials" - Tony Brevis

This Examples develop on IntelliJ IDEA.

I'll be adding new patterns to the project on an ad-hoc basis.

Each pattern is contained in its own package - the package-info will provide more details and how to use it.

Any comments/bugs/better ways of doing things, send 'em my way.

Creational Design Patterns

  1. Factory Method
  2. Abstract Factory
  3. Builder
  4. Prototype
  5. Singleton

Structural Design Patterns

  1. Composite
  2. Decorator
  3. Adapter
  4. Proxy
  5. Facade
  6. Bridge
  7. Flyweight

Behavioral Design Patterns

  1. Strategy
  2. State
  3. Command
  4. Iterator
  5. Mediator
  6. Observer
  7. Visitor
  8. Memento
  9. Chain of repository
  10. Template method

Others Patterns

  1. MVC

☑ TODO

  • Add Examples For Creational Design Patterns
  • Add Examples For Structural Design Patterns
  • Add Examples For Behavioral Design Patterns
  • Update documentation for each
  • Add more Examples follow iluwatar/java-design-patterns

👬 Contribution

The Example are built using IntelliJ IDEA

  • Open pull request with improvements
  • Discuss ideas in issues
  • Spread the word
  • Reach out to me directly at [email protected]

License

The content of this project itself is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0)

kotlindesignpattern's People

Contributors

le-quang-dao avatar

Stargazers

Lê Khắc Tùng 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.