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
Blob URL Scheme
Search
mex-ichikawa
August 28, 2014
Programming
590
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Blob URL Scheme
Tsukiji.front #1 での発表資料です。
デモリンク1:
http://goo.gl/vWp1yN
デモリンク2:
http://goo.gl/5TH7Lc
mex-ichikawa
August 28, 2014
More Decks by mex-ichikawa
See All by mex-ichikawa
Three.js vs Unity5
mex_ichikawa
0
67
WebAudioAPIで(目的の)SE作れなかった話
mex_ichikawa
0
45
Bower + WebComponents
mex_ichikawa
0
45
gulp + React
mex_ichikawa
2
440
Other Decks in Programming
See All in Programming
Are APIs Still Relevant in the AI Era?
soyuka
0
400
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
270
Intent as Code
shoppingjaws
6
1.1k
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.4k
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.4k
The Rails Doctrine Decade
koic
2
460
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.1k
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
430
SREの越境 / SRE Collaboration
y0hgi
2
290
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
330
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
120
Java 27新機能 / Java 27 new features
kishida
2
190
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.2k
Chasing Engaging Ingredients in Design
codingconduct
0
340
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.2k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
320
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
340
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
A designer walks into a library…
pauljervisheath
211
25k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
850
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Transcript
Blob URL Scheme 使ってみたよ 2014/08/28 mex-ichikawa / Tsukiji.front
自己紹介 • mex-ichikawa • プログラマ • Hubot飼いはじめました • 主にエオルゼアに居ます
はじめに 今回は、 Blob URL Scheme というモノのハナシ
まず、URLスキームとは リソースに到達するための 手段を記述したもの
具体的には? http://〜 ftp://〜 itms-apps://〜 ↑な感じでURLの頭に付いてる奴がスキーム
じゃあ、Blob URL Scheme とは URL表記で Blobにアクセスする 手段
…もうちょっと詳しく • スキームは blob: • Blobに対して一時的にURLを発行する • URLを発行したBlobはメモリに常駐する • URLは完全ランダム
• ブラウザ対応はwindow.URLをチェック (対応ブラウザ:http://goo.gl/09LIIL)
Blob URL Scheme の作成 window.URL.createObjectURL({blob,file})
実際に作ってみる DEMO URL発行デモ
で、何に使うの? わからん。 …けど、動的に生成したリソースに 静的リソースと同じ手段でアクセスできる
利用ケースを模索(1) DEMO アップロード画像のプレビュー
利用ケースを模索(2) DEMO Workerスクリプトの動的生成
Blob URL Schemeの使いドコロ • 動的に生成したリソースやローカルファイルを簡 単に扱えるようにできる • サーバに依存しないWebツールとか • Data
URL Schemeより効率いい場面があるの で使い分けて • 派手さはないけど、地味に便利なのでたまに思 い出して下さい。。。
終わり! ありがとうございました