station
station

Reputation: 7145

Server side or client side rendering

How to decide up front when building a web app between server side and client side rendering. Is there any general guideline or best practice for all websites? What should be recommended, server side rendering, client side rendering or a hybrid of two?

Some people say whether to choose client/server side rendering depends on the use case. I am still not sure what cases more suit client side versus server side rendering.

How do we decide up front whether to use a client rendered page or a server rendered page. Is there a middle ground on this?

Upvotes: 4

Views: 1520

Answers (2)

Radhouane Fazai
Radhouane Fazai

Reputation: 341

there is no answer for all case scenarios :

Upvotes: 2

andrusieczko
andrusieczko

Reputation: 2824

If you're using some modern front end SPA (single page app) frameworks like angular or ember, it's not yet so popular to render on the server side.

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

Ember.js guys are thinking on the problem as well, here's an interesting discussion: https://github.com/emberjs/ember.js/issues/9938

Hope it'll help a bit.

Upvotes: 1

Related Questions