Getting Started: My first few hours on Scala & Lift framework
Posted by Jai on May 11, 2009
After my last few posts I realized that how screwed my mind is right now (just joking ), so thought to explore more about Scala which was pending for some time for me. Here I will share the first few hours spent on Scala and Lift (scala web framework) and getting started with it.
Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages, enabling Java and other programmers to be more productive. Code sizes are typically reduced by a factor of two to three when compared to an equivalent Java application.
Home: Official website of Scala, Home.
Scala programming language: The first place to look for is Scala.
Origins of Scala: Read more to understand about The Origins of Scala.
Scala: Why What How: And for the java developers Why Should learn Scala.
Why Scala for me: The main reason for me to try it out is to learn more about the functional programming (will catch on) and it also combines the object-oriented programming paradigm. It runs on java platform and compatible with existing java programs, is statically typed giving features of dynamically typed, what else for the java developers you need and worth trying out more.
Lift, Scala Web Framework
Lift is an expressive and elegant framework for writing web applications. Lift stresses the importance of security, maintainability, scalability and performance, while allowing for high levels of developer productivity.
Home: Official website of Lift, Home.
Why, What Features: Have a look at the advanced features lift provides, Advanced Features.
Getting Started with Scala
Install: Check the Downloads section for more details.
IDE, Eclipse: Try out Scala IDE for Eclipse for seamless integration (I first tried it with my existing 3.4.1 Ganymede but got ClassCastException while using scala editor, just get fresh eclipse version and it works fine).
Presentation: Go through the video presentation by Bill Venners, The Feel Of Scala.
Reference: Have a look at Scala Reference Manuals, to get started.
Articles: Very nice article First steps to Scala to get started from scratch and to know more about the scala interpreter.
For java developers: Being a java developer, I would definitely like to have a list like Scala for Java Developers.
A very nice series of posts for the java developers, Scala for Java Refugees.
Groovy+Scala: I like Groovy in a way but thought how these two mix up with each other, have a look at Scalify. I remember when first time I had hands on groovy, for some time I was into it only which changed my programming style for sometime, lets see if same happens with scala also.
Book: Read step by step guide, Programming in Scala.
Wiki: Don’t forget to look at Scala Wiki for code examples, scala design patterns, documentations and other scala community links.
Getting Started with Lift
Project Setup: If you already working with maven 2, getting started with Lift is much more easier.
Examples: Start with blank lift application and then some basic application and run it using jetty server. You can further try out Code Examples.
Wiki: Browse through Lift Wiki.
Lift Tutorials: Go through the Lift Tutorials.
Presentation: Go through the Lift SeaJUG Presentation.
Book: Look at the list for release updates, Books.
I am looking forward to explore more about the language Scala first, having hands on it and compare the feature list. And would definitely like to explore more about Lift and surely the content and code separation, component model comparing with Wicket. Soon I will share the experinces and feel free to share yours.