Server or client side dispatch

How to solve the problem when building a web application between server side rendering and client side rendering. Is there a general recommendation or best practice for all websites? Which should I recommend, server side rendering, client side rendering, or a hybrid of the two?

Some people say whether the choice of client / server option depends on the use. I'm still not sure which cases are more appropriate for client-side or server-side rendering.

How do we decide whether to use a client-rendered page or a server-rendered page. Is there an intermediate level at this?

+3


source to share


2 answers


If you are using some modern SPA (single page apps) frontends like angular or ember it is not that popular for server side rendering yet.

However, React.js has support for this: http://maketea.co.uk/2014/06/30/building-robust-web-apps-with-react-part-4.html



The Ember.js guys are thinking about the issue too, here's an interesting discussion: https://github.com/emberjs/ember.js/issues/9938

Hope this helps a little.

+1


source


no answer for all scenarios:



+2


source







All Articles