Skip to content

Commit

Permalink
added the entities slide content
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Anderson committed Mar 17, 2017
1 parent b16903c commit 1b1b0b3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions content/appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[Why the big architectural changes in Drupal 8 - Dries, 2013](http://buytaert.net/why-the-big-architectural-changes-in-drupal-8)
[The pain before the pay-off - Dries, 2013](http://buytaert.net/why-the-big-architectural-changes-in-drupal-8)
- Entities
[Drupal Fields or Properties](http://www.drupalonwindows.com/en/blog/drupal-fields-or-properties-or-something-else)
- Modern Drupal 7 site building
- Custom LMS Drupal 7 architecture
- Features
Expand Down
24 changes: 24 additions & 0 deletions content/slide-04.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
- Entities are things in Drupal
- Drupal 6 custom things where nodes or custom
- Drupal 7 the entity-field system brought the CCK into core without making everything a node
- Users, Taxonomy Terms, and Nodes, are all Entities
- A bundle is a collection of fields instances on an Entity
- A field instance is a place for complex data in a Entity Bundle
- A property is simple storage for Entity level data
- Properties are linked to an Entity, such as Node. Fields are linked to the Bundle, such as Content Type.
- Properties are stored on the entity's table and fields are stored in their own table.
- Not all content should entities, fields, or properties. Sometimes a table should just be a table. - BTMash
---

### Entities

Entities are things in Drupal; things do not have to be nodes.

- A bundle is a collection of fields instances on an Entity
- A field instance is a place for complex data in a Entity Bundle
- A property is simple storage for Entity level data

Properties are linked to an Entity, such as Node. Fields are linked to the Bundle, such as Content Type.

Properties are stored on the entity's table and fields are stored in their own table.
4 changes: 2 additions & 2 deletions outline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- slide-01.md # - Outline
- slide-02.md # - Prolog
- slide-03.md # - Basic Drupal architecture
# - Entities
- slide-04.md # - Entities
# - Modern Drupal 7 site building
# - Custom LMS Drupal 7 architecture
# - Features
Expand All @@ -19,4 +19,4 @@
# - Development
# - Content strategy
# - Conclusion
# - Apendix
# - Appendix

0 comments on commit 1b1b0b3

Please sign in to comment.