AJAX
●   background conversation with server to make
    application more interactive
    –   GUI actions are independent ...
AJAX means pain
●   Especially for server-side developers
●   But, as the lead of Google Maps once said:
    –   “If it do...
Demo application
Django & AJAX wrap-up
●   Main type of integrations
    –   Call a Django service or view in the background
         ●   U...
Links
●   Source code (q&d quality):
    –   http://code.google.com/p/ppl-search
●   Run the demo:
    –   http://ppl-sear...
Send us your questions
●   Alex Arshavski
    –   alexarsh5@gmail.com
    –   http://twitter.com/alexarsh
●   Udi h Bauman...
Django And Ajax
Upcoming SlideShare
Loading in …5
×

Django And Ajax

1,106 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,106
On SlideShare
0
From Embeds
0
Number of Embeds
26
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Django And Ajax

  1. 1. AJAX ● background conversation with server to make application more interactive – GUI actions are independent from calls to server – Hence: Asynchronous JAvaScript XML ● Enables richer web applications with widgets &c
  2. 2. AJAX means pain ● Especially for server-side developers ● But, as the lead of Google Maps once said: – “If it doesn't kill you, it makes you stronger”
  3. 3. Demo application
  4. 4. Django & AJAX wrap-up ● Main type of integrations – Call a Django service or view in the background ● Used JQuery. Many other frameworks (Prototype, Mootools, &c) offer same functionality – wrapper around underlying XMLHttpRequest – Use Django serializers, e.g., directly into JSON – Bind widgets to Django-based JSON view as data- source – Add client-side logic, e.g., chaining select boxes in forms
  5. 5. Links ● Source code (q&d quality): – http://code.google.com/p/ppl-search ● Run the demo: – http://ppl-search.appspot.com ● AppEngine Django Helper: – http://code.google.com/p/google-app-engine-django/ ● Frameworks & API's used: – JQuery, YUI, JIT, Mootools, Twitter search ● Tools – FireBug
  6. 6. Send us your questions ● Alex Arshavski – alexarsh5@gmail.com – http://twitter.com/alexarsh ● Udi h Bauman – dibaunaumh@gmail.com – http://dibau.wordpress.com – http://twitter.com/dibau_naum_h

×