Jump to content


Photo

CakePHP - What is the lib folder for?


  • Please log in to reply
1 reply to this topic

#1 CrimpJiggler

CrimpJiggler

    Advanced Member

  • Members
  • PipPipPip
  • 61 posts

Posted 05 April 2014 - 11:55 AM

Is it for storing classes and functions which you will include in different controllers (or models, views, helpers, components etc.)? Up until now I've just been storing everything in helpers and components, but that would get messy with bigger applications, so it'd be useful if I could store my commonly used functions in separate files. Is this what the lib folder is intended for?



#2 QuickOldCar

QuickOldCar

    Advanced Member

  • Members
  • PipPipPip
  • 1,702 posts
  • LocationNorthEast Pennsylvania

Posted 06 April 2014 - 10:18 AM

http://book.cakephp....-structure.html

 

lib for functions or classes you make yourself

vendor for 3rd party

plugin for cakephp framework only


DynaIndex.com
Dynamic search index of websites, links, feeds, title, description, keywords and thumbnail snapshot.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com