Commanding Chaos for Coworking, Open Source and Creative Communities

api

Entity CRUD, editing, and view hooks | entity.api.php | Drupal 8.2.x | Drupal API

Thu, 10/20/2016 - 13:34 -- rprice

Entity create, read, update, and delete (CRUD) operations are performed by entity storage classes; see the Entity API topic for more information. Most entities use or extend the default classes: \Drupal\Core\Entity\Sql\SqlContentEntityStorage for content entities, and \Drupal\Core\Config\Entity\ConfigEntityStorage for configuration entities. For these entities, there is a set of hooks that is invoked for each CRUD operation, which module developers can implement to affect these operations; these hooks are actually invoked from methods on \Drupal\Core\Entity\EntityStorageBase.

drupaleasypodcast
api
drupal8
documentation
node

GraphQL Meets Drupal | Mediacurrent

Thu, 07/21/2016 - 19:43 -- rprice

whilst traditional REST is the more popular approach for fetching data, it may not be the best in solving many of the problems of handling hierarchical data. In comes GraphQL, a database querying language built by Facebook, to solve the limitations of REST - which may include overfetching, under fetching, multiple round-trips, and versioning issues.

drupaleasypodcast
drupal8
api
views

GraphQL Meets Drupal | Mediacurrent

Thu, 07/21/2016 - 19:43 -- rprice

whilst traditional REST is the more popular approach for fetching data, it may not be the best in solving many of the problems of handling hierarchical data. In comes GraphQL, a database querying language built by Facebook, to solve the limitations of REST - which may include overfetching, under fetching, multiple round-trips, and versioning issues.

drupaleasypodcast
drupal8
api
views

Entity Query API | Drupal.org

Thu, 05/05/2016 - 12:15 -- rprice

Entity Query API fills the gap between Drupal 8's built-in RESTful Services and Views with an easy to use, out-of-the-box means for loading, filtering and paging entities in a RESTful style. Essentially, this module provides an API to the Entity QueryInterface.

Any enabled entity gets an endpoint at /entity/{entity_type} which responds to GET requests.

You can apply conditions, sorts, and ranges to your query for the given entity type.

drupaleasypodcast
api
rest
entity
services

Entity Query API | Drupal.org

Thu, 05/05/2016 - 12:15 -- rprice

Entity Query API fills the gap between Drupal 8's built-in RESTful Services and Views with an easy to use, out-of-the-box means for loading, filtering and paging entities in a RESTful style. Essentially, this module provides an API to the Entity QueryInterface.

Any enabled entity gets an endpoint at /entity/{entity_type} which responds to GET requests.

You can apply conditions, sorts, and ranges to your query for the given entity type.

drupaleasypodcast
api
rest
entity
services

JSON API - About

Wed, 08/19/2015 - 13:07 -- rprice

Some servers, like Firebase, Parse and CouchDB already define strict communication protocols for clients, and were good fits for Ember Data. In contrast, servers written in Rails, Node, and Django tend to be written in a "REST-style" but lack the precision necessary for drop-in client code. The REST Adapter in Ember Data implicitly defined a protocol that custom servers could implement to get a drop-in client for all of their resources.

api
data
javascript

JSON API - About

Wed, 08/19/2015 - 13:07 -- rprice

Some servers, like Firebase, Parse and CouchDB already define strict communication protocols for clients, and were good fits for Ember Data. In contrast, servers written in Rails, Node, and Django tend to be written in a "REST-style" but lack the precision necessary for drop-in client code. The REST Adapter in Ember Data implicitly defined a protocol that custom servers could implement to get a drop-in client for all of their resources.

api
data
javascript

Replicate | Drupal.org

Mon, 09/08/2014 - 17:07 -- rprice

Replicate provides a main cloning function, along with several hooks to control exactly how a field is duplicated based on its type, add info after cloning, and supports custom fields and entities. It is intended to developers and does not contain any GUI (for the moment anyway). The goal is to provide a way to easily clone any entity, and to allow developers to be able to control exactly how entities are replicated, based on their type or the fields they contain, and to be able to easily extend the replication control to custom fields or entities.

drupaleasypodcast
modules
api

Pages

Subscribe to RSS - api