Re:Comparing Dynamic and Static Language Approaches to Web F...
by jseims on Tuesday May 01, 2012 @03:03PM
(#3915909)
Interesting. I've never used Lift or Play -- thanks for the info.
Re:Comparing Dynamic and Static Language Approaches to Web F...
by SkyMarshal on Tuesday May 01, 2012 @08:41PM
(#3917068)
Some info on on-the-fly compilation:
https://github.com/harrah/xsbt/wiki/Triggered-Execution
http://cookbook.liftweb.net/Developing+using+a+text+editor.h...
https://github.com/liftstack/lift24-s29-blank.g8#readme (still a work in progress, not debugged, but you can test the sbt "~ compile" continuous compilation directive)
Re:Comparing Dynamic and Static Language Approaches to Web F...
by mahmud on Tuesday May 01, 2012 @09:12PM
(#3917161)
Play supports dynamic compilation for Java as well.
Re:Comparing Dynamic and Static Language Approaches to Web F...
by SkyMarshal on Wednesday May 02, 2012 @02:27AM
(#3917848)
Yes, through sbt too, I just realized:
Fwiw, this is less and a less a problem with static languages. In the Scala ecosystem, for example, on-the-fly compilation is available with Play, or any framework that uses SBT [1] (Lift, Scalatra, etc). Edit, save, and your edits (and only your edits) are automatically recompiled and reloaded.
> more boilerplate
Not sure about that. Lift at least (maybe Play too, not sure) is about the same lines of code as Rails, less if you include tests.
1. github.com/harrah/xsbt