![Page 1: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/1.jpg)
Build your Chunks!
@adellefrank (adellefrank.com)
2014 November 8
#BadCamp
Explain real life to Drupal
in its own Words
![Page 2: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/2.jpg)
2
The Great Wall of Web: humans & machines
![Page 3: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/3.jpg)
3
Ambassador to Drupal Land = You!
+
![Page 4: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/4.jpg)
4
Our Ambassadors: Those who Build
![Page 5: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/5.jpg)
5
Why Chunks? We ARE Team Chunk!
http://karenmcgrane.com/2013/05/23/drup
alcon-keynote-video-and-talk-notes/
"It’s a war of blobs
versus chunks:
sloppy blobs of where
there’s no distinction
between content & form
VS.
clean, flexible,
presentation-
independent chunks.”
![Page 6: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/6.jpg)
6
2 Kingdoms in Drupal Land
![Page 7: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/7.jpg)
7
Confusing Jargon
![Page 8: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/8.jpg)
8
Exploring some Words from Drupal Land
Menu
![Page 9: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/9.jpg)
9
Layout: SHOW me the chunks!
• Theme = Design ALL the things (appearance)
– Page (vs. “Basic Page” in D7) = Visible Layout
(within <body/>)
– Region = Sections/Areas/Parts (of the Layout)
• Specific pieces of content are key to layout
– Block = content-having box, inside a Region
– View = lists or other ways to Show content (how
related to view mode?)
![Page 10: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/10.jpg)
10
Find the Layout Chunks
![Page 11: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/11.jpg)
11
Entity: the Ultimate Idea Container
• Entity = container for an abstract idea or concept in
Drupal (not just content, in D8 are config, too).
• Why you should care about this word you almost
never see in the Admin Interface?:
– Helps to evaluate modules
– Can explain confusing behavior (i.e. Views &
entity types sharing same base table)
• Best explanation = Nerd Summit
![Page 12: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/12.jpg)
12
When Entities are Content Chunks
• Field = small chunk of data attached to entities
• Bundle = named group of fields ( “Article”, “Categories”).
• Entity Type = larger idea to which bundles are attached
(“node”, “taxonomy vocabulary”, “user”), is usually a “chunk
with fields” & may let you add more fields (6 in D7, 37 in D8).
• Content type = Node type bundle = Add fields + Title.
• A Specific Node or Entity = an instance = my dog Jasper
• Acquia has comparison lists of entity types in D7 vs. D8.
![Page 13: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/13.jpg)
13
Entity/Content Map
CONCEPT EXAMPLES
Entity Type Node (also re: Layout), Taxonomy vocabulary,
Taxonomy term, User, File, Comment (More in D8)
Bundle User, Article, Basic Page, Blog Categories, E-
Commerce Shirts
Field Machine name, Text box, Phone number, File
Description, Text area, List of color choices or
Categories
Specific Instance “Drupal” Tag, “About Us”, Drupal Association collared
shirt
Mostly, we focus on Bundle (think Content Type)
and below.
![Page 14: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/14.jpg)
14
Find Content Chunks: Fields
![Page 15: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/15.jpg)
15
Find Content Chunks: Bundle/Type
![Page 16: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/16.jpg)
16
The Chunks strike back: Field & Type
![Page 17: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/17.jpg)
17
Menu: Really Important Chunk!
• More than just navigation…the “path” in your web
address can control all sorts of things in Drupal.
![Page 18: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/18.jpg)
18
More Words? Questions?
A BIG THANKS to alimac & YesCT &
Everybody who shared their ideas
with me for this presentation!!
![Page 19: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/19.jpg)
19
Photo credits
• Drupalbot’s body from http://pixabay.com/p-
312208/?no_redirect
• Tiny robot
from https://openclipart.org/detail/191072/blue-robot-by-
scout-191072
• People from https://openclipart.org/detail/74179
• Wall from http://www.geograph.org.uk/photo/886732
• Ribbon from http://pixabay.com/en/award-ribbon-rosette-
blue-161090/
• Parchment from http://pixabay.com/en/scroll-paper-old-
map-parchment-34696/
![Page 20: Build your Chunks! Explain real life to Drupal in its own Words (at BADCamp 2014)](https://reader036.vdocument.in/reader036/viewer/2022070323/5595b08b1a28ab3c568b4626/html5/thumbnails/20.jpg)
20
Bibliography
• http://vimeo.com/109630931
• https://www.drupal.org/documentation/concepts
• https://www.drupal.org/getting-started/before/overview
• https://nerdsummit.org/nerdsummit-2014/sessions/entities-bundles-and-
fields-you-need-understand
– https://www.youtube.com/watch?v=ua5nr2Txd1o
• http://www.slideshare.net/AcquiaInc/drupal-8-preview
• https://www.drupal.org/glossary
• https://groups.drupal.org/files/Drupal%207%20Entities_0.pdf
• https://www.drupal.org/node/19828
• http://web.archive.org/web/20130214070437/http://druvision.com/content/dr
upal-information-architecture
• https://www.drupal.org/developing/api/entity
• https://api.drupal.org/api/drupal/8
• https://www.youtube.com/watch?v=ua5nr2Txd1o