ifcastle / design-patterns
A library of common design patterns for building stateful server applications.
v0.3.7
2024-11-13 16:20 UTC
Requires
- ifcastle/di: ^0.7
- ifcastle/exceptions: ^5.1
Requires (Dev)
- amphp/php-cs-fixer-config: ^2.1
- friendsofphp/php-cs-fixer: ^3.60
- ifcastle/codestyle: ^0.1.7
- phpstan/phpstan: ^1.12
- phpunit/phpunit: ^11.2
- dev-main
- v0.3.7
- v0.3.6
- v0.3.5
- v0.3.4
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.28
- v0.2.27
- v0.2.26
- v0.2.25
- v0.2.24
- v0.2.23
- v0.2.22
- v0.2.21
- v0.2.20
- v0.2.19
- v0.2.18
- v0.2.17
- v0.2.16
- v0.2.15
- v0.2.14
- v0.2.13
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
This package is auto-updated.
Last update: 2024-11-13 16:20:47 UTC
README
Common Design Patterns for Stateful
applications.
Patterns
Execution Plan
- Patterns that allow you to create a sequence of actions that can be executed in a specific order.Factory
- A pattern that allows you to create objects.Final Handlers
- Method for determining handlers that will be executed at the very end of the FLOW, even if an error occurs.Immutable
- A pattern/trait that allows you to create immutable objects.Interceptor
- A pattern that allows you to intercept the execution of a method and modify its behavior with arguments.IntervalRunner
- Interval execution strategy that provides logic for running some code.Iterators
- Group of contracts for iterators that extends basic conventions.Pool
- Pool pattern focused on resource usage in a multithreaded environment.ScopeControl
- A pattern that imposes restrictions on operations based on the current scope.