• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Universal function - how to organize?

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?

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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.