Save 37% off PRO during our Black Friday Sale! »

The joys and pains of using Pyramid

The joys and pains of using Pyramid

Éric Araujo & Hadrien David

3b085ba94fee217d7656971b0cb4cf00?s=128

PyCon Canada

August 10, 2013
Tweet

Transcript

  1. The joys and pains of using Pyramid Éric Araujo &

    Hadrien David — PyCon CA 2013
  2. No opinions

  3. No opinions → HTTP handling → any persistence, format, templating

    → you must choose
  4. Advanced dispatch

  5. Advanced dispatch → predicates on request → predicates on authentication

    → complexity → authentication system not as flexible
  6. Compose & extend

  7. Compose & extend → break apart components → customize framework

    → reuse whole app → Pyramid extensions != WSGI
  8. Settings management

  9. Settings management → config files + code entry point →

    environment variables → not in scope: system configuration → Paste issues
  10. The power of traversal

  11. The power of traversal → hierarchical API in docs and

    code → URI = traversal HTTP methods = views domain logic = model → less common and simple than dispatch
  12. Conclusion

  13. Questions?

  14. Credits ⋅Examples on https://bitbucket.org/hadrien/pyconca ⋅ http://www.flickr.com/photos/jonmcgovern ⋅ http://www.officescope.com/blog/wp-content/uploads/2013/07/Puzzle- pieces.jpg ⋅

    http://www.nytimes.com/2010/04/22/books/22library.html ⋅ http://www.maritimenz.govt.nz/images/Incident-area/Rena7.jpg ⋅ http://www.treetopquest.com/wp-content/uploads/2012/06/Trees.jpg ⋅ http://wallpaperfast.com/wp-content/uploads/2013/06/Mexico-Mayan- Pyramid-Desktop-Wallpaper.jpg ⋅ https://1-media-cdn.foolz. us/ffuuka/board/tg/image/1354/26/1354261439950.jpg