0

Difference between helper and library codeigniter

Difference between helper and library codeigniter

Difference between helper and library codeigniter?

Codeigniter Helper

Codeigniter helper is a set of functions in a particular group. which you can use any where in the project in model, controller ,view etc. once you load that helper file, you can get access to that functions. helpers file placed inside helper folder. there is lot’s of helpers already avaliable like URL helper, Session helper etc.

Codeigniter library

Codeigniter library represent a Class with functions. you need to make an instance before using function of library. following is the sytax to load library

Sandeep Kumar

Sandeep kumar is a web developer and a professinal blogger. He works for latest technologies and write articles what he learn. In ICodeHub he share web languages tutorials and other programming tips and tricks. if you need some help or have some suggestion then mail him at sandeep92pal@gmail.com without any hesitation. He believes in learning and sharing.