4 ms·
Second that about Lift too. It's basically server-side jQuery. Instead of parsing templates as one big string, it does DOM transforms on sub-trees. Parallel,
by SkyMarshal 14y ago
Second that about Lift too. It's basically server-side jQuery. Instead of parsing templates as one big string, it does DOM transforms on sub-trees. Parallel, independent, lazy-loading transforms using an Actor for each for each Snippet/subtree. Really awesome model.
Also, Twitter's recent 180 on shifting some processing from the client back to the server [1] suggests a server-oriented framework like Lift's is worth considering, despite the hype and excitement around client-heavy Rich Web Apps. Lift does the API-consuming rich client model as well, but its uniqueness is the DOM transform stuff.
Very different mental model than MVC and hard to get started with for some because of that, but here's a great bit of advice on best practices I came across recently (especially the part about pretty everything being done via either LiftRules or the S object) [2].
1. http://engineering.twitter.com/2012/05/improving-performance-on-twittercom.html http://engineering.twitter.com/2012/05/improving-performance...
2. http://www.quora.com/Lift-web-framework/What-are-the-best-practices-for-using-Lift http://www.quora.com/Lift-web-framework/What-are-the-best-pr...
- TylerE 14y agoYea, having done a two small projects in it now, my brain is starting to adapt to it a bit. Maybe a bit easier for me than for some, since I never really bought into MVC all that hard, so I'm not having to break too many habits.