Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Hypermicrodata Client
Search
Kunihiko Ito
November 29, 2014
Programming
0
74
Hypermicrodata Client
TokyuRuby会議08 の "Hypermicrodata Client" の発表資料
Kunihiko Ito
November 29, 2014
Tweet
Share
More Decks by Kunihiko Ito
See All by Kunihiko Ito
データでふりかえるToyama.rb #100 2024
kunitoo
0
39
富山Ruby会議01 をふりかえる
kunitoo
0
54
Using Ractor
kunitoo
0
160
introduction neo4j
kunitoo
0
150
vim operation and my hotkey
kunitoo
0
160
Introduction Neo4j oblove calendar
kunitoo
0
1.4k
アジャイルソフトウェア開発の概要と現場での実践
kunitoo
0
2.1k
Introduction of neo4j
kunitoo
0
1.9k
Ruby 2.3 のてざわり
kunitoo
2
470
Other Decks in Programming
See All in Programming
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
110
AIコーディングエージェント(NotebookLM)
kondai24
0
220
SwiftUIで本格音ゲー実装してみた
hypebeans
0
490
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
3
1.3k
AIコーディングエージェント(Gemini)
kondai24
0
270
JETLS.jl ─ A New Language Server for Julia
abap34
2
440
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
170
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
0
160
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.4k
AIエンジニアリングのご紹介 / Introduction to AI Engineering
rkaga
8
3.3k
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
410
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
140
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
0
1.8k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
1.9k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Ethics towards AI in product and experience design
skipperchong
1
140
RailsConf 2023
tenderlove
30
1.3k
Reality Check: Gamification 10 Years Later
codingconduct
0
1.9k
The Cult of Friendly URLs
andyhume
79
6.7k
Tell your own story through comics
letsgokoyo
0
760
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
0
130
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
400
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
Transcript
Hypermicrodat a client Kunihiko Ito 永和システムマネジメント
はじめに Ruby Kaigi 2014 参加しました?
今日話すこと Ruby Kaigi 2014 で感じたこと 試してみたこと
参加しました? Hypermedia: The Missing Element to Building Adaptable Web APIs
in Rails
聞いていない方 Video: http:// rubykaigi.org/2014/ presentation/S- ToruKawamura
はじめまして 初参加 Kunihiko Ito @kunitoo
概要 Hypermedia: The Missing Element to Building Adaptable Web APIs
in Rails 疎結合なAPI 状態遷移をレスポンスに含める 設計 WEB API
hypermicrodata HTMLをJSONに変換 HTMLから抽出 mirodata リンク フォーム
あらためて Video: http:// rubykaigi.org/2014/ presentation/S- ToruKawamura
感じたこと サーバは簡単に作成できそう クライアント難しくなりそう
実際に作ってみよう! rails g scaffold User name email view に microdata
を付加
show.html.haml .person{itemscope: true, itemtype: 'http://schema.org/Person', itemid: users_url(@user), data: {main_item: true}}
.media .media-body %p#notice= notice %p %strong Name: %span{itemprop: 'name'}= @user.name %p %strong Email: %span{itemprop: 'email'}= @user.email = link_to 'Edit', edit_user_path(@user), rel: 'edit' | \#{link_to 'Back', users_path, rel: 'collection', itemprop: 'isPartOf'}
uber+json { "uber":{ "version":"1.0", "data":[ { "url":"http://localhost:3000/users.1", "name":"Person", "data":[ {
"name":"name", "value":"Kunihiko Ito" }, { "name":"email", "value":"
[email protected]
" }, { "name":"isPartOf", "rel":"collection", "url":"/users" }, { "rel":"edit", "url":"/users/1/edit" } ] } ] } }
アイディア クライアントが hypermicrodata と 同じルールで読みとれれば 簡単に作れるようになるのでは?
やってみて microdata の付加が難しい http://schema.org/ メタ的に考える必要がある もっとデフォルトでできるとう れしい
hypermicrodata client みなさんも挑戦してみて下さい