Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekyna/resource
[READ-ONLY] Resource component
https://github.com/ekyna/resource
Last synced: 9 days ago
JSON representation
[READ-ONLY] Resource component
- Host: GitHub
- URL: https://github.com/ekyna/resource
- Owner: ekyna
- License: mit
- Created: 2016-08-16T07:59:50.000Z (over 8 years ago)
- Default Branch: 0.6
- Last Pushed: 2024-09-17T10:52:45.000Z (2 months ago)
- Last Synced: 2024-10-20T11:53:25.242Z (28 days ago)
- Language: PHP
- Size: 352 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Resource component
==================### Registry
* resources configurations
### Behaviors
* toggleable : enable/disable, default (eventually per group)
* timestampable
* searchable : elasticsearch (external behavior/out of this component)
* ...### Auto mapping
With persistence layer, based on behaviors.
### Actions (ADR pattern)
* create
* read
* update
* delete
* toggle
* move
* search
* ...### Responder (ADR pattern)
* ResponderRegistry, stored as [ => ] by a compiler pass
* Configured on route, operation or behavior level.### Auto Routing
* api
* admin### Service container builder
* class parameter
* repository
* manager
* event
* form
* table### Event system
* each action may dispatch a pre/post event
* onPersist (ex during doctrine onFlush) + recompute helper