Design patterns implemented with PowerShell.
In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code. It is a description or template for how to solve a problem that can be used in many different situations. Design patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system.
Structural
Behavioral
Creational
To contribute follow the next steps:
- Analyze design patterns available in issues.
- When you choose one create one issue here, using the template New pattern.
- Asign yourself.
- Fork repository (https://github.com/marcelotm23/powershell-design-patterns/fork)
- Create your feature branch (
git checkout -b creational/singleton
) - The solution structure should be:
-
A folder inside of category folder with pattern name, follow the previous example:
Creational/Singleton
- Inside of this folder should be:
- Source code files: *.ps1
- Readme .md file with a short explanation about pattern example and purpose. If includes design diagram, it will be awesome 😄
- Inside of this folder should be:
-
- Commit your changes (
git commit -am 'Add some Singleton'
) - Push to the branch (
git push origin creational/singleton
) - Add to Contributors section in Repository readme.
- Make a pull request.
Marcelo Torrejón Manso - @marcelotm23 -
Lukas Dötlinger - @doetlingerlukas
This project is licensed under the MIT License - see the LICENSE.md file for details