Over the past years it has become more and more important to build systems and utilities that work with multiple frameworks. With the help of Darko Poposki I have spent a year testing out my architecture ideas in projects (sadly covered by NDAs) but now we are venturing into the public space.
The idea came to us to have a utility that can import and export entities into a common format. Because what really is a page, product or user?
We came up with the idea of having one central module that contains interfaces to define the generic service layer and then building a bridge for each framework's implementation.
For the first iteration we have build a way to import and export basic pages into and from a JSON file using a serializer. At the time of writing this is a very small set of features but with the focus being on extend-ability..
So this is it:
Some interesting facts overall it took us 15 hours to build and once we have the generic module and Magento2 module it took 10 minutes to build the Magento1 bridge.