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
400
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
350
Planting Open Source Seeds (Kenneth Reitz)
pyconca
0
95
Why Open Source Works (Alex Gaynor)
pyconca
0
150
How to learn Python in 5 Minutes (Daniel Moniz)
pyconca
0
1k
Sunday Morning Keynote (Karen Brennan)
pyconca
0
250
Other Decks in Programming
See All in Programming
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
330
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
100
CSC509 Lecture 12
javiergs
PRO
0
160
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
100
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
Jakarta EE meets AI
ivargrimstad
0
150
イベント駆動で成長して委員会
happymana
1
320
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
Featured
See All Featured
Writing Fast Ruby
sferik
627
61k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
Building Your Own Lightsaber
phodgson
103
6.1k
KATA
mclloyd
29
14k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
A Tale of Four Properties
chriscoyier
156
23k
How to train your dragon (web standard)
notwaldorf
88
5.7k
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