Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The joys and pains of using Pyramid

The joys and pains of using Pyramid

Éric Araujo & Hadrien David

Avatar for PyCon Canada

PyCon Canada

August 10, 2013
Tweet

More Decks by PyCon Canada

Other Decks in Programming

Transcript

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

    Hadrien David — PyCon CA 2013
  2. Advanced dispatch → predicates on request → predicates on authentication

    → complexity → authentication system not as flexible
  3. Compose & extend → break apart components → customize framework

    → reuse whole app → Pyramid extensions != WSGI
  4. Settings management → config files + code entry point →

    environment variables → not in scope: system configuration → Paste issues
  5. The power of traversal → hierarchical API in docs and

    code → URI = traversal HTTP methods = views domain logic = model → less common and simple than dispatch
  6. 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