Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The joys and pains of using Pyramid
Search
PyCon Canada
August 10, 2013
Programming
0
160
The joys and pains of using Pyramid
Éric Araujo & Hadrien David
PyCon Canada
August 10, 2013
Tweet
Share
More Decks by PyCon Canada
See All by PyCon Canada
Job Security (in Python) (Christopher Neugebauer)
pyconca
2
540
Sad Panda Needs a Hug (Nina Zakharenko)
pyconca
0
470
Shopify Checkout (Chris Saunders)
pyconca
0
240
Saturday Morning BreakfastSerial: Hacking Arduinos in Python (Swift)
pyconca
2
160
Skyfield and 15 Years of Bad APIs (Brandon Rhodes)
pyconca
0
420
Planting Open Source Seeds (Kenneth Reitz)
pyconca
0
160
Why Open Source Works (Alex Gaynor)
pyconca
0
220
How to learn Python in 5 Minutes (Daniel Moniz)
pyconca
0
1.1k
Sunday Morning Keynote (Karen Brennan)
pyconca
0
320
Other Decks in Programming
See All in Programming
MUSUBIXとは
nahisaho
0
140
Oxlint JS plugins
kazupon
1
1k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
Oxlintはいいぞ
yug1224
5
1.4k
Patterns of Patterns
denyspoltorak
0
1.4k
CSC307 Lecture 08
javiergs
PRO
0
670
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
210
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
140
CSC307 Lecture 03
javiergs
PRO
1
490
Data-Centric Kaggle
isax1015
2
780
CSC307 Lecture 05
javiergs
PRO
0
500
Featured
See All Featured
Mind Mapping
helmedeiros
PRO
0
90
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
79
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
First, design no harm
axbom
PRO
2
1.1k
WENDY [Excerpt]
tessaabrams
9
36k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
740
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7k
RailsConf 2023
tenderlove
30
1.3k
We Have a Design System, Now What?
morganepeng
54
8k
Claude Code のすすめ
schroneko
67
210k
Transcript
The joys and pains of using Pyramid Éric Araujo &
Hadrien David — PyCon CA 2013
No opinions
No opinions → HTTP handling → any persistence, format, templating
→ you must choose
Advanced dispatch
Advanced dispatch → predicates on request → predicates on authentication
→ complexity → authentication system not as flexible
Compose & extend
Compose & extend → break apart components → customize framework
→ reuse whole app → Pyramid extensions != WSGI
Settings management
Settings management → config files + code entry point →
environment variables → not in scope: system configuration → Paste issues
The power of traversal
The power of traversal → hierarchical API in docs and
code → URI = traversal HTTP methods = views domain logic = model → less common and simple than dispatch
Conclusion
Questions?
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