hook_future_alter()
A preview of Drupal 8, and how you can help.
June 2 2012, DrupalCamp Vancouver
About me
@webchick
Agenda
WAT?
A Drupal 8 talk?! But I just started using Drupal 7!
Drupal 8 Timeline
Drupal 7.0
Jan 5, 2011
Development begins
Mar 10, 2011
Feature freeze
Dec 1, 2012
Code freeze
Feb 1, 2013
Drupal 8.0
Aug, 2013
Drupal 8 Timeline
Drupal 7.0
Development begins
Jan 5, 2011
Mar 10, 2011
Dec 1, 2012
Code freeze
Feb 1, 2013
Drupal 8.0
Aug, 2013
now
June, 2012
Feature freeze
Time to kick ass
with Drupal 8!
Disclaimer: This stuff is actively undergoing development. 100% accuracy not guaranteed.
Remember: None of this happens without YOUR help!
Major Initiatives
Analysis
Design
Development
Config Mgmt
Web services LayoutsMultilingualMobile
Proposed changes for end-users and clients
Mobile
Mobile
25X growth
over next 5 years!
All Drupal sites
All CMS sites
All sites
What problems are we trying to solve?
Ooglay! :(
Responsive Design, Mobile First
Front-end Performance++
How can I help?
Lead | John Albin Wilkins |
Issue tag | |
News | |
IRC | #drupal-mobile |
Meetings | Every other Wednesday |
Authoring experience improvements
Authoring experience timeline
2012
2013
DrupalCon
Denver
Aug
Feb 1
Dec 1
Feature freeze
Code freeze
Authoring experience timeline
Analysis
phase
Apr-May
Design
phase
Jun-July
Implementation
phase
Aug-Nov
Release
DrupalCon
Munich
Content creation page++
Spark
In-place Editing
How can I help?
Leads | Bojhan Somers & Roy Scholten |
Issue tag | |
News | |
IRC | #drupal-usability |
Meetings | Every other Monday |
Proposed changes for site builders
Multilingual
It’s like i18n in core, but better
What’s the plan for Drupal 8?
What’s the plan for Drupal 8?
How can I help?
Lead | Gábor Hojsty |
Issue tag | |
News | |
IRC | #drupal-i18n |
Meetings | Every other Wednesday |
Blocks and Layouts
(SCOTCH)
It’s like Panels in core, but better
What problems are we trying to solve?
What’s the plan for Drupal 8?
UI?
What’s the plan for Drupal 8?
How can I help?
Lead | Kris “EclipseGc” Vanderwater |
Issue tag | |
News | |
IRC | #drupal-scotch |
Meetings | Every Friday, all day |
Mother bleeping Views in mother bleeping core!
What problems are we trying to solve?
Drupal 7 released
January 2011
People start using it
July 2011
...
Surpasses Drupal 6
February 2012
13 months!
What problems are we trying to solve?
What’s the plan for Drupal 8?
How can I help?
Changes for designers and front-end developers
HTML5 Form Elements
$form['telephone'] = array(
'#type' => 'tel',
'#title' => t('Phone'),
);
$form['website'] = array(
'#type' => 'url',
'#title' => t('Website'),
);
$form['email'] = array(
'#type' => 'email',
'#title' => t('Email'),
);
$form['tickets'] = array(
'#type' => 'number',
'#title' => t('Tickets required'),
);
<!DOCTYPE html><html<?php print $html_attributes; ?>> <head> <?php print $head; ?> <?php if ($default_mobile_metatags): ?> <meta name="MobileOptimized" content="width" /> <meta name="HandheldFriendly" content="true" /> <meta name="viewport" content="width=device-width" /> <meta http-equiv="cleartype" content="on" /> <?php endif; ?> <title><?php print $head_title; ?></title> <?php print $styles; ?> <?php print $scripts; ?> </head> <body class="<?php print $classes; ?>" <?php print $body_attributes;?>> <div id="skip-link"> <a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a> </div> <?php print $page_top; ?> <?php print $page; ?> <?php print $page_bottom; ?> </body></html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"<?php print $rdf_namespaces; ?>><head profile="<?php print $grddl_profile; ?>"> <?php print $head; ?> <title><?php print $head_title; ?></title> <?php print $styles; ?> <?php print $scripts; ?></head><body class="<?php print $classes; ?>" <?php print $attributes;?>> <div id="skip-link"> <a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a> </div> <?php print $page_top; ?> <?php print $page; ?> <?php print $page_bottom; ?></body></html>
Drupal 7
Drupal 8
Markup cleanup
Standard Components
Twig
Drupal 7
<?php if ($content): ?> <div class="<?php print $classes; ?>"> <?php print $content; ?> </div><?php endif; ?>
region.tpl.php
Drupal 8
{% if content %} <div {{ attributes }}> {{ contents }} </div>{% endif %}
region.twig
Changes for coders
01110111 01101001 01101100 01101100 00100000 01100011 01101111 01100100 01100101 00100000 01110000 01101000 01110000 00100000 01100110 01101111 01110010 00100000 01100110 01101111 01101111 01100100
Warning:
Things are about to get... geeky.
Web Services
(WSCCI)
It’s like Services module in core, only better.
What problems are we trying to solve?
What problems are we trying to solve?
What’s the plan for Drupal 8?
Web Services
Lead | Larry “Crell” Garfield |
Issue tag | |
News | |
IRC | #drupal-wscci |
Meetings | Every other Tuesday |
Configuration Management
It’s like Features module in core, only better.
What problems are we trying to solve?
What problems are we trying to solve?
What problems are we trying to solve?
variable_set()/variable_get()
ctools_export_object()/ctools_export_load_object()
db_select()/db_update()/db_delete()
$conf[...];
hook_update_N()
drush fu
What’s the plan for Drupal 8?
What’s the plan for Drupal 8?
Configuration Management
Lead | Greg “heyrocker” Dunlap |
Issue tag | |
News | |
IRC | #drupal-cmi |
Meetings | Every other Tuesday |
Other stuff
Gotta catch ‘em all!
Huge round of applause to over 600 contributors!
Over 600 contributors so far!
Obligatory picture of scary clouds and dire warnings.
Join us!
Tuesdays and Wednesdays in #drupal
Hand-holding for all of your newbie questions!
Tasks for non-coders as well!
Fridays in #drupal
Work on most important tasks for each initiative with really smart people. :)
Anytime, in #drupal-contribute!
Most important stuff at any given time
Time to kick ass
with Drupal 8!
Slide Credits
Thank you!
Questions? :)