Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
engineering.linkedin.com
Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
1–10 of 43 posts
Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
#2As well I enjoyed the article, I have not used dust.js yet so it was interesting to see how it works. Dojo has a good templating model and I tend to prefer it over some of the other offerings, it is good to see that others are getting into the space. Though I do prefer Dojo's widget based templating over standard tiles type templateing, I find that it makes the code more compartmentalized and reusable. More of a black box, where code and template can just be added to a page and it works.
Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
#3Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
#4It felt natural as a programmer to develop the backend as a "library" that was "called" by the client side.
Immmmmense productivity. All pages require auth and shouldn't be indexed, so I don't worry about excluding search engines etc.
Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
#5If anyone from Linkedin is reading - any chance of getting this evaluation posted somewhere? Would be useful even if it's just a "tech x factor" matrix without commentary.
Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
#6I did something similar for a recent project. My backend basically only provides an HTTP API. All rendering is client-side. It felt natural as a programmer to develop the backend as a "library" that was "called" by the client side. Immmmmense productivity. All pages require auth and shouldn't be indexed, so I don't worry about excluding search engines etc.
Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
#7I did something similar for a recent project. My backend basically only provides an HTTP API. All rendering is client-side. It felt natural as a programmer to develop the backend as a "library" that was "called" by the client side. Immmmmense productivity. All pages require auth and shouldn't be indexed, so I don't worry about excluding search engines etc.
Not sure why you're being downvoted, but I like this too. Your application should just be an API and pages should be tiny programs that call into this API. That way you can easily test your application and easily test your pages. And when you want to release "an API", well, you already designed, implemented, and tested it.
Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
#8I'm relieved to see their staff know what they're doing, and even curl http://www.linkedin.com/in/example still yields content. An alarming fraction of devs and toolsets out there would have screwed this up so badly that their resources would be cut off from reuse by the rest of the web, trapped behind an unstable single-site API.
Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
#9"All told, we evaluated 26 different templating technologies, scoring them on a variety of factors: DRY, JS library agnostic, mature, open source, easy to learn, documentation, flexibility, performance, and so on." If anyone from Linkedin is reading - any chance of getting this evaluation posted somewhere? Would be useful even if it's just a "tech x factor" matrix without commentary.
Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates
#10Is this how Amazon - who reputedly has everything as services - renders its webpages as well ?