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
150
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
520
Sad Panda Needs a Hug (Nina Zakharenko)
pyconca
0
450
Shopify Checkout (Chris Saunders)
pyconca
0
220
Saturday Morning BreakfastSerial: Hacking Arduinos in Python (Swift)
pyconca
2
150
Skyfield and 15 Years of Bad APIs (Brandon Rhodes)
pyconca
0
400
Planting Open Source Seeds (Kenneth Reitz)
pyconca
0
130
Why Open Source Works (Alex Gaynor)
pyconca
0
200
How to learn Python in 5 Minutes (Daniel Moniz)
pyconca
0
1k
Sunday Morning Keynote (Karen Brennan)
pyconca
0
300
Other Decks in Programming
See All in Programming
Leading Effective Engineering Teams in the AI Era
addyosmani
7
510
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
6.9k
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
580
CSC305 Lecture 06
javiergs
PRO
0
250
CSC509 Lecture 03
javiergs
PRO
0
340
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
750
CSC509 Lecture 06
javiergs
PRO
0
260
組込みだけじゃない!TinyGo で始める無料クラウド開発入門
otakakot
1
330
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
170
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
190
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
510
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
200
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Automating Front-end Workflow
addyosmani
1371
200k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Optimizing for Happiness
mojombo
379
70k
How to Ace a Technical Interview
jacobian
280
24k
Code Reviewing Like a Champion
maltzj
526
40k
Statistics for Hackers
jakevdp
799
220k
Visualization
eitanlees
149
16k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
630
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