Monday, April 16, 2012

Where am I supposed to save additional PHP source files while I'm writing a new behavior


Hi Cake dudes,

I'm new to Cake, and I'm adding a behavior to a model.  I've done that by writing a PHP file that I save in the Behavior directory.

Now I'm making that Behavior a bit more complicated, and I'd like to split some sections of code out into separate files.  This Behavior is pretty specific to my application, I can't imagine wanting to make it a redistributable plugin or anything.

So here's my question: where's the recommended place to save those supporting files?  Can I just make a subdir or Behavior and save them all in there?  Or am I supposed to save my additional files into the Vendor dir or something like that.

Thanks in advance

Daniel

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate