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
440
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
CSC305 Lecture 03
javiergs
PRO
0
230
iOS 17で追加されたSubscriptionStoreView を利用して5分でサブスク実装チャレンジ
natmark
0
590
私はどうやって技術力を上げたのか
yusukebe
43
17k
育てるアーキテクチャ:戦い抜くPythonマイクロサービスの設計と進化戦略
fujidomoe
1
150
クラシルを支える技術と組織
rakutek
0
190
ИИ-Агенты в каждый дом – Алексей Порядин, PythoNN
sobolevn
0
150
Web技術を最大限活用してRAW画像を現像する / Developing RAW Images on the Web
ssssota
2
1.2k
Advance Your Career with Open Source
ivargrimstad
0
340
Conquering Massive Traffic Spikes in Ruby Applications with Pitchfork
riseshia
0
150
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
130
CSC509 Lecture 06
javiergs
PRO
0
240
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
520
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
139
7.1k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
For a Future-Friendly Web
brad_frost
180
9.9k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Why Our Code Smells
bkeepers
PRO
339
57k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
How GitHub (no longer) Works
holman
315
140k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
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