Plans for Loggerhead
Aaron Bentley
aaron at aaronbentley.com
Wed Jan 7 19:13:49 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Albisetti wrote:
> On Wed, Jan 7, 2009 at 4:33 AM, Aaron Bentley <aaron at aaronbentley.com> wrote:
>> I don't understand why going fully Json is a win here. I could
>> understand deferring generating things we might not need, but going
>> fully Json is overkill for that.
>
> What do you think would be better?
>
> My take on it is:
> - No more rendering enormous HTMLs
But wouldn't rendering equivalent JSON be similarly enormous, and
wouldn't we have to render the HTML server-side for the initial page
view anyhow?
> - Can be used by any other app (in a way, like the xmloutput plugin)
Sure, nice to have.
> - Simplifies caching
Not sure I really get that. Do you mean because if the same object
appears on multiple pages, we win by caching the object once?
It just seems to me that if you have a problem and you solve it with
JSON, now you have two problems, and if you add Javascript then you have
three problems.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklk/uoACgkQ0F+nu1YWqI26UACggyjmez2Z3uNCFrxOk9AcdJ2l
jusAniyWxFylptZQC3CcWNIHxDozAkeP
=mwut
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list