开发者

CakePHP Folder structure - what this is the use of libs folder?

开发者 https://www.devze.com 2023-03-09 10:28 出处:网络
CakePHP APP folder conta开发者_JS百科ins following folders: - config - controllers - libs - locale - models

CakePHP APP folder conta开发者_JS百科ins following folders:

    - config
     - controllers
     - libs
     - locale
     - models
     - plugins
     - tmp  
     - vendors
     - webroot

what this is the use of libs folder ? what type of files can put inside that and use.. can any one give a example for this ?


From the manual entry : http://book.cakephp.org/view/899/CakePHP-Folder-Structure

Contains 1st party libraries that do not come from 3rd parties or external vendors. This allows you to separate your organization's internal libraries from vendor libraries

So this would be any internal organization specific libraries that you use in your code as opposed to third party libraries (e.g. - thumbnail generators and the like)

0

精彩评论

暂无评论...
验证码 换一张
取 消