Browsers are getting faster, and I am finding that it is far quicker
to pass data back as json, then use a JS templating engine to covert
the data into its HTML representation on the user's side.



On Nov 15, 11:43 am, Jimmy Brake <[email protected]> wrote:
> What you said is mostly true on both accounts. What I like about the
> straight json method is I can dump pretty much all the data they would use
> over the entire course of the session in just one response probably no more
> than  40 k for really large data sets.
>
>
>
>
>
>
>
> On Wed, Nov 9, 2011 at 11:34 AM, Victor <[email protected]> wrote:
> > So you plan to receive JSON from server, then convert it to HTML and
> > insert into page? HTML fragments are much easier in
> > writing/validating/processing.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Prototype & script.aculo.us" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/prototype-scriptaculous/-/DAxhHxaBOFkJ.
> > To post to this group, send email to
> > [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/prototype-scriptaculous?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to