mardi 27 août 2019

How to name PHP class restructuring JSON API?

I am creating the new version of website and use Models of old application using REST API.

So I have a model class which consume old JSON, convert it to array, RESTRUCTURE it to new structure, generate new structure JSON.

Which Programming Pattern (Type) is this class of? How to name it? Decorator? Proxy? Bridge? Moddler? Is there any officially accepted pattern?

Aucun commentaire:

Enregistrer un commentaire