Hello to the CakePHP community, and thank you for the incredible work.
Over the few weeks, CakePHP definitely became my framework of choice,
and I'm now using it for a variety of projects.
I have one question for my latest project. It's a fairly simple
service that allows anyone to rate and review stores. The thing is :
we have several diferent ways of accessing the service and rating the
stores.
For example, we have an iPhone app, which communicates with a
webservice written in CakePHP, but also a web app, a mobile html
version of the app, with no ajax and no fancy graphics, and also
custom html back offices that are being developped for specific
stores.
All those basically share the very same database, and the same models.
But I'm wondering what should be the best organization :
- Should I have one cake core, one app, and use different controllers,
views, and layouts for each application
- Or -and that's what I'm doing now- should I have one cake core, one
app for each application, and share only models between the apps,
using the additional class path variable ($modelPaths = array('path/to/
shared/models');
What seems the best thing for you ?
I think the latter is better, but I'm wondering wether I should also
share the config files between apps, since they all must have the same
salt, and the same database configuration. On the other hand, I'm
wondering wether I should not go one step further and share the whole
app, at this point?
Thanks
Greg
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en