Content related to entity metadata wrapper http://arad2012.drupalcamp.ro/taxonomy/term/254/all en Entities in Drupal 7 http://arad2012.drupalcamp.ro/sessions/entities-in-drupal-7 <div class="field field-type-number-integer field-field-level"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Knowledge level:&nbsp;</div> Intermediate </div> </div> </div> <div class="field field-type-number-integer field-field-track"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Track:&nbsp;</div> Coding and Development </div> </div> </div> <div class="field field-type-text field-field-language"> <div class="field-items"> <div class="field-item odd"> <div class="field-label-inline-first"> Language:&nbsp;</div> English </div> </div> </div> <p>In Drupal 6 everything was a node, the latest Drupal introduced the concept of entities. Some of the features aren't used yet in the Drupal core. For example the node is missing its entity class, taxonomies still saved with drupal_write_record, etc.</p> <p>I will present how to use entities to really benefit from them in a project. The presented topics will be:</p> <ul> <li>how to declare an entity?</li> <li>entity properties and fieldable entities</li> <li>what is the entity class?</li> <li>what is the entity controller class?</li> <li>examples of using entity metadata wrapper</li> <li>why to use entity field query instead db_select</li> </ul> <p>All of the above topics will be presented with real life examples in a few lines of code.</p><div class="field field-type-link field-field-slide"> <div class="field-label">Resources:&nbsp;</div> <div class="field-items"> <div class="field-item odd"> <a href="http://www.slideshare.net/skipyT/entities-in-drupal-7" target="_blank">Slideshare.net</a> </div> </div> </div> entity entity API entity class entity field query entity metadata wrapper entiy controller Tue, 16 Oct 2012 12:01:57 +0000 skipyT 1297 at http://arad2012.drupalcamp.ro