Hi,
I'm new to Lift ,still learning scala and think that it's very
powerful language. I'm in the middle of building
stackoverflow.com
like app and considering porting it to lift/scala. First of all
currently it's a .NET project specifically
asp.net mvc .I'm quite
satisfied with that framework but Asp.net Comet support sucks. I have
few questions about lift:
1) why it's generating unique names for each form fields? I assume
it's due to security, but it affects user experience a little because
for example when I once entered email into login field in most web
sites/apps when I secondly access the login form I'd like to have
email field filled with email. Maybe to avoid CSRF attacks it would be
better to issue cookie with random value and apply hidden field in
form with the same value ,and check it in post request?
2) is it possible to have users persistently logged in? (I suppose it
would require send another cookie to user)
3) Lift apps doesn't work in chrome (version 4), maybe because of some
of my chrome extensions (adblock ? maybe?) is it common?
4) What about scalability? I assume sessions in lift are unavoidable,
so there are any scalability best practices?
5) Is lift a good fit of
stackoverflow.com like apps? which is more
like website, but I'd like to use comet a lot in my clone.
6) Something about performance : IIS with sample
asp.net mvc site can
serve 650 -680 requests per second,( 330 requests per second page with
a lot of html content without db calls) , whereas lift on jetty in
production mode with hellolift site, (
http://localhost:8080/liftbasic-1.0-SNAPSHOT/user_mgt/login
) can serve only 220-250 pages per second which is comparison to
asp.net mvc . I know that real app have a lot of db calls which are
mainly bottlenecks , but still I expected better performance. In
firefox firebug shows me that
http://localhost:8080/liftbasic-1.0-SNAPSHOT/user_mgt/login
page loads in 40-70 ms, whereas in
asp.net mvc it takes about 10-15
ms. Maybe that's because
asp.net mvc views are compiled to classes and
lift parses them at runtime.
7)I'd like to use lift in pair with mongodb , has anyone tried that?
Thanks for the answers :)
Tadeusz Wójcik
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to
lif...@googlegroups.com.
To unsubscribe from this group, send email to
liftweb+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.