Slobodan Milnović wrote: > On Sun, Jan 23, 2011 at 20:23, Leslie P. Polzer <[email protected]> wrote: >> You don't need to use anything from Weblocks to do this (apart from >> rendering the initialization code in a custom widget, which is >> simple). No CLOS, no views. >> >> The dynamic updates can be served simply by vanilla Hunchentoot >> handlers (or Weblocks dispatchers if you want) as JSON or whatever >> data format is required. I suggest you try it in a plain Hunchentoot >> application and then transfer it to your Weblocks app. > > Well, that's the thing that I have the mental block about. > > I'm reading about cl-json now, and if I understand it correctly, in > simple words, cl-json creates an url,
No, cl-json doesn't create any URLs. You could use cl-json outside of any web context, in fact. cl-json is just about generating JSON from SEXP, and vice versa. > from which javascript json gets data, cl-json emits Javascript-compatible JSON, to put it simple (using sloppy terminology). > and it works both ways? I think you mean the same as I do here, i.e. SEXP<->JSON. Then the answer is yes. > And therefore I can use it wether I'm > using weblocks or making my own app that uses hunchentoot? Yes. Looks like you're on the right road here. :) Leslie -- You received this message because you are subscribed to the Google Groups "weblocks" 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/weblocks?hl=en.
