In their controller code for all the example stuff, they're generating HTML "snippets". In the instructional text they talk about how they are opposed to logic in the views, but how is that consistent when you are generating html in the controllers?
I know a lot of frameworks do it, but I don't understand why. We repurpose a lot of our controller code for stuff other than web (command line, api) so for it to be bound to HTML in particular seems bad practice and even worse presented in the tutorials.
I'm well aware you needn't do it when using Lift, but why start off on the wrong foot?
http://liftweb.net/docs/getting_started/mod_master.html
In their controller code for all the example stuff, they're generating HTML "snippets". In the instructional text they talk about how they are opposed to logic in the views, but how is that consistent when you are generating html in the controllers?
I know a lot of frameworks do it, but I don't understand why. We repurpose a lot of our controller code for stuff other than web (command line, api) so for it to be bound to HTML in particular seems bad practice and even worse presented in the tutorials.
I'm well aware you needn't do it when using Lift, but why start off on the wrong foot?