• Like
    * DJANGO - The Python Framework - Low Kian Seong, Developer
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

* DJANGO - The Python Framework - Low Kian Seong, Developer

  • 1,962 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,962
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
35
Comments
0
Likes
1

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. The Django Framework By Low Kian Seong
  • 2. Who am I?
    • @lowskter
  • 3. Why Django
    • Aka. How I became a Zope refugee.
      • Events leading to me deflecting.
    • Flexibility vs. Usability
    • 4. Backed by some of the arguably the greatest Pythonistas
    • 5. Great community.
    • 6. Good resources. A book, planet and mailing lists which are actively maintained.
  • 7. Why Django
    • Helper functions not hand holding functions
    • 8. MVC
      • Or … M-VC
      • 9. Tight coupling of VC.
    • Modular
      • Ripping one thing out will not effect the engine.
    • Useful decorators
    • 10. Templates
      • Limited functionality
      • 11. Purposely made underpowered. Why?
  • 12. Django components
  • 16. Django-Components
    • models.py
    • 17. Definition for database schemas and fields.
  • 18. Django-Components
    • views.py
    • 19. Controlling what is being fed to the templates and others. The C in MVC.
  • 20. Django-Components
    • urls.py
    • 21. Controlling what is served up based on the url that the user is accessing.
    • 22. Lots of regex and pattern matching here.
  • 23. Some Django tools that are used in a lot of projects
    • This slide is also known as Django killer features
    • 24. Some of django's killer features …
  • 29. Admin interface
    • One liner to data modelling
  • 30. Generic Views
    • Quick scripts for CRUD
    • 31. Powerful and Extensible engine.
    • 32. Some of the generic views available:
      • Simple redirects
      • 33. Date based actions
      • 34. List helper functionalities.
    • Shrinking your code size while adding the functionality.
  • 35. Django-Generic Views
    • Simple Views
    • 36. A simple view:
    urlpatterns = patterns('django.views.generic.simple', (r'^foo/$', 'direct_to_template', {'template': 'foo_index.html'}), (r'^foo/(?P<id>d+)/$', 'direct_to_template', {'template': 'foo_detail.html'}), )
  • 37. What if you wanted to do more with templates?
    • For those who think the templates are not powerful enough.
    • 38. Some default built in django tags and filters.
    • 39. Custom tags and filters.
  • 40. Django javascript support
    • Rails vs. Django vs. TG javascript support
    • 41. Underpowered?
  • 42. Django deployment
    • Apache – mod_python/mod_wsgi
    • 43. Windows/Linux support
  • 44. Case Study
    • Process script
    • 45. Data modelling and manipulations
    • 46. Two case studies-processing scripts+django web front
    • 47. Leveraging the dynamic Python programming language for various system tasks. What? No bash?!
  • 48. Some interesting modules that I want
    • Django-evolve
    • 49. Django-sqlalchemy
  • 50. Django resources
    • Django modules
    • 51. Django snippets examples
    • 52. Free Django book!
  • 53. Q&A Q&A Session