-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11-04-13 02:26 PM, Aaron Bentley wrote: > The sourcepackage +sharing-details pages have model objects. But how do > we initialise them? We considered initialising them from the page HTML. > We considered using the web service. But it turns out there's already > a great facility for this: the JSON cache.
Something I forgot to mention is that the JSON cache is currently only available for logged-in users, so if your javascript needs to work for anonymous users, you need to take a different approach. Aaron -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2m+24ACgkQ0F+nu1YWqI3RGACeMu4Jx7H89p4Y8qEr1V4X5cpJ RZ4AnRqcS7eKl9sYZatHro39oZjdnVOo =2avf -----END PGP SIGNATURE----- _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

