RFC: New directory structure and namespaces of the framework package #625
-
PrefaceBefore merging #623, I'd love to get some feedback on the proposed new directory and namespace structure for the framework package. Why the change?This change is made in preparation for HydePHP 1.0, in hopes of ensuring the framework is structured in a way that is maintainable and usable, but most importantly; one that makes sense. I feel like now is the time to make changes like these, before the BC promise kicks in. DetailsChange comparisonI have here outlined the directory structures for the current and proposed framework packages. For this change, the namespace mapping has shifted, making the hyde/framework package's namespace now start at Current directory structureSee https://github.com/hydephp/develop/tree/master/packages/framework/src
Proposed directory structureSee https://github.com/hydephp/develop/tree/upcoming/packages/framework/src
Wrap-upI hope to get some feedback on this, as the proposed change is so breaking, and I want to make sure it's as good as possible before releasing as I think now is the best time to do this as the BC promise has not yet kicked in. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Appendix AHere's a side-by-side comparison:
|
Beta Was this translation helpful? Give feedback.
-
Got some great feedback via Twitter https://twitter.com/CodeWithCaen/status/1586684863360417793/ |
Beta Was this translation helpful? Give feedback.
Got some great feedback via Twitter https://twitter.com/CodeWithCaen/status/1586684863360417793/