On Thu, Dec 8, 2011 at 9:11 AM, Godmar Back <[log in to unmask]> wrote:
>
> Let me give you an example for why returning HTML is a difficult
> approach, to say the least, when it comes to rich AJAX applications. I
> had in my argument referred to a trend, connected to increasing
> richness and interactivity in AJAX applications being developed today.
>
don't get me wrong; I love hipsters and JSON. JSONP callbacks are esp.
handy. I still would not consume it from a source I did not trust.
...
>
> If we tell newbies (no offense meant by that term) that AJAX means
> "send a request and then insert a chunk of HTML in your DOM," we're
> short-changing their view of the type of Rich Internet Application
> (RIA) AJAX today is equated with.
>
> sure, fair point -- I just don't think there is anything wrong with
generating HTML on the sever and injecting into the DOM if that makes the
most sense for what you are trying to do. And for things that work that
way now, I don't see a need to rush and change it all to JSONP callbacks
because of some vague security concern.
> - Godmar
>
|