Your SlideShare is downloading. ×
Ajax in Django
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Ajax in Django

3,559
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,559
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
52
Comments
1
Likes
6
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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