On 6/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > If anyone cares to share experiences/comments passing around similar > > structures, I'm all ears. > > I've just started using JSON to pass around simple types of > structures, and it's been working well so far. I haven't needed to > put different components of the structures in a form, so this may not > be useful to you. >
JSON would be nice indeed, but I think using XHR is overkill for it. (Calling back to the server for data that I already have just to get it in JSON seems icky to me). But creating the javascript structure and editing/updating the form from that structure is also a pain as well. (The server side is easy, formencode might make it a little easier). Maybe I'll mess around with simplejson to get json directly from the controller to the template.... (without having to do XHR). Has anyone messed with that? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
