Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
The joys and pains of using Pyramid
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
PyCon Canada
August 10, 2013
Programming
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The joys and pains of using Pyramid
Éric Araujo & Hadrien David
PyCon Canada
August 10, 2013
More Decks by PyCon Canada
See All by PyCon Canada
Job Security (in Python) (Christopher Neugebauer)
pyconca
2
570
Sad Panda Needs a Hug (Nina Zakharenko)
pyconca
0
520
Shopify Checkout (Chris Saunders)
pyconca
0
270
Saturday Morning BreakfastSerial: Hacking Arduinos in Python (Swift)
pyconca
2
190
Skyfield and 15 Years of Bad APIs (Brandon Rhodes)
pyconca
0
480
Planting Open Source Seeds (Kenneth Reitz)
pyconca
0
190
Why Open Source Works (Alex Gaynor)
pyconca
0
260
How to learn Python in 5 Minutes (Daniel Moniz)
pyconca
0
1.1k
Sunday Morning Keynote (Karen Brennan)
pyconca
0
370
Other Decks in Programming
See All in Programming
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
AWSに止められる覚悟してますか?
morizo_1984
2
540
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
すこし踏み込む CancellationToken
htkym
2
1.7k
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
Railsバージョンを4倍にした話
optim
0
440
sbt 2.0: takeoff
eed3si9n
0
160
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
300
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
180
AmebaブログはKMPから卒業します
kmars0605
0
200
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
Featured
See All Featured
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
830
Faster Mobile Websites
deanohume
310
32k
Accessibility Awareness
sabderemane
1
250
30 Presentation Tips
portentint
PRO
1
430
Crafting Experiences
bethany
1
380
Un-Boring Meetings
codingconduct
0
460
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
420
A Tale of Four Properties
chriscoyier
163
24k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Designing for Performance
lara
612
70k
How to build a perfect <img>
jonoalderson
1
6.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
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