Wednesday, December 17, 2014

Differences between libraries, helpers and plugins in CI

libraries, helpers and plugins in Codeigniter

libraries: Utility classes where object state is important (payment gateways, authentication, etc.)
helpers: Collections of related functions (not classes) that do repetitive tasks (strings, arrays, etc.)
plugins: A simple way to drop in third party classes. Typically, the whole process is called with a single wrapper function