Slobodan Milnović wrote: > I have tried to find and understand how using weblocks and REST can be > done, but I have problems with understanding how data actually goes > from backend (weblocks) to frontend (javascript) and back. I'm still > learning common lisp, weblocks and web programming in general at the > same time. I do understand the basic concepts, but sometimes weblocks > seems to me like magick that defies (my) logic. > > Could you be so kind to point me to some very simple examples of > communication between javascript and weblocks?
Everytime a widget is refreshed without a page reload we are making an AJAX (Javascript) request to the server side. Check out weblocks.js for some big picture ideas of what is going on, and take a look at the requests with Firebug's "Net" panel. REST, of course, doesn't have much to do with Javascript. It's just a philosophy of URL building. I'm not sure what you want to achieve or understand, so I'm leaving it at that. Ask more specific questions and I'll be happy to get into more detail. 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.
