SimonRedfern 44 Followers

CEO of TESOBE / Music Pictures Ltd, founder of the Open Bank Project. I'm a programmer and composer and Supa' proud dadda.

Location: Berlin, Germany

Quick Links

View Show Available Profiles

Authors (1)

Simon Redfern

Related Projects / Groups


Scala and Scala web frameworks

Public Techy posted on Wed, 31 Aug 2011 by Simon Redfern


Now I'm looking into Scala!

http://www.scala-lang.org/

http://www.scala-lang.org/api/current/index.html#package

http://www.artima.com/scalazine/articles/package_objects.html

http://www.scala-lang.org/node/198

https://github.com/joulieboolie/scala-cheatsheet

code examples: http://www.cs.helsinki.fi/u/wikla/OTS/Sisalto/examples/index.html

http://www.vogella.de/articles/Scala/article.html

Scala operators: http://jim-mcbeath.blogspot.com/2008/12/scala-operator-cheat-sheet.html

99 Scala problems: http://aperiodic.net/phil/scala/s-99/

Try it out online: http://www.simplyscala.com/

 

It looks nice (syntax is quite Pythonic), (but type safe) and seems to be an advanced, modern language with functional aspects. It runs in the JVM and is compatible with Java libraries.

Akka is some middleware built on Scala and there's a company that packages them in an easy install:

http://typesafe.com/technology/akka

Web frameworks are Lift (used by 4square).

http://www.liftweb.net/

for instance: http://lift.la/scala-option-lift-box-and-how-to-make-your-co

http response cycle: http://www.assembla.com/spaces/liftweb/wiki/HTTP_Pipeline

content types: http://www.assembla.com/wiki/show/liftweb/HtmlProperties_XHTML_and_HTML5

video interview: http://www.infoq.com/interviews/Lift-Scala-David-Pollak

nice simple example of displaying records in a table http://www.getslimstack.net/example1/#chap6

http://www.getslimstack.net/example1/#chap9

this is where the lift community is at: http://groups.google.com/group/liftweb/topics

examples: http://demo.liftweb.net/ws

Docs are not so easy to find. About json / lift https://github.com/lift/lift/tree/master/framework/lift-base/lift-json/

 

http://simply.liftweb.net/index-5.4.html

Apparently Lift is very secure out of the box. (as tested by Yahoo security guy):

http://twitter.com/#!/rasmus/status/5929904263

Also one can use Play (originally for Java)

http://scala.playframework.org/

Note: I installed the typesafe dist and followed this to run:

As per http://indiewebcamp.com/Scala/Lift_Quick_Start

    •    cd lift_basic # this sample app includes database and login
    •    sudo ./sbt update # simple build tool: fetch dependencies
    •    sudo ./sbt ~jetty-run # compile then launch web app
    •    View http://localhost:8080 in a browser and see the running web app.

Scala and the underscore character _ http://www.slideshare.net/normation/scala-dreaded

Scala and mongodb:
http://janxspirit.blogspot.com/2011/01/quick-webb-app-with-scala-mongodb.html

Using IntellJ IDEA to create a Scala Lift project:

http://www.assembla.com/spaces/liftweb/wiki/Using_IntelliJ_IDEA_to_develop_Lift_applications

http://tommorris.org/wiki/Scala_for_Hackers

 

 


Replies
    This Evis needs your voice! Please Login to post comments.
    #1

    Have a look at why Bump are using Scala for their mobile app http://www.quora.com/Bump-Technologies/Why-did-Bump-Technologies-choose-to-use-Scala-in-its-Android-App?snids=24861995


    - ichaib (Ismail CHAIB) 2 years, 7 months ago (Permalink)