views:

332

answers:

3
+4  Q: 

Lift vs. Others

anyone have any experience with lift and how it compares to more widely used frameworks like rails and django?

+3  A: 

Django has a greater community and more third-party extensions (so-called apps). Lift application will be faster (because of static nature of Scala and JVM) other things being equal.

Vadim Shender
+2  A: 

Well designed Lift will be faster than poorly designed Django. The converse is also true.

Lift is supposed to scale more easily because it's built upon the JVM, was designed with scalability in mind and you have access to tested libraries that were developed for scalability. But that's about it. Really. Both Rails and Django will get you up to speed fast.

wheaties
+5  A: 

There are really a myriad of differences between Rails and Lift. Lift was constructed by DPP as a reaction against Rails, so do not be surprised if you find a lot of differences:

  • Security: This is the biggest difference. Lift is probably the framework that focus the most on security. Lift is very secure out of the box. It can't handle every threat, but more than any other framework I know of.

  • Performance: Since Scala is statically typed (just as @Vadim said) and runs on the JVM, Lift runs faster (taken that everything else is equal). The JVM gives you extreme performance nowadays..

  • Not MVC: Lift is not an MVC framework.

Lastly I want to redirect you to this thread about comparing Lift: http://stackoverflow.com/questions/3231998/for-my-next-project-a-web-app-should-use-scalawicket-or-scalalift/3235139#3235139

olle kullberg
In regards to security, I challenge you to bring arguments. I know that Rails has **a lot** of **built in** security mechanisms to prevent XSS (h method), injection (on AR side), CSRF (origin token).
clyfe
Well @clyfe Lift has at least some automatic protection against SQL-injection, CRSF, XXS and replay attacks. Lift was constructed with a heavy focus on security and performance, and Lift web sites have scored very high security ratings. Foursquare was checked by Rasmus Lerdorf, and he could not find a single hole. http://www.grenadesandwich.com/blog/steven/2009/11/27/scala-lift-and-future
olle kullberg