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
500
Sad Panda Needs a Hug (Nina Zakharenko)
pyconca
0
410
Shopify Checkout (Chris Saunders)
pyconca
0
200
Saturday Morning BreakfastSerial: Hacking Arduinos in Python (Swift)
pyconca
2
120
Skyfield and 15 Years of Bad APIs (Brandon Rhodes)
pyconca
0
360
Planting Open Source Seeds (Kenneth Reitz)
pyconca
0
100
Why Open Source Works (Alex Gaynor)
pyconca
0
160
How to learn Python in 5 Minutes (Daniel Moniz)
pyconca
0
1k
Sunday Morning Keynote (Karen Brennan)
pyconca
0
270
Other Decks in Programming
See All in Programming
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
5
3.8k
Rails アプリ地図考 Flush Cut
makicamel
1
110
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
10
1.8k
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
670
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
230
Conform を推す - Advocating for Conform
mizoguchicoji
3
680
ARA Ansible for the teams
kksat
0
150
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
7
2.5k
Lottieアニメーションをカスタマイズしてみた
tahia910
0
120
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.7k
Introduction to kotlinx.rpc
arawn
0
630
【PHP】破壊的バージョンアップと戦った話〜決断と説得
satoshi256kbyte
0
120
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
630
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
What's in a price? How to price your products and services
michaelherold
244
12k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Speed Design
sergeychernyshev
25
780
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.4k
Being A Developer After 40
akosma
89
590k
Unsuck your backbone
ammeep
669
57k
Building Applications with DynamoDB
mza
93
6.2k
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