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
Des API web robustes avec les JSON Schemas
Search
Nicolas Chambrier
November 29, 2012
Programming
0
430
Des API web robustes avec les JSON Schemas
Retrouvez la démo sur Github :
https://github.com/naholyr/demo-json-schema
Nicolas Chambrier
November 29, 2012
Tweet
Share
More Decks by Nicolas Chambrier
See All by Nicolas Chambrier
BlendWebMix '14 - Streams Node.js
naholyr
1
130
Other Decks in Programming
See All in Programming
「理解」を重視したAI活用開発
fast_doctor
0
310
“技術カンファレンスで何か変わる?” ──RubyKaigi後の自分とチームを振り返る
ssagara00
0
120
Browser and UI #2 HTML/ARIA
ken7253
2
180
音声プラットフォームのアーキテクチャ変遷から学ぶ、クラウドネイティブなバッチ処理 (20250422_CNDS2025_Batch_Architecture)
thousanda
0
430
監視 やばい
syossan27
12
10k
複雑なフォームの jotai 設計 / Designing jotai(state) for Complex Forms #layerx_frontend
izumin5210
6
1.6k
マイコンでもRustのtestがしたい/KernelVM Kansai 11
tnishinaga
1
910
Jakarta EE Meets AI
ivargrimstad
0
960
KANNA Android の技術的課題と取り組み
watabee
1
560
2025-04-25 GitHub Copilot Agent ライブデモ(スクリプト)
goataka
0
120
バイラテラルアップサンプリング
fadis
3
580
20250426 GDGoC 合同新歓 - GDGoC のススメ
getty708
0
120
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
38
1.8k
Automating Front-end Workflow
addyosmani
1370
200k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Being A Developer After 40
akosma
91
590k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
34
2.2k
Speed Design
sergeychernyshev
29
940
Designing for Performance
lara
608
69k
Designing Experiences People Love
moore
142
24k
Transcript
Des APIs Web Robustes Grâce aux JSON Schemas
Nicolas Chambrier (@naholyr) Expert technique, développeur PHP/Node Antoine Hérault (@Herzult)
Consultant développeur chez &
Bien plus qu'une application
XML
JSON
Equipe Mobile Equipe API Organisation
Description de l'API Méthodes Ressources
Ben les gars, restez sur XML, ya les outils pour
ça !
Les Schémas JSON
Les Schémas JSON : références … …
Génération de la DOC « A Node.js build tool for generating
HTML documentation from JSON schemas. » "npm is the new apt-get" ;) • Créer ses templates • " " • Done !
Validation Démo de validation en ligne de commande • Des
messages d'erreur clairs • Utiles à l'utilisateur et/ou à la machine
Et dans la vraie vie ? • Google API Discovery •
Composer configuration • Idées : ◦ Générer des formulaires depuis les schémas ◦ Offrir au client de quoi faire une vraie validation
Implémentations • Java • PHP • JavaScript • Python •
Ruby • … • Faire communiquer des services entre eux basés sur JSON Schema
HATEOAS Richardson Maturity Model
HATEOAS
Démo ! Validation côté client automatisée