Please note: This site's design is only visible in a graphical browser that supports Web standards, but its content is accessible to any browser or Internet device. To see this site as it was designed please upgrade to a Web standards compliant browser.
 
Signal vs. Noise

Our book:
Defensive Design for the Web: How To Improve Error Messages, Help, Forms, and Other Crisis Points
Available Now ($16.99)

Most Popular (last 15 days)
Looking for old posts?
37signals Mailing List

Subscribe to our free newsletter and receive updates on 37signals' latest projects, research, announcements, and more (about one email per month).

37signals Services
Syndicate
XML version (full posts)
Get Firefox!

Rails: The infrastructure behind Basecamp

24 Jul 2004 by David Heinemeier Hansson

With the first public release of Rails, we’re releasing all the infrastructure libraries used to build Basecamp. Rails is written in all Ruby and consists of two major components: Action Pack and Active Record. The former handles all the templates and control flow and the latter all the domain logic and database access.

Rails is a comparatively small web-applications framework. The two main components have just shy of 2,000 lines of code between them. That’s small enough that a single man could actually aspire to understand the whole thing (which is convenient, since just one man built the thing).

If you’ve been following our preaches about Less Software and Say No By Default, this is your chance to see how those principles apply to development infrastructure — not just applications.

Want to know more about how we built Basecamp? Attend the Building of Basecamp Workshop on September 17th.

15 comments so far (Post a Comment)

25 Jul 2004 | Jon Gales said...

Wow. Even though I couldn't really grasp the text on the site I watched the video and am very impressed. Great idea to post a video, it really made things clear. I will have to crack open my Ruby book again. Thanks!

25 Jul 2004 | dmr said...

and breaking up that 160 MB video into chapters might be a good idea for the web!

25 Jul 2004 | Brian Andersen said...

Downloading video as we speak - will be very interesting to watch :-)

I'm still so impressed by the fact that everything was written by one man - everything is just complicated by having more than one guy work on the same code, I guess.

Had I lived near chicago, and if I could get 395 dollars - count me in :p

25 Jul 2004 | Wayne said...

Am I the only one that cannot access this domain? There does not appear to be an A record for the domain.

rubyonrails.org, loudthinking.com, nextangle.com -- all appear to have missing dns records.

26 Jul 2004 | James Zambon said...

Looks like it's time to learn a new language!

26 Jul 2004 | Kamal said...

What editor was used in the short demo video? My google-fu fails me when searching for Textmate.

26 Jul 2004 | Ian said...

Its just a shame that the server doesn't support resumable downloads for those of with a passion to learn but are limited by our dialup connections.

26 Jul 2004 | a. casalena said...

Why ruby?

26 Jul 2004 | Aaron said...

2nd the above comment... What is TextMate? the inline folders look real handy.

26 Jul 2004 | p8 said...

Looks good! I can't wait to try it.
Do you have an opinion on what seems to be the best framework on php right now: wact?

27 Jul 2004 | JP said...

Yes, where can I find TextMate? (Btw., Rails looks great! Can't wait to get Ruby up and running!)

28 Jul 2004 | David Heinemeier Hansson said...

TextMate is still a work-in-progress. A beta release will see the light of day some time in September. I'll let you know when there's a website available with more information.

Oh, and of course it's much better than it looks. I'm really happy to have left Xcode, Subethaedit, and BBEdit behind for good with this one. About time we got a decent editor for OS X.

28 Jul 2004 | Carl Youngblood said...

Does that mean that you are the one writing TextMate? Looks good. I just tried googling for it to, to no avail. It's kind of funny we were all looking for it as a result of watching your video. One cool thing about SubEthaEdit is the shared editing features. Now that Rendezvous has been released for linux and windows, they should be able to release it on more platforms too.

28 Jul 2004 | pb said...

Any plans to port Rails to php?

29 Jul 2004 | David Heinemeier Hansson said...

Carl: Nah, I'm not smart enough to write editors :). A friend of mine is doing it.

pb: No. PHP just isn't a language where Rails is possible. At least not in all the ways that makes Rails unique.

Comments on this post are closed

 
Back to Top ^