Code reading: recommended projects?

I generally like reading well-written code and find I can always learn a
lot from it. I closely study the code of every plugin I use and read it
of those others that just interest me. I'm less successful at finding
complete *application* projects that are worth reading or, even better,
closely studying. I've just finished reading the code of (Altered)
Beast and have started on Mephisto.

So, for my reading pleasure, please recommend well-written application
projects of more than trivial size.

Michael

Michael Schuerig wrote:
> So, for my reading pleasure, please recommend well-written
> application projects of more than trivial size.

Completed applications are going to be difficult to come by because I
think most applications are personal, commercial or internal to a
business.

Another reason to ask whether anyone knows of publicly available ones.

That said, I'd suggest looking at the public projects at GitHub:
http://github.com/

You're ignoring the "well-written" part. Or, in order not to offend
anyone, let's say written in a way worth studying by others.

Of course, writing, studying and bettering your own applications is
also helpful. :slight_smile:

Yes, but if that is all I ever do I'm going to miss out on a lot of
ideas that I don't come up with myself or anyone on the same team.

Michael

This might be too obvious, but you can always read the Rails source
code.

Even though they aren't complete applications, I would also recommend
Rick Olsen's plugins. http://svn.techno-weenie.net/projects/plugins/

I would say he is the most well-respected plugin writter in the Rails
community.

I hope that helps,
Paul

This might be too obvious, but you can always read the Rails source
code.

Some time in 2005 I have read the Rails sources in its entirety. Since
then it has grown substantially, however, I go back to it all the time
to find out things. So, I obviously agree that reading the Rails
sources is very worthwhile.

Even though they aren't complete applications, I would also recommend
Rick Olsen's plugins.
http://svn.techno-weenie.net/projects/plugins/

I think I've had a close look at each of them at some time.

Interesting projects I've found

* Radiant
* Typo
* Redmine

Michael

Yes, I found it myself last night, and it looks interesting indeed.
Thanks for the suggestion nevertheless.

Michael

We've put together a small list of open-source Rails applications:

http://www.buildingwebapps.com/topic/230-open-source-applications

If anyone has others to add, please do so using the form on that page.

I realize you're particularly looking for ones of high coding quality,
and I'll have to defer to others on that point.

We'll soon be adding the ability for people to rate the links on this
and other similar pages on BuildingWebApps, which would help some.

Michael Slater
www.BuildingWebApps.com
Resources for Ruby on Rails Developers