项目作者: CodelyTV

项目描述 :
Learn SOLID principles by examples in Java
高级语言: Java
项目地址: git://github.com/CodelyTV/java-solid-examples.git
创建时间: 2018-06-21T08:38:17Z
项目社区:https://github.com/CodelyTV/java-solid-examples

开源协议:MIT License

下载


☕⚛ SOLID principles examples in Java


⚛ Learn SOLID principles by examples

CodelyTV
Workflow Status

ℹ️ Introduction

This is a repository intended to serve as illustrative examples for the course “Principios SOLID Aplicados” (Spanish).

🏁 How To Start

  1. Install Java 8: brew cask install corretto8
  2. Set it as your default JVM: export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home'
  3. Clone this repository: git clone https://github.com/CodelyTV/java-solid-examples.
  4. Execute some Gradle lifecycle tasks in order to check everything is OK:
    1. Create the project JAR: make build
    2. Run the tests and plugins verification tasks: make test
  5. Start playing around with the different examples of each SOLID principle. You have explanations here and in the test code 🙂

☝️ How to update dependencies

☕ Java

🐘 PHP

🧬 Scala

Liskov Substitution Principle (LSP)

Dependency Inversion Principle (DIP)

About

This hopefully helpful examples have been implemented by CodelyTV and contributors.

Pull Requests are welcome. We would suggest oppening an issue before actually coding your Pull Request in order to ask for feedback 🙂

License

The MIT License (MIT). Please see License for more information.