Dive into Drupal 8

John Hume
February 19, 2014

Dive into Drupal 8

High level overview of the upcoming changes in Drupal 8. Presented at Drupal Dundee user group meeting February 2014.

John Hume

February 19, 2014

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

24 slides
  1. Drupal Dundee Dive Into Drupal 8 • Core Development Philosophy

    • Getting off the Island • Drupal Core Initiatives • Drupal 8 Timeline
  2. Core Development Philosophy • “The drop is always moving” •

    Backward compatibility for data, not code • Two latest releases supported • Site upgrades required every ~6 years • Allows for radical improvements • E.g. Node system would probably never have happened if backwards compatibility was maintained
  3. • “Proudly Invented Elsewhere” • External Components: • Symfony2 •

    Composer • Twig • Guzzle • PSR-4 • PHPUnit • Backbone.js and Underscore.js Getting off the Island
  4. Drupal 8 - Core Initiatives • Configuration Management • HTML5

    • Layouts • Mobile • Multilingual • Views in Core • Web Services
  5. Configuration Management • Lead – Greg Dunlap (@heyrocker) • D7

    – configuration in database. • D8 – config (Image styles, site name etc etc) stored in YAML files. • New config API • Variable_get() etc gone • $config->get(‘my_item’) • .info > .info.yml
  6. HTML5 • Lead – Jacine Luisi (@jacine) • Default HTML5

    doctype. • Can use <tel> <email> etc. • IE 6, 7, 8 no longer supported out of the box • IE8 module (https://drupal.org/project/ie8)
  7. Blocks and Layout (scotch) • Lead: Kris Vanderwater (@EclipseGC) •

    Aim - provide a core solution (API) for problems that contrib address: • Display Suite, Context, Panels, Ctools Page Manager. • Responsive layout builder – didn’t make it in time (pushed to D9). • https://groups.drupal.org/node/287563
  8. Mobile Initiative • Lead: john Albin Wilkins (@johnalbin) • Drupal

    8 ships with all responsive themes (Bartik, Seven and Stark) • Breakpoint and Picture modules now in core. • Improved CSS and JS performance • Spark – D7 distribution. • Usability – CK Editor in core. In place editing.
  9. Multi-lingual • Lead – Gabor Hojtsy • D7 - Lot

    of steps to add additional languages • D8 – choose language on install screen • D8 – Entity translation API • i10n in core.
  10. Views in Core • Lead – Daniel Wehner (@da_wehner) •

    D7 – stable release of views took 6 months • Exported as YAML • VBO in core • HTML tables are responsive • Home page is view • Admin pages use views
  11. Web Services + Context Core Initiative (WSCCI) • D7 -

    Drupal spits out HTML • D8 is a web service • Rest server • Expose Views as a serialized resource • Guzzle – replace drupal_http_request • PHP Unit – dependency injection
  12. Drupal 8 Timeline • Dec 2012 – D8 Feature Freeze

    Phase “No new features are allowed (unless specifically exempted), focus turns instead to API and UI clean-ups and polishing of existing features.”
  13. Drupal 8 Timeline • Feb 2013 – Clean-up Phase “API

    changes are still allowed during the clean-up phase until the API freeze deadline, so long as they do not significantly increase the overall technical debt.”
  14. Drupal 8 Timeline • July 2013 – API Completion Phase

    “The primary purpose of this phase is to resolve release-blocking issues, and backwards compatibility- breaking API changes are only allowed when they are needed to fix major and critical bugs and tasks.”
  15. Drupal 8 Timeline • ???? – Release Candidates “The first

    release candidate for a new version of Drupal is created once the number of critical bugs and tasks is reduced to zero.”

More Decks by John Hume

Other Decks in Programming