teamneusta / converter-bundle

An Open Source implementation of the Converter & Populator pattern
MIT License
5 stars 4 forks source link

Improve structure #37

Closed jdreesen closed 1 year ago

jdreesen commented 1 year ago

In preparation of a v1.0 release, I'd like to propose a different structure for the code.

The primary interfaces (Converter, Populator and TargetFactory) are now in the top-level namespace (this is to prevent namespaces like ...\Converter\Converter), while their implementations, etc. stay in a folder named after the interface. Some related things also moved into those folders (e.g. the ConverterSelector interface) and some classes were renamed.


Here's what I did:

Note I didn't touch the CacheManagement namespance and the CachedConverter class, because they'll get deleted with #36.