← Back to team overview

launchpad-dev team mailing list archive

Re: Javascript learnings #2: Initializing your model from the JSONRequestCache

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11-04-14 06:38 AM, John Arbash Meinel wrote:
> On 4/14/2011 11:39 AM, Gavin Panella wrote:
>> On 13 April 2011 19:26, Aaron Bentley <aaron@xxxxxxxxxxxxx> wrote:
>> [...]
> 
>> That's really interesting.
> 
>> Blog it :)
> 
> 
> It is interesting, but a little bit more background would certainly help
> those of us that aren't quite sure what you're talking about. For
> example, is this all JS that runs on the client side?

Yes.  Adding an object to the JSONRequestCache causes a Javascript
object literal (i.e. JSON) for that object to be added to the web page,
inside a <script>.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2m69EACgkQ0F+nu1YWqI3fiACfZskc8iPZ2l1nrzt6qEvYMqJU
7dIAn1lfLGwvB90eSxO/9etfZo4aW3R2
=K+RH
-----END PGP SIGNATURE-----



References