Re:Server-side HTML vs. JS Widgets vs. Single-Page Web Apps
by pamelafox on Monday June 03, 2013 @02:10PM
(#5814799)
(Post author) Yep, I know that our server-side case was the worst possible way. It is possible to do it in infinitely better ways, but it's still hard to do so in a way that easily brings in JavaScript and doesn't end up replicating code, especially when your server-side language and front-end language are different. I got a demo of DerbyJS the author day, a framework on top of Node that does server-side rendering of the template so it loads very fast, and then subscribes to events via JS and refreshes the template on the client-side, all using the same template code and language. That to me sounds like a pretty cool approach, but not something we can switch to easily.
[ Parent
| on HN ]
There are no comments on this comment yet.