Oops, I addressed this wrong and don't have an easy way to send the
exact same message to the list.


---------- Forwarded message ----------
From: Leon Smith <[email protected]>
Date: Mon, Apr 25, 2011 at 5:46 AM
Subject: Re: [Snap Framework] Heist and Blaze
To: Todd Porter <[email protected]>


On Mon, Apr 25, 2011 at 3:09 AM, Todd Porter <[email protected]> wrote:

I'd have to dig into this issue;  sadly I've not made effective use of
Heist on my current project.  And that's not saying anything bad about
Heist, but rather my (lack of) skills relating to frontend work,  and
my current priorities.

> I guess more broadly, am I taking the right approach to this?
>

I'd ask,  why not use an XMLHttpRequest to get the JSON data?   JQuery
has functions to perform ajax requests with less hassle;  and many
other libraries have comparable functions for convenience.

My suggestion does have the downside that this is two round trips from
the client to the server instead of one.   But it can save bandwidth
and processing over time if you find that you need to regenerate the
entire page several times due to that one bit of data changing.

> Appreciate any guidance, cheers, Todd
> _______________________________________________
> Snap mailing list
> [email protected]
> http://mailman-mail5.webfaction.com/listinfo/snap
>
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to