where to put business logic in a library?
- by fayer
i'm going to create a library that consists of a lot of separate classes.
i'm very familiar with mvc but have never created a pure library before.
i wonder where i should put the business logic? the logic that is in the controller in a mvc.
should it be in a class? or in a "bootstrap" file?
and should one file include every class, or should only one class include its classes it uses?
thanks!