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
460
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
140
Other Decks in Programming
See All in Programming
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
100
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
130
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
280
Claude Codeログ基盤の構築
giginet
PRO
7
3.6k
存在論的プログラミング: 時間と存在を記述する
koriym
4
480
安いハードウェアでVulkan
fadis
1
780
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
160
Codex の「自走力」を高める
yorifuji
0
1.3k
へんな働き方
yusukebe
6
2.8k
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
440
モダンOBSプラグイン開発
umireon
0
180
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
180
Featured
See All Featured
Are puppies a ranking factor?
jonoalderson
1
3.2k
Un-Boring Meetings
codingconduct
0
240
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
200
Six Lessons from altMBA
skipperchong
29
4.2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
93
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
85
Building Adaptive Systems
keathley
44
3k
Color Theory Basics | Prateek | Gurzu
gurzu
0
260
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
240
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