Questions tagged [lift]

An open source web application framework written in Scala

Lift is framework, written in Scala, for writing web applications. Lift stresses the importance of security, maintainability, scalability and performance, while allowing for high levels of developer productivity. Lift is open source software licensed under an Apache 2.0 license.

Lift links

Resources

  • Lift in Action by Timothy Perrett is a published book about using the Lift framework
  • The Lift Cookbook (O'Reilly, 2013) contains recipes relating to Lift, including getting started, working with databases, REST services, and deployment.
1116 questions
198
votes
18 answers

What Scala web-frameworks are available?

I've just started learning Scala, and the first thing I'm going to implement is a tiny web application. I've been using Erlang for the last year to implement server-side software, but I've never wrote web applications before. It will be a great…
Prikrutil
  • 2,610
  • 3
  • 18
  • 12
151
votes
10 answers

Why would I use Scala/Lift over Java/Spring?

I know this question is a bit open but I have been looking at Scala/Lift as an alternative to Java/Spring and I wonder what are the real advantages that Scala/Lift has over it. From my perspective and experience, Java Annotations and Spring really…
Chris J
  • 9,164
  • 7
  • 40
  • 39
149
votes
7 answers

How to create SBT project with IntelliJ Idea?

I just got started with Scala/LiftWeb/Sbt developing, and I'd like to import a Sbt project in IntelliJ Idea. Actually, I managed to import my project in two different ways: 1) with Maven. I created a Maven project, and of top of that I created a Sbt…
ksemeks
  • 1,778
  • 3
  • 15
  • 17
130
votes
1 answer

How to update a mongo record using Rogue with MongoCaseClassField when case class contains a scala Enumeration

I am upgrading existing code from Rogue 1.1.8 to 2.0.0 and lift-mongodb-record from 2.4-M5 to 2.5. I'm having difficulty writing MongoCaseClassField that contains a scala enum, that I really could use some help with. For example, object MyEnum…
Juneyt Donmez
  • 1,317
  • 1
  • 7
  • 4
107
votes
7 answers

Scala framework for a Rest API Server?

We are thinking on moving our Rest API Server (it is inside the web service, on Symfony PHP) to Scala for several reasons: speed, no overhead, less CPU, less code, scalability, etc. I didn't know Scala until several days ago but I've been enjoying…
fesja
  • 3,313
  • 6
  • 30
  • 42
92
votes
1 answer

HowTo: Custom Field in Lift-Record-Squeryl

I'm trying to make a EnumListField in Lift/Record/Squeryl, similar to MappedEnumList in LiftMapper. The storage type should be Long/BIGINT. I understand that if I define: def classOfPersistentField = classOf[Long] Then Squeryl will know it should…
Sebastien Diot
  • 7,183
  • 6
  • 43
  • 85
60
votes
1 answer

What is the meaning of colon, underscore and star in lift's SiteMap(entries:_*)?

I'm learning Scala and lift at the same time and I got stuck on understanding the syntax used to inintialize the SiteMap in the Boot.scala: val entries = Menu(Loc("Home", "/", "Home")) :: Menu(Loc("Foo", "/badger", "Foo")) :: …
Palimondo
  • 7,281
  • 4
  • 39
  • 58
55
votes
2 answers

How can I construct and parse a JSON string in Scala / Lift

I am attempting to use JSON to send data between the browser and my app. I am attempting to use Lift 1.0 to create and parse JSON strings, but for some reason I am unable to parse the JSON I just constructed: scala>import…
David Carlson
  • 1,461
  • 2
  • 18
  • 18
53
votes
4 answers

Is the Lift framework as "easy" as Ruby on Rails or Django?

Just wondering if anyone has experience with the three. I have used read through some RoR and used Django. They seem fairly easy to use. Is lift "easy" like these two are? I know easy is subjective and has no context here. I mean in a very high…
johnny
  • 19,272
  • 52
  • 157
  • 259
53
votes
4 answers

why is the lift web framework scalable?

I want to know the technical reasons why the lift webframework has high performance and scalability? I know it uses scala, which has an actor library, but according to the install instructions it default configuration is with jetty. So does it use…
p p
53
votes
5 answers

Different Scala Actor Implementations Overview

I'm trying to find the 'right' actor implementation. I realized there is a bunch of them and it's a bit confusing to pick one. Personally I'm especially interested in remote actors, but I guess a complete overview would be helpful to many others.…
Stefan K.
  • 7,701
  • 6
  • 52
  • 64
49
votes
3 answers

What are your experiences developing in Scala/Lift?

I heard a lot of good things about Scala and the Lift Web framework recently, especially from Foursquare's guys hence, I might use this technology in my next projects. Are any of you Scala/Lift Developers? What have your experiences been for…
iChaib
  • 469
  • 4
  • 10
  • 17
47
votes
2 answers

Comparing Lift with Play2

I used play2 before with java. It felt a little bit like boilerplate especially if you used akka with java. But that is not the fault of the framework. Yesterday I read "Scala for the impatient" and I really enjoy the language. Now I looked at both…
Maik Klein
  • 15,548
  • 27
  • 101
  • 197
41
votes
5 answers

PermGen problems with Lift and Jetty

I'm developing on the standard Lift platform (maven and jetty). I'm repeatedly (once every couple of days) getting this: Exception in thread "7048009@qtp-3179125-12" java.lang.OutOfMemoryError: PermGen space 2009-09-15 19:41:38.629::WARN: handle…
Joe
  • 46,419
  • 33
  • 155
  • 245
40
votes
2 answers

Choosing a Scala web framework

I am about to start a project for a web application that should run on a Tomcat server. I have decided to go for Scala - the other alternative where I work being Groovy - essentially for type safety. I am now faced with the task of choosing the…
Andrea
  • 20,253
  • 23
  • 114
  • 183
1
2 3
74 75