Skip to content

📗 5 examples that describe usage of SOLID in JavaScript.

Notifications You must be signed in to change notification settings

doganozturk/solid-javascript

Repository files navigation

Motivation

In my search and need to write better, more maintainable and more scalable JavaScript, I came across a series of articles by Derek Greer which were written in 2011. In this series, he explains how to write JavaScript with OOP standards, using SOLID principles. He gives examples of code that can be considered as Spaghetti and gives solution to how to refactor that code according to the said principles.

Using these articles and code examples as my starting point, I created this repo, which includes modernized and tweaked versions of said examples. In near feature, I hope to expand this repo, with more examples and information about these architectural viewpoints.

Original articles by Derek Greer can be found here: Link

How to Use

Each folder contains a link that contains a piece of code which can be considered as "not that good". The repo contains refactored code. By examining these side by side, some insight can be gained about using SOLID principles with JavaScript code.

Author

About

📗 5 examples that describe usage of SOLID in JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published