Hi Guys,
we are in the process of planning to develop a web app using cakephp.

I have a few questions and was hoping somebody could provide some 
feedback / suggestions.

Ok basically it is intended to be a hosted application where users 
will sign up for an account etc...

I guess I want to know what people believe is the best way to 
structure this, I really want to get this right in my head before I 
start designing database etc...:


- in terms of account management, should each new account have its own 
database? I would imagine so as if the application had plenty of users 
performance could become a real issue.

- should you set up accounts as a subdomain, or just determine the 
account via a login via the generic domain, I guess in this instance 
we will probably want the users to be able to point there domain name 
to there account if they wish, so Im assuming subdomains would be the 
way to go.

- At this point the application will use the same controller/model/
view files however there should be the ability to customise the layout 
per account, this is probably the hardest thing for me to get my head 
around, does each account require a completely new app directory, or 
inside in the app directory do I have a directory for each account

e.g
** Using Seperate App directory **

app - orignal
    -config
    -controllers
    -models
    -etc...
account#1
    -config
    -controllers
    -models
    -etc...
account#2
    -config
    -controllers
    -models
    -etc...
cake
vendors
 * OR Using one app directory **

app
    -config
    -controllers
    -views
         -layouts
              -account1
              -account2

********** END *****************

Any help you could provide would be greatly appreciated.

Regards,
Cam


--~--~---------~--~----~------------~-------~--~----~
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