tags:

views:

982

answers:

5

I'm looking for a well documented open source project, written in scala to see best practices etc. At sourceforge.net I found a few projects tagged as scala but they were actually written in java.

github seems a bit better: http://groups.google.com/group/scala-melb/web/open-scala-projects

Does anyone know such a project which could be recommended for learning?

+5  A: 

The Scala compiler itself is written largely in Scala.

Jim Ferrans
+1 Learning from the creators is probably a good idea, thanks
stacker
+10  A: 

These should get you started:

  1. http://github.com/jboner/akka
  2. http://github.com/paulp/optional
  3. http://github.com/dpp/liftweb
  4. http://github.com/harrah/sbt
  5. http://github.com/robey/kestrel
  6. http://code.google.com/p/scala-migrations

There is a bit of a bias towards frameworks. A codebase for a more traditional application may differ a little, often a framework uses more advanced language features to hide some complexity from application code.

retronym
+1  A: 

Lift Framework is the most known scala project.

cetnar
+1  A: 

Here is an open project thought as a java2scala tutorial: http://www.javalinux.it/wordpress/java2scala/

Stefano Maestri
+1  A: 

Adding to Jim Ferran's answer: It's also very educational to look at the source code of the standard Scala library. It should be included in your Scala installation, in a jar file in the src directory. (The source code of the compiler and other parts can also be found there).

Jesper