So who's this dude?

Art(h)ur
Working at Tesco Diets 
Taming the unruly browsers
(more often the other way round)
http://slideshare.net/cistov
Not a 'how­to' talk
So, Ajax...
Clearly the most over­
hyped cleaning liquid ever
Say Ajax again!
Widely adopted
Ajax in broad sense
DRY
Django Goals
1.Make web development 
     stupidly fast
2. Automate the repetitive 
          stuff
3. Practice loose coupling
4. Follow best practices
5. Be efficient
Pinax as 'Django with 
   bigger opinion'
But...
'Django often gets marked down 
in a "framework comparisons" 
due to the lack of built in Ajax 
support. Personally I thin...
Giants & their shoulders
Fred
Exhibit A: ASP.NET UpdatePanel
Concerns:
Multiple scripts
Filesize
Performance
Generated Mark­up
Accessbility
SEO
Tied to specific library
Extension of b...
Exhibit B: Rails helpers
Concerns:
Generated Mark­up
Accessbility
SEO
Tied to specific library
Extension of built­in types
Exhibit C: Cappucino/GWT
Concerns:

Accessbility
SEO
If you have two separate 
 versions, this approach 
     may make sense
Chances are, you're not 
building GMail though
http://leandrovieira.com/projects/jquery/lightbox/
Should I even be 
   bothered?
iPhone supports 
  JavaScript
Ok, slow JavaScript, 
      but still?
¿Habla HTML?
<rant>
</rant>
“Just as easy as not to”
3
Hooks
Clean HTML
Library­agnostic
Loose coupling
Drivers
Caching
Even back­end agnostic
Artur, this is all great, 
but Ruby meet up is next 
         month
Meet 40 lines of messy 
         code
HttpRequest.is_ajax()
    is your friend
Poor man's single­paged 
     applications
Dependencies
Providing configuration 
   data on page load
CSS classes?
Custom attributes?
data­* hell?
Inline objects?
Unit Testing
Extending functionality
Callbacks?
Custom events?
Inheritance?
Data Access?
XSS/XSRF & JSON APIs
GWT Query
Future?
Image Credits

http://www.flickr.com/photos/atauri/2358057325/
http://www.flickr.com/photos/jeffmcneill/4169128852/
http:/...
Questions?
http://www.slideshare.net/cistov
 http://www.twitter.com/cistov
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Ajax in Django
Upcoming SlideShare
Loading in …5
×

Ajax in Django

3,965 views

Published on

Published in: Technology
1 Comment
6 Likes
Statistics
Notes
  • Video of this talk:
    http://vimeo.com/groups/pyconireland/videos/14083290
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
3,965
On SlideShare
0
From Embeds
0
Number of Embeds
289
Actions
Shares
0
Downloads
59
Comments
1
Likes
6
Embeds 0
No embeds

No notes for slide

Ajax in Django

  1. 1. So who's this dude? Art(h)ur Working at Tesco Diets  Taming the unruly browsers (more often the other way round)
  2. 2. http://slideshare.net/cistov
  3. 3. Not a 'how­to' talk
  4. 4. So, Ajax...
  5. 5. Clearly the most over­ hyped cleaning liquid ever
  6. 6. Say Ajax again!
  7. 7. Widely adopted
  8. 8. Ajax in broad sense
  9. 9. DRY
  10. 10. Django Goals
  11. 11. 1.Make web development  stupidly fast
  12. 12. 2. Automate the repetitive  stuff
  13. 13. 3. Practice loose coupling
  14. 14. 4. Follow best practices
  15. 15. 5. Be efficient
  16. 16. Pinax as 'Django with  bigger opinion'
  17. 17. But...
  18. 18. 'Django often gets marked down  in a "framework comparisons"  due to the lack of built in Ajax  support. Personally I think that  not shipping with a single  library is a feature, not a bug.' Simon Willison
  19. 19. Giants & their shoulders
  20. 20. Fred
  21. 21. Exhibit A: ASP.NET UpdatePanel
  22. 22. Concerns: Multiple scripts Filesize Performance Generated Mark­up Accessbility SEO Tied to specific library Extension of built­in types
  23. 23. Exhibit B: Rails helpers
  24. 24. Concerns: Generated Mark­up Accessbility SEO Tied to specific library Extension of built­in types
  25. 25. Exhibit C: Cappucino/GWT
  26. 26. Concerns: Accessbility SEO
  27. 27. If you have two separate  versions, this approach  may make sense
  28. 28. Chances are, you're not  building GMail though
  29. 29. http://leandrovieira.com/projects/jquery/lightbox/
  30. 30. Should I even be  bothered?
  31. 31. iPhone supports  JavaScript
  32. 32. Ok, slow JavaScript,  but still?
  33. 33. ¿Habla HTML?
  34. 34. <rant>
  35. 35. </rant>
  36. 36. “Just as easy as not to”
  37. 37. 3
  38. 38. Hooks
  39. 39. Clean HTML
  40. 40. Library­agnostic
  41. 41. Loose coupling
  42. 42. Drivers
  43. 43. Caching
  44. 44. Even back­end agnostic
  45. 45. Artur, this is all great,  but Ruby meet up is next  month
  46. 46. Meet 40 lines of messy  code
  47. 47. HttpRequest.is_ajax() is your friend
  48. 48. Poor man's single­paged  applications
  49. 49. Dependencies
  50. 50. Providing configuration  data on page load
  51. 51. CSS classes?
  52. 52. Custom attributes?
  53. 53. data­* hell?
  54. 54. Inline objects?
  55. 55. Unit Testing
  56. 56. Extending functionality
  57. 57. Callbacks?
  58. 58. Custom events?
  59. 59. Inheritance?
  60. 60. Data Access?
  61. 61. XSS/XSRF & JSON APIs
  62. 62. GWT Query
  63. 63. Future?
  64. 64. Image Credits http://www.flickr.com/photos/atauri/2358057325/ http://www.flickr.com/photos/jeffmcneill/4169128852/ http://www.flickr.com/photos/seandreilinger/3650862305/ http://www.flickr.com/photos/lrargerich/2800244229/ http://www.flickr.com/photos/mager/2803365394/ http://www.flickr.com/photos/joyoflife/317125573/ http://www.flickr.com/photos/young_einstein/74097753/ http://www.flickr.com/photos/drewm/4749504388/
  65. 65. Questions? http://www.slideshare.net/cistov http://www.twitter.com/cistov

×