The Manchester College
Amazon cover image
Image from Amazon.com

Programming Drupal 7 entities / Sammy Spets.

By: Series: Community experience distilled | Community experience distilledPublication details: [Place of publication not identified] : Packt Publishing, 2013 ; [Place of publication not identified] : Packt Publishing.Description: 1 online resource. $a<length>ISBN:
  • 9781782166535
  • 9781299711792
  • 9781782166528
Online resources:
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Understanding Entities; Introducing entities; Entity and solution modules; Introducing entity types, bundles, and fields; Types; Bundles; Fields; Drupal core entity structure; Powerful entity use cases; User profiles; Internationalization; Commerce products; Our use case; Summary; Chapter 2: Developing with Entity Metadata Wrappers; Introducing entity metadata wrappers; Creating an entity metadata wrapper object; Standard entity properties; Entity introspection.
Using an entity metadata wrapperCreate; Drush commands; Code snippet; Retrieve; Drush commands; Code snippet; Update; Drush commands; Code snippet; Delete; Drush commands; Code snippet; Safely using text property values; Self-imposed limitation of entity programming; References; A note about EntityFieldQuery; Summary; Chapter 3: Developing with Non-fieldable Entities; What are non-fieldable entities?; File entities; Vocabulary entities; Recipe site vocabularies; Summary; Chapter 4: Developing with Fieldable Entities; What are fieldable entities?; Node entities; Comment entities; Term entities.
Attaching a field collection to a content typeExporting field collection and fields; Copying the code to therecipe module; Tweaking recipe.module; Updating code is unnecessary; Summary; Chapter 7: Expose Local Entities; Motivation for exposing entities; Fast track your data exposure; Allow fields on your entity; Give it multiple bundles; Administration interface and exportability; Storing bundle information; Exposing bundle information and handling access rights; Adding the support code; Summary; Chapter 8: Expose Remote Entities; Introducing the Remote Entity API.
Requirements for exposing remote entitiesImplementing remote entity exposure; Database schema; Connection code; Remote query code; Entity exposure code; Entity metadata API integration; Import and administration code; Running; Adding write support; Customization for your use case; Summary; Index.
Abstract: Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Understanding Entities; Introducing entities; Entity and solution modules; Introducing entity types, bundles, and fields; Types; Bundles; Fields; Drupal core entity structure; Powerful entity use cases; User profiles; Internationalization; Commerce products; Our use case; Summary; Chapter 2: Developing with Entity Metadata Wrappers; Introducing entity metadata wrappers; Creating an entity metadata wrapper object; Standard entity properties; Entity introspectionUsing an entity metadata wrapperCreate; Drush commands; Code snippet; Retrieve; Drush commands; Code snippet; Update; Drush commands; Code snippet; Delete; Drush commands; Code snippet; Safely using text property values; Self-imposed limitation of entity programming; References; A note about EntityFieldQuery; Summary; Chapter 3: Developing with Non-fieldable Entities; What are non-fieldable entities?; File en ...Summary: The book follows a standard tutorial-based approach to create, retrieve, update, and delete Drupal 7 entities, their properties and fields. Programming Drupal 7 Entities is perfect for intermediate or advanced developers new to Drupal entity development who are looking to get a good grounding in how to code using the new paradigm. It's assumed that you will have some experience in PHP development already, and being vaguely familiar with Drupal, GIT, and Drush will also help.
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
No physical items for this record

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Understanding Entities; Introducing entities; Entity and solution modules; Introducing entity types, bundles, and fields; Types; Bundles; Fields; Drupal core entity structure; Powerful entity use cases; User profiles; Internationalization; Commerce products; Our use case; Summary; Chapter 2: Developing with Entity Metadata Wrappers; Introducing entity metadata wrappers; Creating an entity metadata wrapper object; Standard entity properties; Entity introspection.

Using an entity metadata wrapperCreate; Drush commands; Code snippet; Retrieve; Drush commands; Code snippet; Update; Drush commands; Code snippet; Delete; Drush commands; Code snippet; Safely using text property values; Self-imposed limitation of entity programming; References; A note about EntityFieldQuery; Summary; Chapter 3: Developing with Non-fieldable Entities; What are non-fieldable entities?; File entities; Vocabulary entities; Recipe site vocabularies; Summary; Chapter 4: Developing with Fieldable Entities; What are fieldable entities?; Node entities; Comment entities; Term entities.

Attaching a field collection to a content typeExporting field collection and fields; Copying the code to therecipe module; Tweaking recipe.module; Updating code is unnecessary; Summary; Chapter 7: Expose Local Entities; Motivation for exposing entities; Fast track your data exposure; Allow fields on your entity; Give it multiple bundles; Administration interface and exportability; Storing bundle information; Exposing bundle information and handling access rights; Adding the support code; Summary; Chapter 8: Expose Remote Entities; Introducing the Remote Entity API.

Requirements for exposing remote entitiesImplementing remote entity exposure; Database schema; Connection code; Remote query code; Entity exposure code; Entity metadata API integration; Import and administration code; Running; Adding write support; Customization for your use case; Summary; Index.

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Understanding Entities; Introducing entities; Entity and solution modules; Introducing entity types, bundles, and fields; Types; Bundles; Fields; Drupal core entity structure; Powerful entity use cases; User profiles; Internationalization; Commerce products; Our use case; Summary; Chapter 2: Developing with Entity Metadata Wrappers; Introducing entity metadata wrappers; Creating an entity metadata wrapper object; Standard entity properties; Entity introspectionUsing an entity metadata wrapperCreate; Drush commands; Code snippet; Retrieve; Drush commands; Code snippet; Update; Drush commands; Code snippet; Delete; Drush commands; Code snippet; Safely using text property values; Self-imposed limitation of entity programming; References; A note about EntityFieldQuery; Summary; Chapter 3: Developing with Non-fieldable Entities; What are non-fieldable entities?; File en ...

The book follows a standard tutorial-based approach to create, retrieve, update, and delete Drupal 7 entities, their properties and fields. Programming Drupal 7 Entities is perfect for intermediate or advanced developers new to Drupal entity development who are looking to get a good grounding in how to code using the new paradigm. It's assumed that you will have some experience in PHP development already, and being vaguely familiar with Drupal, GIT, and Drush will also help.

There are no comments on this title.

to post a comment.