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
140
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
490
Sad Panda Needs a Hug (Nina Zakharenko)
pyconca
0
380
Shopify Checkout (Chris Saunders)
pyconca
0
170
Saturday Morning BreakfastSerial: Hacking Arduinos in Python (Swift)
pyconca
2
110
Skyfield and 15 Years of Bad APIs (Brandon Rhodes)
pyconca
0
320
Planting Open Source Seeds (Kenneth Reitz)
pyconca
0
82
Why Open Source Works (Alex Gaynor)
pyconca
0
130
How to learn Python in 5 Minutes (Daniel Moniz)
pyconca
0
980
Sunday Morning Keynote (Karen Brennan)
pyconca
0
220
Other Decks in Programming
See All in Programming
LPIXEL×CADDi_kaerururu
kaerururu
3
300
ファイル先頭の use の意味、説明できますか? 〜PHP の namespace と autoloading の関係を正しく理解しよう〜 / namespace and autoloading in php
okashoi
2
470
とにかくHTTP3をライトニングに話す / Anyway, I'll talk to Lightning about HTTP3.
seike460
PRO
0
120
TDDと今まで
kanayannet
0
140
Migrating to Signals: A Practical Workshop
manfredsteyer
PRO
0
280
SwiftUI, Jetpack Composeの導入で変化した「家族アルバム みてね」のアプリ開発体験
hicka04
6
400
Cloud RunとCloud PubSubでサーバレスなデータ基盤2024 with Terraform / Cloud Run and PubSub with Terraform
shinyorke
7
1.9k
Introduction for Open Source Swift Workshop
giginet
PRO
0
290
決断するための勇気、そのためのBacklog / Courage to make decisions, Backlog for that.
seike460
PRO
4
1.9k
Go1.22からの疑似乱数生成器について/go-122-pseudo-random-generator
convto
1
160
htmx is fun!
codehex
2
190
DocC Tutorial と TCA におけるテスト機能の紹介
kalupas226
1
330
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1023
450k
The Pragmatic Product Professional
lauravandoore
24
5.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.8k
Optimizing for Happiness
mojombo
369
69k
Gamification - CAS2011
davidbonilla
76
4.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
397
65k
The Cost Of JavaScript in 2023
addyosmani
13
3.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
242
20k
Fontdeck: Realign not Redesign
paulrobertlloyd
75
4.8k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
1
3.3k
Code Review Best Practice
trishagee
54
15k
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