Hello, i use my own framework, but now i need to change it. I choose zf3, so now i can't understand, where i need to realize my business logic. I searched some info and found that I can make some services where I can realize my business-logic throw it's methods, and I can use this methods(if they are static) from Controller/MyController throw some routes, like
- Code: Select all
, but I think it's wrong 'cause it's hard to test statics, and always making factories looks like a bad deal. So my questuion is: Can you tell me some references or links to good books or notices or lists of codes or something else helping things which shows how to realize some business-logic into my app right?
P.S. Sorry if i made some mistakes =)