3 ms·
I'd much rather use templates that can be rendered server side as an optimization if necessary, and then updated normally on the client. As for the criticism o
by spankalee 13y ago
I'd much rather use templates that can be rendered server side as an optimization if necessary, and then updated normally on the client.
As for the criticism of SPAs that you need to download the "entire" JavaScript library is loaded, this can be mitigated by lazy loading the dynamic bits. If you look at how Google+ behaves, it renders the page server side, and then loads controllers for various parts of the app on demand. For such a complex app it loads incredibly fast.
It might be a little bit before there's a server-side renderer for custom elements / Shadow DOM / template binding, plus patterns for deferred loading code, but personally I think that will be the way to go in the near future.
- agilebyte 13y agolazy loading the dynamic bits Are you talking about RequireJS AMD?
- spankalee 13y agoNo, I'm talking about the technique, not a specific library.
- Touche 13y ago> It might be a little bit before there's a server-side renderer for custom elements / Shadow DOM / template binding, plus patterns for deferred loading code, but personally I think that will be the way to go in the near future. There won't be. These guys are just desperately clinging the past. They should be writing the Ruby on Rails for Opal instead of trying to extend the life of something that, frankly, has seen its day.
- spankalee 13y agoI'm quite sure there will be. Everyone I know working on those standards is interested in seeing server-side rendering, it just a matter of getting there.
- MrBuddyCasino 13y agoNot sure I got that - that sounds an awful lot like JSF, which should never have been invented.
- porker 13y ago> These guys are just desperately clinging the past. They should be writing the Ruby on Rails for Opal instead of trying to extend the life of something that, frankly, has seen its day. Care to expand? I'm confused what you mean.
- Touche 13y agoI mean while the rest of the web world has moved on to the client being the center of the universe the 37Signals guys are busy trying to make sure they can still work the same way they have since 2005.
- kayoone 13y agoi am all for SPAs an love angular, but in reality >90% of the web world is still using the document orientated model of 37Signals. That will change eventually, but its a long way to go.