lift

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

醉酒当歌 提交于 2019-12-02 14:27:36
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 level and general sense. Matt I'm currently working on a series of projects in lift, so I'll give my personal experiences. Its a very capable framework - and I find it makes lighter work of application development than the equivalent in rails or django. However, you will need a reasonable understanding of scala in order to get started on sophisticated

What are your experiences developing in Scala/Lift?

大城市里の小女人 提交于 2019-12-02 14:14:14
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 developing on this platform and what are its advantages over Ruby On Rails or Python/Django? Do you see it as a viable technology and "something to keep an eye on" for the next couple of years? Is it worth it? Share your experiences on the Scala/Lift Platform. I'm currently doing most of my things in Scala right now. (I should mention that I think that

Scala/Lift check if date is correctly formatted

a 夏天 提交于 2019-11-30 13:56:40
I have a date input box in my lift application, and I want to check that a user-entered date is in correct format: dd/mm/yyyy . How can I write a regex check for this in scala? I've looked at pattern matching examples - but that seems over-complicated. PS: I don't have to use regex, any other alternatives are welcome! SimpleDateFormat is ugly and (more disturbingly) non-thread-safe. If you try to simultaneously use the same instance in 2 or more threads then expect things to blow up in a most unpleasant fashion. JodaTime is far nicer: import org.joda.time.format._ val fmt = DateTimeFormat

For my next project, a web-app, should use scala+wicket or scala+lift?

╄→尐↘猪︶ㄣ 提交于 2019-11-30 11:03:58
问题 Given the various advantages of the Scala language I have decided to write my next web-application in Scala. However, should I be using Wicket or Lift? I am familiar with Wicket, and like it quite a bit, but know very little about Lift. Is learning Lift worth the effort in this context? In order words, how does Lift compare to Wicket? Given that the web-app will be in Scala, could using Lift make my life as a developer easier? 回答1: If you like Wicket, you should stick with what you know &

Which is better framework Java/GWT or Scala/Lift?

為{幸葍}努か 提交于 2019-11-30 06:59:15
I wanted to start a new web application project and I am confused between two frameworks that is GWT(Java) or Lift(Scala). So I want your opinion which one I choose? Both are good according to my project requirement. So on the basis of frameworks comparison please tell me which is good? I have found GWT to be an extremely effective technology for the client side, and use a combination of Java and Scala on the server-side. GWT is attractive because it allows you to write your web application in Java from front to back; you code in Java; and you debug your program in Eclipse, seamlessly stepping

For my next project, a web-app, should use scala+wicket or scala+lift?

99封情书 提交于 2019-11-29 23:34:49
Given the various advantages of the Scala language I have decided to write my next web-application in Scala. However, should I be using Wicket or Lift? I am familiar with Wicket, and like it quite a bit, but know very little about Lift. Is learning Lift worth the effort in this context? In order words, how does Lift compare to Wicket? Given that the web-app will be in Scala, could using Lift make my life as a developer easier? If you like Wicket, you should stick with what you know & like. Wicket is a fine web framework and doing Scala & Wicket is very nice because you can use Scala's traits

Scala/Lift check if date is correctly formatted

无人久伴 提交于 2019-11-29 19:44:59
问题 I have a date input box in my lift application, and I want to check that a user-entered date is in correct format: dd/mm/yyyy . How can I write a regex check for this in scala? I've looked at pattern matching examples - but that seems over-complicated. PS: I don't have to use regex, any other alternatives are welcome! 回答1: SimpleDateFormat is ugly and (more disturbingly) non-thread-safe. If you try to simultaneously use the same instance in 2 or more threads then expect things to blow up in a

PermGen problems with Lift and Jetty

你离开我真会死。 提交于 2019-11-29 19:36:57
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 failed java.lang.OutOfMemoryError: PermGen space This is in my dev environment. It's not a problem because I can keep restarting the server. In deployment I'm not having these problems so it's not a real issue. I'm just curious. I don't know too much about the JVM. I think I'm correct in thinking that permanent generation memory is for things like

Liftweb: create a form that can be submitted both traditionally and with AJAX

↘锁芯ラ 提交于 2019-11-29 05:59:51
Is it possible in Lift web framework to create forms (and links) that react via AJAX, but also work without Javascript support? If so, how? When I build the form using <lift:form.ajax> , the form's action is set to javascript:// so that it no longer submits without JS. If I build the form without explicit AJAX support, I don't know how to insert the AJAX functionality. I suppose I could build a RESTful interface (we'll have to build that anyway) and write custom Javascript to submit the form through that. I would like to avoid code duplication, though: if it is possible to handle all three

Different Scala Actor Implementations Overview

 ̄綄美尐妖づ 提交于 2019-11-28 15:23:11
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. This is a pretty general question, so feel free to answer just for the implementation you know about. I know about the following Scala Actor implementations (SAI). Please add the missing ones. Scala 2.7 (difference to) Scala 2.8 Akka ( http://www.akkasource.org/ ) Lift ( http://liftweb.net/ ) Scalaz ( http://code.google.com/p/scalaz/ ) What are the