![]() |
|
|
|
Tags Map
ajax app attribute bit code create data def dialog div django dumps elif facebook faced false fb fbjs function functionality haskey href httpresponse id int javascript jquery json lets live method mimetype msg object objects params part pk poll post pyfacebook request requests responsetype results return series simple simplejson span successful template true typ udown urls uup var views vote voteup web works Keyword Cloud Navigation Map |
Two-Faced Django Part 7: PyFacebook and FBJS AjaxAbstract: This is a latest tutorial about PyFacebook that demonstrates how to use FBJS Ajax along with PyFacebook Now we have most of the fb app put together, we just need to add a little ajax functionality to the fb app and we're ready to go. If you haven't followed along, you can download a snapshot of the code we've developed.
In general this is where we'd begin to spin up the urls -> views -> tempates development engine, but we actually already implemented the urls and views for this in the web app. Its a little bit unseemly to make our apps dependent on each other, and a cleaner way would be to have a third app that would hold all universal or shared components (I like to call that third app api). |