mercredi 5 septembre 2018

How to name a class which build (instanciate) object - Factory?

I'm building a frontend app (javascript).

my process is as follow:

I need to load a file which describe how does my webApp will work and which view it will contain.

Relative to that file I will build some object:

  • the communication object
  • The state object
  • the components list

How should I name the object which parse the file?

The one which build the different parts of my apps?

Should it be the same one? Do I have to separate?




Aucun commentaire:

Enregistrer un commentaire