An open API service indexing awesome lists of open source software.

https://github.com/ubugeeei/gof-deno


https://github.com/ubugeeei/gof-deno

deno design-patterns gang-of-four gang-of-four-design-patterns gof gof-patterns typescript

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

## My Scratch Implement of design pattern on deno

※ Additional implementations as needed

- [x] Abstract Factory Pattern
- [x] Builder Pattern
- [x] Factory Pattern
- [x] Factory Method Pattern
- [x] Prototype Pattern
- [x] Singleton Pattern

---

- [x] Adapter Pattern
- [ ] Bridge Pattern
- [ ] Composite Pattern
- [ ] Decorator Pattern
- [ ] Facade Pattern
- [ ] Flyweight Pattern
- [ ] Proxy Pattern

---

- [ ] Chain of Responsibility Pattern
- [ ] Command Pattern
- [ ] Interpreter Pattern
- [x] Iterator Pattern
- [ ] Mediator Pattern
- [ ] Memento Pattern
- [ ] Observer Pattern
- [x] State Pattern
- [ ] Strategy Pattern
- [ ] Template Method Pattern
- [ ] Visitor Pattern

---

- [ ] Module Pattern
- [ ] Revealing Module Pattern
- [ ] Mix In Pattern

---

- [ ] MVC
- [ ] MVP
- [ ] MVVM

## Usage

deno installation\
https://deno.land/#installation

```sh
$ brew install deno
```

install denon v2.5.0\
https://deno.land/x/[email protected]

```sh
$ deno install -qAf --unstable https://deno.land/x/denon/denon.ts
```

start sample

```sh
$ make test
```

show scripts.config.ts for running some implements of design pattern example.