JSON
https://events.apifirstcms.org/
en
-
What is JSON_API and how can I use it well
https://events.apifirstcms.org/sessions/presentation-two
<span class="field field--name-title field--type-string field--label-hidden">What is JSON_API and how can I use it well</span>
<span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">office</span></span>
<span class="field field--name-created field--type-created field--label-hidden">Fri, 12/14/2018 - 19:36</span>
<div class="field field--name-field-mt-ses-image field--type-image field--label-hidden field__items">
<div class="images-container clearfix">
<div class="image-preview clearfix">
<div class="image-wrapper clearfix">
<div class="field__item">
<img loading="lazy" src="/sites/default/files/styles/large/public/2019-12/What%20is%20JSON%20API%20and%20how%20can%20I%20use%20it%20well%20-%20YouTube.png?itok=02vr7_mT" width="1110" height="600" alt="What is JSON_API and how can I use it well" typeof="foaf:Image" class="image-style-large" />
</div>
</div>
</div>
</div>
</div>
<div class="clearfix text-formatted field field--name-field-mt-ses-body field--type-text-with-summary field--label-hidden field__item"><h3>Abstract</h3>
<p>presentation PDF<a href="/sites/default/files/event/JSON/What%20is%20JSON_API%20and%20how%20can%20I%20use%20it%20well.pdf"> download here</a></p>
<h4>What is JSON_API and how can I use it well</h4>
<p> You will learn about… JSON API Drupal module Extend it</p>
<p> Stop deciding unimportant things. Start working</p>
<p> Defines: Transport Interaction</p>
<p> Creative Commons specification Strongly driven by FE & UX experts</p>
<p> Why this one? Since there are others, and there is GraphQL as well.</p>
<p> 141 repos 18 languages Client & Server</p>
<p> With a highlight on its flexibility</p>
<p> Response to the typical problems</p>
<p> </p>
<p><strong>1. TRANSPORT FORMAT</strong></p>
<ul><li>Format ID GLUE Data Hypermedia</li>
</ul><p><strong>2. RESOURCE INTERACTION</strong></p>
<ul><li>Uses REST</li>
<li>Typical request</li>
<li>Response to the typical problems</li>
<li>The typical solutions</li>
<li>EXTREMELY SIMPLE Your project will have way more stuff than this!</li>
<li>Resource embedding</li>
<li>Sparse fieldsets</li>
<li>Collections and filters</li>
<li>WRITE URL QUERIES</li>
<li>Every consumer has different data needs. The server (Drupal) cannot choose what those are.</li>
<li>Every resource 4 “endpoints”</li>
</ul><p><strong>3. PERFORMANCE</strong></p>
<ul><li>Benchmarking JSON API</li>
<li>Benchmarking core HAL JSON</li>
<li>Results (core): anonymous</li>
<li>Results (jsonapi): anonymous</li>
<li>AVOID BOOTSTRAPS</li>
</ul><p><strong>4. DRUPAL MODULE</strong></p>
<ul><li>It is in Drupal core!</li>
<li>Oriented to entity bundles</li>
<li>Customize your API with JSON:API Extras</li>
<li>JSON:API cross bundles</li>
<li>JSON:API hypermedia</li>
</ul><p> </p>
<ul><li>Do not have the client app check the product stock API</li>
<li>JSON:API Resources</li>
<li>OpenAPI</li>
</ul></div>
<div class="field field--name-field-mt-ses-files field--type-file field--label-above">
<h4>Content</h4>
<div class="field__items">
<div class="field__item">
<span class="file file--mime-application-pdf file--application-pdf"> <a href="/sites/default/files/2019-12/what-is-jsonapi-and-how-can-i-use-it-well.pdf" type="application/pdf" title="what-is-jsonapi-and-how-can-i-use-it-well.pdf">What is JSON_API and how can I use it well</a></span>
</div>
</div>
</div>
<div class="field field--name-field-mt-ses-video-url field--type-video-embed-field field--label-above">
<div class="field__label">Video URL</div>
<div class="field__items">
<div class="field__item"><div class="video-embed-field-provider-youtube video-embed-field-responsive-video"><iframe width="854" height="480" frameborder="0" allowfullscreen="allowfullscreen" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/NEkKDQljiLw?autoplay=1&start=0&rel=0&mute=1"></iframe>
</div>
</div>
</div>
</div>
<div class="field field--name-field-mt-ses-speaker field--type-entity-reference field--label-hidden field--entity-reference-target-type-node clearfix field__items">
<div class="field__item">
<article data-history-node-id="181" role="article" about="/speakers/mateu-aguilo-bosh" class="node node--type-speaker node--sticky node--view-mode-mt-speaker-node-teaser clearfix">
<div class="node__container">
<div class="node__main-content clearfix">
<header class="node__header">
</header>
<div class="row content views-row">
<div class="order-lg-2 col-lg-6">
<div class="photo-container">
<div class="images-container clearfix">
<div class="image-preview clearfix">
<div class="image-wrapper clearfix">
<div class="field field--name-field-mtt-spk-speaker-photo field--type-image field--label-hidden field__item"> <div class="overlay-container">
<span class="overlay overlay--colored">
<a class="overlay-target-link image-popup" href="/speakers/mateu-aguilo-bosh"></a>
</span>
<img loading="lazy" src="/sites/default/files/styles/mt_member_photo/public/2019-11/Mateu_Aguilo.jpg?itok=ufKSx8uc" width="1300" height="1300" alt="Mateu Aguiló Bosch" typeof="foaf:Image" class="image-style-mt-member-photo" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="order-lg-1 col-lg-6">
<header class="node__header">
<h5 class="mt-0 mb-0">
<a href="/speakers/mateu-aguilo-bosh" rel="bookmark"><span class="field field--name-title field--type-string field--label-hidden">Mateu Aguiló Bosch</span>
</a>
</h5>
</header>
<div class="field field--name-field-mt-spk-subtitle field--type-string field--label-hidden field__item">JSON API developer</div>
<div class="clearfix text-formatted field field--name-field-mt-spk-body field--type-text-with-summary field--label-hidden field__item"><p> </p>
<p>API-First initiative co-coordinator.</p>
<p>Co-maintainer and co-author of Contenta CMS.</p>
<p>at <a href="https://www.drupal.org/u/e0ipso">Drupal.org</a> </p>
<p><a href="https://humanbits.es/">Blog</a></p>
</div>
<ul class="icons-list icons-list--bordered">
<li>
<a target="_blank" href="https://twitter.com/e0ipso">
<i class="fab fa-twitter"></i><span class="sr-only">twitter</span>
</a>
</li>
<li>
<a target="_blank" href="https://www.linkedin.com/in/mateuaguilobosch/">
<i class="fab fa-linkedin"></i><span class="sr-only">linkedin</span>
</a>
</li>
<li>
<a target="_blank" href="https://www.youtube.com/channel/UCL7LYJ25RUyY7rsypFDl_FA">
<i class="fab fa-youtube"></i><span class="sr-only">youtube</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</article>
</div>
</div>
Fri, 14 Dec 2018 10:36:57 +0000
office
157 at https://events.apifirstcms.org