Welcome Guest, Not a member yet? Register   Sign In
Universal function - how to organize?
#1

How do you organize something like this: 
There are few function (function use CodeIgniter resources) which are used more than in one place. Do you create something like Universal library or universal controller?
Reply
#2

It depends on what resources it are utilizing. Generally speaking it's better to create libraries, as they don't need to be extended. Or you will up with 10 controllers extending each other.

It really depends on what functionality you are using.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB