On Tue, Sep 30, 2008 at 1:36 PM, Cameron McCloud
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Our group (team of 4) have done a few small-scale Rails applications.
> They've been successful enough that we're contemplating a much larger
> scale development.
>
> By scale I don't mean the number of users or hits/second or volumes of
> data handled. That really isn't an issue for us, and even if it
> happens we're confident we can deal with it.
>
> What we're most concerned about is scaling to a large number of models
> and controllers. We estimate about 100+ "entities" that we'll need to
> manage, and that doesn't include M:M join tables or general lookup
> tables. Also, some of the tables (thankfully only a few) have more
> than 40 columns.
>
> Most of the open-source projects we initially looked at for learning
> and guidance are quite small (e.g. Insoshi has < 20 models).
>
> Are there any tips for programming in the large?
>
> Any pointers would be appreciated.
>
> Cam.
>

Cam,

The largest projects (in Rails) that I've worked on have been in the
range of ~150 models. The only major difference between a smaller 20
model project and one with 150... is the amount of overhead there is
in thinking about changes. Good spec coverage (rspec!) is going to
help you out in the long run. The general best practices that Rails
community encourages you to follow works just as well with a large
project as it does with a small project.

Remember: A large project is just a collection of smaller ones. Break it down...

Good luck!

Cheers,
Robby


-- 
Robby Russell
Chief Evangelist, Partner

PLANET ARGON, LLC
design // development // hosting

http://www.planetargon.com/
http://www.robbyonrails.com/
aim: planetargon

+1 503 445 2457
+1 877 55 ARGON [toll free]
+1 815 642 4068 [fax]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to