← Back to team overview

launchpad-dev team mailing list archive

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

 

On Wed, Feb 22, 2012 at 10:57 AM, Aaron Bentley <aaron@xxxxxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12-02-21 04:42 PM, Robert Collins wrote:
>> So, the API is *capable* of being round trip efficient for any use
>> we would make of it in a web page. Some of our 'magic' glue however
>> will be in the way and in the short term is best avoided. E.g. a
>> collection of nested dicts can be trivially returned by an API
>> call; a collection of Bug objects will return only the Bug object
>> representations themselves.
>
> We may be in violent agreement.
>
> You are suggesting we should add new API calls that return the
> specific collection of objects we need for the web page, in order to
> be efficient?  That sounds okay, but it does sound like a change.

Absolutely. And yes, its a (bit of a) change in how we are exposing
stuff on the API.

-Rob


References