I've had very similar feelings using enlive in Clojure land. I doubt I'll be switching back to a more traditional templating engine any time soon.
Why Lift is My Favorite Web Framework
11–20 of 46 posts
Re: Why Lift is My Favorite Web Framework
#12Re: Why Lift is My Favorite Web Framework
#13I'm in no position to say whether Yesod or Lift is better; I just wish more people would consider Haskell at all--it's a great choice for web programming (among many other things).
Re: Why Lift is My Favorite Web Framework
#14Some of the main points are weak and don't really apply to differentiating Lift specifically. For example, the fact that Lift is Scala-based doesn't make it any different than Symfony is PHP-based or Spring MVC is Java-based. Subjective, but I definitely understand that that this is an opinionated view (rather than a objective "Lift has Feature X" viewpoint).
Similarly, what server-side framework that's in wide usage nowadays doesn't have the ability to have some form of generated/dynamic JS wiring? I'd say that's table stakes nowadays, not something to callout by any means.
Re: Why Lift is My Favorite Web Framework
#15Re: Why Lift is My Favorite Web Framework
#16Re: Why Lift is My Favorite Web Framework
#17This is OT, but you really should track clicks on links (if you need to do it in the first place) in a different way than this: my first encounter with Lift
You should never put js in the href like this, or insert extra referral links prior to going to the real link as google have been doing recently; it breaks the web.
Re: Why Lift is My Favorite Web Framework
#18The sever side statefulness of Lift, the fact that it supposes I don't know how to program HTML/JavaScript, and the hostility toward Scala that Lift's creator harbors since negotiations with him joining Typesafe broke down, are all reasons I think it would behoove anyone to avoid the framework. Play, unfiltered, scalatra, and blue eyes are all fantastic
Having been using lift professionally for the last year or so, this is definitely my biggest complaint. I feel like Lift got it wrong here -- the *Var model is just hard to reason about. Our app has a lot of complicated logic to save and restore state at the appropriate times, and this model is supposedly the Right Way to do things.
> the fact that it supposes I don't know how to program HTML/JavaScript
Not sure why you say that; I've never gotten this feeling.
> the hostility toward Scala that Lift's creator harbors
Lift has 50 committers now. It's not going anywhere. If dickead maintainers were a real problem, nobody would be using glibc anymore. (I don't have any thoughts on whether DPP is a dickhead; I do think Drepper is, though :-)
One thing you didn't mention is the whole CssSel model combined with the way lift does templating. I think it's awesome, and hopefully I'll never have to work with another style of templating again in my life. (In fact, I wrote an implementation of it in haskell for my personal static site generator, because I love it so much: http://hackage.haskell.org/package/hquery ).
Re: Why Lift is My Favorite Web Framework
#19I've had very similar feelings using enlive in Clojure land. I doubt I'll be switching back to a more traditional templating engine any time soon.
I wish Clojure had a batteries included framework like this just to draw more attention to the language.
Re: Why Lift is My Favorite Web Framework
#20I would definitely not pick Lift today for a new project.