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
Django Boston - 2011
Search
daniellindsley
February 01, 2012
Technology
4
260
Django Boston - 2011
A quick (but not so quick IRL) introduction to Haystack & Tastypie.
daniellindsley
February 01, 2012
Tweet
Share
More Decks by daniellindsley
See All by daniellindsley
The Unenviable Tutorial
daniellindsley
3
95
The March To 3
daniellindsley
1
120
How (Not) To Build An OSS Community
daniellindsley
1
230
Avoiding The Search Hall Of Shame
daniellindsley
3
390
API Design Tips
daniellindsley
14
3.8k
Building A Python-based Search Engine
daniellindsley
20
2.5k
RESTful APIs with Tastypie
daniellindsley
19
2.8k
Getting The Most Out Of Haystack
daniellindsley
5
220
Other Decks in Technology
See All in Technology
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
1
240
バックエンドエンジニアのためのフロントエンド入門 #devsumiC
panda_program
16
6.5k
アジャイル開発とスクラム
araihara
0
160
インフラをつくるとはどういうことなのか、 あるいはPlatform Engineeringについて
nwiizo
5
2.1k
Datadog APM におけるトレース収集の流れ及び Retention Filters のはなし / datadog-apm-trace-retention-filters
k6s4i53rx
0
320
データ基盤の成長を加速させる:アイスタイルにおける挑戦と教訓
tsuda7
3
650
Ask! NIKKEIの運用基盤と改善に向けた取り組み / NIKKEI TECH TALK #30
kaitomajima
1
450
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
57k
君はPostScriptなウィンドウシステム 「NeWS」をご存知か?/sunnews
koyhoge
0
720
リアルタイム分析データベースで実現する SQLベースのオブザーバビリティ
mikimatsumoto
0
950
事業継続を支える自動テストの考え方
tsuemura
0
300
APIファーストで実現する運用性の高い IoT プラットフォーム: SORACOMのアプローチ
soracom
PRO
0
240
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Optimizing for Happiness
mojombo
376
70k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
240
How to Think Like a Performance Engineer
csswizardry
22
1.3k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
630
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.6k
Fireside Chat
paigeccino
34
3.2k
Transcript
None
Hi.
I’m Daniel.
I run Toast Driven.
Haystack http://haystacksearch.org/
What’s Haystack? • Pluggable backends • Solr, Elasticsearch, Whoosh, Xapian
• Advanced features • Faceting, More Like This, Spatial • Looks/feels like Django’s API
How so? • SearchIndex looks like a Form:
None
No, squint harder.
How so? • SearchQuerySet looks like QuerySet
Why?
Why? Don’t Make Me Think
Why? Don’t Make Me Think
Demo-Time.
So that’s Haystack.
So that’s Haystack.
Now for something a little different...
Tastypie http://tastypieapi.org/
What Is Tastypie? • A REST framework for Django •
Extension by Design • Models (but not just Models) • Proper use of HTTP • Ideal for CRUD operations & beyond
Pie?
Pie? Pie? Pie? Pie? Pie? Pie? Pie? Pie?
He can’t haz. But you can!
Define A Resource
Hook Up The URLconf
Done.
What’d You Get? • Full GET / POST / PUT
/ DELETE / PATCH • Serialized in JSON / XML / YAML / bplist • Authentication • Filtering • Discovery Views • And more!
Demo-time.
HTTP 418
I’m Daniel Lindsley of Toast Driven @toastdriven http://toastdriven.com/
Photos: http://www.flickr.com/photos/strangejourney/3175383671/ http://www.peachpit.com/ShowCover.aspx?isbn=0321344758 http://corgiaddict.com/post/14272461379 http://www.flickr.com/photos/57928359@N08/5328229600/