Python Ireland May 2011 - What is Pyramid and where is it with respect to Django? By Kevin Gill

3,608 views

Published on

(Level: Intermediate) Tutorial introduction to Pyramid, showing how to install and create a simple view and a database mapped view. Will focus on the differences with respect to Django.

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,608
On SlideShare
0
From Embeds
0
Number of Embeds
88
Actions
Shares
0
Downloads
39
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Based on the concept that freameworks provide Distpacher Templating Database Are they available / build or reused Opinionated Versus Non-opinionated Reused versus built
  • Python Ireland May 2011 - What is Pyramid and where is it with respect to Django? By Kevin Gill

    1. 1. What is Pyramid (and where is it with respect to Django) By: Kevin Gill For: Python Ireland Date: May 11 2011 https://github.com/kevingill1966/pyramid-talk-may11
    2. 2. Learning Objectives <ul><li>Orientation to learn Pyramid
    3. 3. Why should you use Pyramid (versus Django)
    4. 4. How should you use Pyramid </li></ul>
    5. 5. Tutorial <ul><li>Go through tutorial code: </li></ul>https://github.com/kevingill1966/pyramid-talk-may11
    6. 6. Not covered in tutorial <ul><li>Testing
    7. 7. Security
    8. 8. Authentication
    9. 9. Session Management
    10. 10. ZODB /Traversal
    11. 11. Deployment
    12. 12. Buildout etc </li></ul>
    13. 13. Versus Django: Landscape * Werkzeug * Flask * Pylons * Zope * Django * Pyramid
    14. 14. Versus Django: Performance http://blog.curiasolutions.com/2010/11/the-great-web-technology-shootout-%E2%80%93-round-4-pyramid-vs-django-vs-tg-vs-rails-2-3/
    15. 15. Versus Django : Docs <ul><li>Core very good for both
    16. 16. Pyramid – lacks third party, e.g. Blogs and cheatsheets </li></ul>
    17. 17. Versus Django : Stability <ul><li>Pyramid unfinished – energy in framework
    18. 18. Django finished – energy in community </li></ul>
    19. 19. Versus Django : Community <ul><li>Community Size / Support
    20. 20. Django huge
    21. 21. Pyramid politically clever </li><ul><li>Merged with Pylons – community seems happy </li></ul></ul>
    22. 22. Versus Django : Vertical <ul><li>Django Pinax
    23. 23. (zope plone), Pyramid ... </li></ul>
    24. 24. Versus Django: Apps Search for 'pyramid' in PyPi gives 54 results
    25. 25. Versus Django : Reuse <ul><li>Reuse complicated by different development patterns and choices in different projects
    26. 26. Serious reuse would require a layer on top of Pyramid e.g. CMS / Pinax
    27. 27. Pyramid provides mechanisms and advice for reuse, i.e. how to write configuration, store resources </li></ul>http://docs.pylonsproject.org/projects/pyramid/1.0/narr/extending.html
    28. 28. Versus Django : IDE Support <ul><li>IDE support for Django </li><ul><li>PyDev
    29. 29. PyCharm
    30. 30. django-komodo-kit
    31. 31. http://code.djangoproject.com/wiki/UsingVimWithDjango </li></ul><li>Nothing specific for pyramid </li></ul>
    32. 32. <ul><li>Https://convore.com/pylons
    33. 33. Http://docs.pylonsproject.org/docs/pyramid.html
    34. 34. Https://github.com/Pylons
    35. 35. Http://pylonsproject.org </li></ul>

    ×