CodeIgniter: Decision making for creating of library & helper in CodeIgniter

前端 未结 6 1404
孤街浪徒
孤街浪徒 2020-12-23 02:10

After developing in CodeIgniter for awhile, I find it difficult to make decisions when to create a custom library and when to create a custom helper.

I do understand

6条回答
  •  青春惊慌失措
    2020-12-23 03:13

    Helper contains a group of functions to help you do a particular task.

    Available helpers in CI

    Libraries usually contain non-CI specific functionality. Like an image library. Something which is portable between applications.

    Available libraries in CI

    Source link

提交回复
热议问题