hm, no help on this topic so we might not know, what the real problem is.

>
> How do you guys implement multiple apps e.g. website + cms? How does
> your directory structure look like? What about your routing? How do
> you implement the content sharing between the apps?
>
> I had the idea to make two single apps - one for the website, one for
> administration & content management. The website is available at
> mydomain.com, the CMS at cms.mydomain.com. Both apps have their own
> models, controllers, etc. but they should share the same content
> directory, which holds uploaded files like images, videos, and so on.
why do you split one "thing" into two apps.
"where" is the content? you can connect to the same db/tables from your  
apps.
why do the admin and the public/user section of your site have different  
models? different views, of course, different controller, yep.

you want to "share" the webroot? but: <a href="towhateveryoulike"></a>,  
same with <img>.
of course you cant link to anything outside your htdocs, so put everything  
in the cms-webroot (obfuscating there is a admin-section) and copy/move  
the uploaded files accordingly.

but: since you seperated them, and presuming this was the right decision  
for your domain, dont couple them afterwards. just do what you would do  
with flickr for instance. ("api-calls")
(you dont share anything between diff apps without an interface)

but eventually i have no idea of what the problem is ;-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to