Where is the best place to put code which is not part of the MVC?

I have code which is not part of the MVC or application but is used by it. This might be utility code, special business logic etc. I am putting that code into 'vendors' for now(though this seems odd to me). I was wondering if this is the recommended choice or if not, where would be the best place to store code like this.

Asked by ryantxr, on 8/3/10

2 Answers

app/vendors

see: http://book.cakephp.org/view/539/Vendor-examples

Answered by trevorsgon 8/3/10

for 1.2.x that is correct,

for 1.3.x there is a new libs folder for 1st party code like the ones you speak of

http://book.cakephp.org/view/1579/Library-classes

Answered by dogmatic69on 8/3/10

<< previous next >>

Your Answer

You can use Creole Wiki Syntax to format your text.

Tagged with

Rating

0

Viewed

139 times

Last Activity

on 8/3/10