vendredi 20 mai 2016

Traits and classes: worried about length of class

I am working on a web application in which I want registered users can access everything via a single class (member)

Like:

http://ift.tt/257nHqC

http://ift.tt/1NDewtE, http://ift.tt/257nG62, http://ift.tt/1NDeBNY, http://ift.tt/257nKTl, http://ift.tt/1NDeCBH, http://ift.tt/257nx2L, http://ift.tt/1NDenqd and so on as lot of many more. To do the same

I am using traits in my PHP classes with having 500-600 lines in each trait. Now I am worried about the class length to compile. I have used 6-7 traits (or can be more in future) in a single class and class code line becomes around 5000. Is there any effect on compilation class of any drawback of following such approach.

If I am on a wrong way, could you please suggest me the best way to accomplish the same.

Thanks

Aucun commentaire:

Enregistrer un commentaire