← Back to team overview

launchpad-dev team mailing list archive

Re: server side rendering, client side rendering, forms, oh my.

 

I think that generally sounds great.

I do wonder a bit about the duplication of rendering between server
and client.

My impression is that where there has been redundant client and server
rendering in Launchpad to date, there have been a fair number of bugs
(and some still open) where the state or behaviour is different
between server and client rendering - eg inconsistent between a fresh
load and an in page update.  Perhaps the conceptual duplication can be
kept small by a stricter separation of the model being kept on the
server and exactly the same templates being run on both sides, rather
than ad-hoc client code, and so a it will be systematically more
reliable and maintainable.

I've also heard people (Robert) say fairly harsh things something
about Launchpad's current API publishing system and that it needs to
be completely replaced, so I wonder how that fits in.

-- 
Martin


References