Lift compared with Grails

前端 未结 4 1102
抹茶落季
抹茶落季 2021-02-06 17:51

Lift/Scala is getting a lot of attention lately. Having worked with Grails in the past (and finding it quite handy BTW), I\'d like to know if there\'s anyone who has tried both

4条回答
  •  面向向阳花
    2021-02-06 18:45

    If you're building a CRUD app and you're comfortable with Grails, then stick with it.

    If any of the following things are priorities for you, then Lift is going to be better:

    • Security -- Lift is more secure than Grails
    • Performance -- Lift is faster than Grails because Scala is faster than Groovy
    • Ajax -- Lift's Ajax support is simpler and easier than Grails
    • Comet -- If you want to build server-push apps, there's nothing better than Lift
    • Choice of ORMs -- Lift is not tied to a single ORM, so use anything you want

    Net-net, Lift is not another me-too MVC framework. It's something different and something better.

提交回复
热议问题