On Jan 30, 2008 1:38 PM, OmenKing <[EMAIL PROTECTED]> wrote:
>
> That would be the simpler solution but it may not be practical for my
> me.
> I'll moving this code over to an asp classic system.
> I was just using it in ruby for simple testing and showing purposes.
Since this list is to discuss the Rails-spinoffs, mainly prototype and
scriptaculous, whatever you do on the backend is something to discuss
somewhere else. I try to help people if they're using the built-in
Rails helpers to generate their JavaScript for them, but generally
server-side talk is best taken to other lists that specialize in the
technology you are using. Especially if we're talking about old school
ASP ;)
> When should I use JSON over send requests with Ajax?
I'm not sure I understand your question. Are you asking when is it
appropriate to use JSON to send data over Ajax? If so, the answer is
really up to you. Some people use JSON exclusively for Ajax
communication, and other people may use it rarely, if ever. It's up to
what works best for your environment/style.
Since you mentioned switching to ASP, then maybe most of the questions
you have in this thread are irrelevant since ASP will unescape
parameters for you *and* have the methods in place to extract the
values you are looking for in the Request object, like:
Request("tasks[0]").
-justin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---