How does base camp manage there accounts

hi,

Cant find any information this anywhere so was wondering if anyone had
any ideas.

Basically when you go to basecamp.com it allows you to sign up for a
account and gives you a url username.projectpath.com

I was just wondering how they do this, and if each account has there own
database or if it is all stored in one.

thanks
scott

Dunno how basecamp does it. But check out these 2 solutions.

http://weblog.rubyonrails.org/2006/05/22/dan-webbs-request-routing-plugin/
http://www.agilewebdevelopment.com/plugins/account_location

On 7/16/06, scot [email protected] wrote:

thanks
scott


Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

storing it in one database or not is just a design decision, but
considering
DHH wrote the account_location plugin ( that sets up subdomains for
accounts) it’s probably a safe bet that they store many of them in the
same
database (for at least one of their apps), although i’m sure there comes
a
point where one box can only serve so many accounts before experiencing
performance degredation.

I don’t think the issues of subdomains and databases are really
something
that should necessarily have any direct connection. The real question is
database seperation, and the resulting security benefits and connection
overhead issues are something that is important to the design of your
application. Account specific subdomains are just windowdressing.

-kate = masukomi

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs