april 2016 - usg web tech day - let's talk drupal
TRANSCRIPT
![Page 1: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/1.jpg)
DrupalL E T ’ S T A L K
O B J E C T - O R I E N T E D C M S D E S I G N
![Page 2: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/2.jpg)
aboutC R E D E N T I A L S , E X P E R I E N C E , P A S S I O N
![Page 3: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/3.jpg)
Eric SembratWeb ManagerGeorgia Institute of Technology - College of Engineering Ph.D. StudentGeorgia State University - Learning Technologies Division
PresidentAtlanta Drupal Users Group
Vice PresidentGeorgia Tech Drupal Users Group
nerd extraordinaire
![Page 4: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/4.jpg)
gameplanT O P I C S , S E C T I O N S , D I S C U S S I O N
![Page 5: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/5.jpg)
![Page 6: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/6.jpg)
HISTORY
![Page 7: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/7.jpg)
HISTORYDATA
OVERVIEW
![Page 8: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/8.jpg)
HISTORYDATA
OVERVIEWDATA
DETAIL
![Page 9: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/9.jpg)
PIECING TOGETHERHISTORY
DATA OVERVIEW
DATA DETAIL
![Page 10: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/10.jpg)
![Page 11: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/11.jpg)
lil’ historyA L O O K B A C K I N T I M E
![Page 12: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/12.jpg)
![Page 13: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/13.jpg)
overviewT H E L E G O P I E C E S O F D R U P A L
![Page 14: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/14.jpg)
Fields
Views
Entities
Nodes Taxonomies
![Page 15: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/15.jpg)
Fields
Entities
Nodes
Views
Taxonomies
![Page 16: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/16.jpg)
Fields
Entities
Nodes
Views
TaxonomiesWebsite Data
![Page 17: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/17.jpg)
Fields
Entities
Nodes
Views
Taxonomies
![Page 18: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/18.jpg)
Fields
Entities
Nodes
Views
Taxonomies
Data Object
![Page 19: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/19.jpg)
Fields
Entities
Nodes
Views
Taxonomies
![Page 20: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/20.jpg)
Fields
Entities
Nodes
Views
Taxonomies
Data Display
![Page 21: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/21.jpg)
fieldsA L O O K B A C K I N T I M E
![Page 22: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/22.jpg)
fieldsFields are building blocks of your website.Individual pieces of data (text field, image, wysiwyg field, file upload). Operate as micro-widgets on data structures.
Fields are reusable and configurable.Can be reused for multiple data structures.
Let’s consider an example.A real world example of how fields are used.
![Page 23: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/23.jpg)
What fields make up this slideshow entry?Let’s break up the slideshow into its individual pieces.
![Page 24: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/24.jpg)
What fields make up this slideshow entry?Let’s break up the slideshow into its individual pieces.
![Page 25: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/25.jpg)
What fields make up this slideshow entry?Let’s break up the slideshow into its individual pieces.
![Page 26: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/26.jpg)
What fields make up this slideshow entry?Let’s break up the slideshow into its individual pieces.
![Page 27: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/27.jpg)
What fields make up this slideshow entry?Let’s break up the slideshow into its individual pieces.
![Page 28: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/28.jpg)
What fields make up this slideshow entry?Let’s break down the slideshow into its individual pieces.
Slideshow Graphic (image field)Title (text field)
Description (text field)
Button Text (text field)
Button URL (link field)
![Page 29: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/29.jpg)
What do fields look like?In Drupal, field configuration is a draggable list.
![Page 30: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/30.jpg)
field typesCore (included in Drupal by default)TextLong TextBooleanFileImageDecimalFloat List (float, integer, text) Term Reference
Contributed (extensions)Node ReferenceEntity Reference
Name FieldAddress
Google MapParagraphs
Field CollectionField Group
EmailDateLink
Phone NumberCSS
Gyfcat(and so many more)
![Page 31: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/31.jpg)
nodesA L O O K B A C K I N T I M E
![Page 32: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/32.jpg)
nodesNodes are Drupal’s basic data objects. Nodes are collections of specific fields used for a single purpose.
Nodes are individual pieces of content.
Let’s consider an example.A real world example of how nodes are used.
![Page 33: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/33.jpg)
What nodes make up this slideshow entry?Let’s break down the slideshow into its individual nodes.
Node (slideshow)
That’s easier!This node has all the fields we outlined in the last example.
Clicking the arrows show you a different slideshow node.
![Page 34: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/34.jpg)
taxonomyA L O O K B A C K I N T I M E
![Page 35: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/35.jpg)
taxonomyTaxonomy are Drupal’s reusable lists. Taxonomy terms are node-like objects that collect themselves into lists.
Taxonomy lists are called vocabularies.
Vocabularies can then be referenced in Nodes as a Term Reference field.
Let’s consider an example.A real world example of taxonomies.
![Page 36: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/36.jpg)
What’s a scenario you would use a taxonomy term?Here’s something that I use often at Georgia Tech.
No more remembering all the schools. Take that, memorization.
![Page 37: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/37.jpg)
entitiesA L O O K B A C K I N T I M E
![Page 38: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/38.jpg)
entityEntities are data objects in Drupal. Taxonomy terms and Nodes are both entities, because they both contain fields.
Other examples in Drupal include Files, User Accounts, and contributed modules like Paragraphs.
Entities can be chained and linked together.
Let’s consider an example.A real world example of entities.
![Page 39: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/39.jpg)
Let’s say we want to extend our slideshow.Back to our old friend, Dr. Slideshow.
We only want to show some slides on the front page, and keep others for other pages.
With the powers of entities combined…We can add a new entity (node type) called Slideshow that
contains an entity reference field.
That field would link to pre-existing slideshow node entities.
![Page 40: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/40.jpg)
viewsA L O O K B A C K I N T I M E
![Page 41: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/41.jpg)
viewsViews is the workhorse of Drupal. Views provides for custom displays of entity content and fields.
Views can take various forms (slideshows, tables, lists, numbered lists, and more).
Views is primarily used to list multiple entities that share a common criteria.
Let’s consider an example.A real world example of how nodes are used.
![Page 42: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/42.jpg)
short demo.
![Page 43: April 2016 - USG Web Tech Day - Let's Talk Drupal](https://reader033.vdocuments.mx/reader033/viewer/2022051706/58ef64531a28abba118b45a1/html5/thumbnails/43.jpg)
questions?