I’m extremely new to CakePHP. From what I’ve gathered, it seems like I can have multiple applications that all share the same app and cake directories.
So, let’s say I have two applications. CakeFacebookApp and GenericCakeBlog. These applications are completely separate from each other and will have completely separate URLs, but they will reside on the same webhost. Should they both be within the same cake structure, or should they each have a full cake install in separate directories?
Technically, I’m sure it will work either way, but I guess I’m looking for a best practice approach. Thanks.
If your two applications are really distinct, chances are :
In any of those two situations, having two distinct versions of the framework could help 🙂
A couple of things that could be “bad” with using two separate versions :
I would, personnally (especially with only two applications ; might be different with 10), use two distinct copies of the framework, in this situation ; the most important reason would be it’s easier to update one application’s version without any risk of impact on the other.