Welcome Guest, Not a member yet? Register   Sign In
Create Custom Business Logic Classes [No Libraries]
#3

(09-19-2019, 12:33 PM)includebeer Wrote:
(09-19-2019, 12:10 PM)sharadrsoni Wrote: I know the library way, but that is not correct, as my logic / DTO is not a library.

Hence is there any way to create custom classes where it can be used in controllers & models?

In CodeIgniter, a library is exactly that, a custom class. Why do you think it's not the "correct way"?

Are library classes singleton? and can I have a directory structure for the library?
Reply


Messages In This Thread
RE: Create Custom Business Logic Classes [No Libraries] - by sharadrsoni - 09-19-2019, 12:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB