1. A peek into the next version!
DRUPAL 8 SITE
BUILDING PREVIEW
Wednesday, October 23, 13
1
2. Learning Services
at Acquia
• Heather on Twitter
• @learningdrupal
• Contact me or
• Ben Ortega,
Director of Learning
Services about training
Wednesday, October 23, 13
2
3. “Overall though the
content of the course
was excellent and
well organized. I
learned a great deal
from this course.”
training.acquia.com/
testimonials
http://training.acquia.com/events
Wednesday, October 23, 13
3
4. What I’ll cover
• Obligatory warning!
• How to try out Drupal 8; Quick overview of
admin changes; Content editing, WYSIWYG,
Images
• Site Building!
• Building with Blocks, Content types
• Making most of data with Schema.org
• Configuration management
Wednesday, October 23, 13
4
5. What I won’t cover today
• How we got here
• Theming (soon!)
• Module development (soon!)
• “Under the hood”
• Getting Up to Speed on Drupal 8
http://lullabot.github.io/dme-presentations/d8what-is-new/webinar.html#/
Wednesday, October 23, 13
5
9. Alpha 4 is out!
drupal.org/node/3060/release
Wednesday, October 23, 13
9
10. Ready when it’s ready
drupal.org/core/release-cycle
Wednesday, October 23, 13
10
11. What we should be doing
• Testing upgrading modules and themes
• Reporting problems with API
• Testing patches and issues marked
“needs review”
• Developers should watch “How to upgrade
your modules to Drupal 8”, DrupalCon
Prague, 2013.
youtube.com/watch?v=AilpWNE0jzo
Wednesday, October 23, 13
11
12. Not a developer? Great!
• Participate in usability research
groups.drupal.org/node/343023
Wednesday, October 23, 13
12
13. Tell others about it!
• https://drupal.org/node/2116433
Wednesday, October 23, 13
13
25. What to do?
• Right now, there will be many errors. Site
builders encouraged to test with first Beta
releases. Still early yet!
• Try to replicate the error.
• Clarify the steps and conditions to repeat!
• Search for errors in Issue queue.
• If a patch exists, test it.
• If an error isn’t reported, add it.
Wednesday, October 23, 13
25
34. For more detail
• Approx 32
Contrib modules
which are mooted
by Drupal 8.
• Another 8 Core
modules which
are gone or
moved to
Contrib.
acquia.com/blog/tutorial-drupal-8-site-buildingpreview-less-more
Wednesday, October 23, 13
34
35. Improvements for content admins
saves time for site builders
WYSIWYG and
content editing
Wednesday, October 23, 13
35
41. Some bugs in defaults
• Default settings not
saved
• “Sticky” might get
removed altogether.
drupal.org/node/2053461
drupal.org/node/197460
Wednesday, October 23, 13
41
45. Two cases for images
Inline images
Writers control
Varying input
and display
Image fields
Designers control
Consistent input
Consistent display
Wednesday, October 23, 13
45
62. Site building in Drupal 8
• Modelling data
• Fields on everything
• Not everything needs
to be a content type
• Smart markup with
Schema.org
• RESTful web services
Wednesday, October 23, 13
62
63. New fields
• Datetime
• E-mail
• Entity reference - Link to
users, terms, content, etc.
with an auto-complete
field.
• Link
• Telephone
Wednesday, October 23, 13
63
64. Fields and more fields
• Add fields to Blocks, Contact form, etc!
• Comments are now a field!
Wednesday, October 23, 13
64
71. Demo: Add field
• Add email field
• Custom placeholder text
• How to manage display
• Custom displays
Wednesday, October 23, 13
71
72. A site builder’s perspective
Configuration
management
Wednesday, October 23, 13
72
73. Workflow
• Configuration management with built-in
staging
Your current config
> Should match current
Do not edit Active
configuration
manually.
Copy most recent
changes, before adding
new file!
Wednesday, October 23, 13
73
93. Custom mapping!
• Copy core example and adapt.
• Save with pattern:
rdf.mapping.node.[bundle].yml
• UUID famkruithof.net/uuid/
uuidgen
• Map to your chosen schema
(Match “bundle” name; Add
new fields)
• Import configuration
Wednesday, October 23, 13
93
94. Match schema to fields
• Modify and adapt from the core example
• Remove fields you don’t need
Example from article
for image field
Wednesday, October 23, 13
Adapted for restaurant
logo field
94
97. Future?
• Possible UI in Contrib.
Many sprints coming up.
• Title: The future of search and SEO
• Level: Intermediate
• Speaker: Stéphane "scor" Corlosquet and
Nick "nick_vh" Veenhof
http://2013.badcamp.net/sessions/future-search-and-seo
Wednesday, October 23, 13
97