Replies: 4 comments 2 replies
-
The reasoning makes perfect sense. |
Beta Was this translation helpful? Give feedback.
-
Personally, I would go with implementing PSR-6 to be open, but the default implementation could be the Symfony Cache. Edit: after re-thinking we can use PSR-6 implementations, with default one from PSR: https://packagist.org/providers/psr/cache-implementation |
Beta Was this translation helpful? Give feedback.
-
Let me also bring some context to the conversation. I did not start from PSR-6 because of 2 additional dependencies that would need to be added:
And since flow caching use cases are purely internal I did not want to add those extra dependencies to the projects that are using flow. Maybe we could make it optional? |
Beta Was this translation helpful? Give feedback.
-
flow-php/flow#112 here is what I figure out, moving away from |
Beta Was this translation helpful? Give feedback.
-
In the PHP community, there is PSR-6 which defines common interfaces for the common use of cache implementation.
Its key concepts can be described as:
Implementing those will allow to use of more adapters and reduce the maintenance of the ETL library while improving the DX.
Beta Was this translation helpful? Give feedback.
All reactions