For the practical part of this chapter, we will expose a USDA food description list as entities in our recipe website. We will complete a new module named
usda_remote, which depends on the
remote_entity modules for connection to a remote RESTful service exposing Drupal entities using the
services_entity module. We will only concern ourselves with the client side of this setup.
You will find the
usda_remote module in the
sites/all/modules/customized/usda_remote folder inside the example code you downloaded earlier. The list of files within that folder is as follows:
usda_remote.admin.inc: Contains administration UI code
usda_remote.batch.inc: Batch entity import code
usda_remote.clients.inc: Subclass ...