It does sound like this is going to have some draw backs;

   - double work load
   - lack the automagic that makes cake so sweet
   - its to installations of cake to upgrade
   - and once completed is either going to require
   - administrative procedures of copying files
      - a great deal of bespoke customisation to the server (perhaps
      aliasing the image folder)

either way it sounds like a lot of work; I see the appeal of having separate
admin/public sections to the site but not when using cake.

On 04/02/07, Kaste <[EMAIL PROTECTED]> wrote:
>
>
> 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