Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Lightning Distribution for Drupal: Build Advanced Authoring Experiences in Drupal 8

Lightning provides developers with a lightweight framework for building advanced authoring experiences in Drupal 8. Developers gain a massive head-start when building great authoring experiences with Lightning, but it has not been a simple development roadmap. In this webinar, learn about some of the decisions we had to tackle, including:

-Which modular functionality should be considered core to the authoring experience?
-How will developers extend Lighting to create their own corporate or vertical distributions that leverage our authoring capabilities?
-Should Lighting be divisible into its components?
-How do we give developers the best upgrade experience possible? <spoiler> Composer </spoiler>

We will also share more of the roadmap for Lightning including the Workplace Preview System, a Higher Education Scenario, and Decoupled Blocks integration. Also included will be a demo of all 18 of our user stories so you understand the intent and operation of the features we have implemented.

  • Be the first to comment

Lightning Distribution for Drupal: Build Advanced Authoring Experiences in Drupal 8

  1. 1. 1 ©2016 Acquia Inc. — Confidential and Proprietary Build Advanced Authoring Experiences in Drupal 8 Lightning Distribution
  2. 2. 2 ©2016 Acquia Inc. — Confidential and Proprietary Core Authoring Functionality Categories
  3. 3. 3 ©2016 Acquia Inc. — Confidential and Proprietary Install Lightning ● Lightning Project (composer template) $ composer create-project acquia/lightning- project:^8.1.0 ● Can also build from source repo, but you would typically only do that to contribute or test unmerged functionality ● http://lightning.acquia.com/lightning-developer-guide
  4. 4. 4 ©2016 Acquia Inc. — Confidential and Proprietary User Stories: Layout Name Collisions ● “Creating a Layout” (layout plugin system vs placement within) ● “Default Layouts” (Layouts which are available vs one is the actual default)
  5. 5. 5 ©2016 Acquia Inc. — Confidential and Proprietary User Stories: Layout ● Create layouts (panelizer) ● Setting available layouts ● Setting a default from available layouts ● Customizing one-off layouts (IPE) ● Contextualization (vision)
  6. 6. 6 ©2016 Acquia Inc. — Confidential and Proprietary
  7. 7. 7 ©2016 Acquia Inc. — Confidential and Proprietary User Stories: Media ● Upload media (images, documents) ● Create from Embed/URL (videos, tweets) ● Media as Entities ● Library ● DAM Integrations (vision)
  8. 8. 8 ©2016 Acquia Inc. — Confidential and Proprietary
  9. 9. 9 ©2016 Acquia Inc. — Confidential and Proprietary User Stories: Workflow ● States ● Settings which States are available to a bundle ● Revision history ● Bulk scheduled updates ● Diff (planned)
  10. 10. 10 ©2016 Acquia Inc. — Confidential and Proprietary
  11. 11. 11 ©2016 Acquia Inc. — Confidential and Proprietary User Stories: Preview ● Forward revisions ● See content on different devices ● WPS (planned) ● Contextual preview (vision)
  12. 12. 12 ©2016 Acquia Inc. — Confidential and Proprietary
  13. 13. 13 ©2016 Acquia Inc. — Confidential and Proprietary Build on Lightning ● Add dependencies $ composer require drupal/MODULE_NAME:^8.0.0 ● Dependency version constraints ○ Loose constraints when possible ○ Still have ability to patch
  14. 14. 14 ©2016 Acquia Inc. — Confidential and Proprietary Build on Lightning … extra { patches { "drupal/workbench_moderation": { "2668006 - Provide logical access control IPE: "https://www.drupal.org/files/issues/26680 06-2.patch" } } } ...
  15. 15. 15 ©2016 Acquia Inc. — Confidential and Proprietary Build on Lightning (continued) ● Lightning is modular (turn off functional area) ● Doesn’t prevent you from using other solutions (Display suite/Paragraphs) ● Non-drupal dependencies (e.g. php-twitter-api)
  16. 16. 16 ©2016 Acquia Inc. — Confidential and Proprietary Extend Lightning ● Extend (released ~15 July) ● Givesa site-builders the ability to override, delete and add to the configuration that Lightning ships with, during the installation process ● Enable additional extension ● Redirect path ● https://www.drupal.org/node/273450 7 # Defines additional tasks for Lightning to perform after initial profile # installation. # List of additional modules to enable after Lightning is installed. modules: - features - acme_custom - acme_product_content_type - acme_theme_settings - acme_lightning_settings # A system path to redirect to once installation is complete. redirect: path: /acme-install-complete # Optional query string parameters. query: { }
  17. 17. 17 ©2016 Acquia Inc. — Confidential and Proprietary Extend Lightning (continued) ● Consume ● High effort - edge case. Use Lightning’s modules in your own profile ● Requires core patch: https://www.drupal.org/node/2743197 (Needs Work) ● Inherit (vision) Issue o Five year old issue - might not be available… ever? o https://www.drupal.org/node/1356276
  18. 18. 18 ©2016 Acquia Inc. — Confidential and Proprietary Lightning Components • Tight coupling of functionality • Standard authoring experience • Future expectations • Testing
  19. 19. 19 ©2016 Acquia Inc. — Confidential and Proprietary Updates provided by Lightning ● Offloading maintenance ● Dependency (core and non-drupal) ● Composer update + composer.lock ○ Lock file (project, not Lightning’s) guarantees that all of your devs are working from the same codebase within a project ○ Running `update` allows you to get non-breaking updates (e.g. core and contrib security updates) without needing to wait for Lightning to make a new release
  20. 20. 20 ©2016 Acquia Inc. — Confidential and Proprietary Roadmap • WPS • Scenarios (Higher Ed, Commerce, CPG, Public Sector, MEP) • Decoupled blocks • SemVer
  21. 21. 21 ©2016 Acquia Inc. — Confidential and Proprietary Thank You

    Be the first to comment

    Login to see the comments

  • AcquiaInc

    Jun. 30, 2016
  • morimuc

    Jul. 19, 2016
  • fmmribeiro

    Oct. 8, 2017

Lightning provides developers with a lightweight framework for building advanced authoring experiences in Drupal 8. Developers gain a massive head-start when building great authoring experiences with Lightning, but it has not been a simple development roadmap. In this webinar, learn about some of the decisions we had to tackle, including: -Which modular functionality should be considered core to the authoring experience? -How will developers extend Lighting to create their own corporate or vertical distributions that leverage our authoring capabilities? -Should Lighting be divisible into its components? -How do we give developers the best upgrade experience possible? &lt;spoiler> Composer &lt;/spoiler> We will also share more of the roadmap for Lightning including the Workplace Preview System, a Higher Education Scenario, and Decoupled Blocks integration. Also included will be a demo of all 18 of our user stories so you understand the intent and operation of the features we have implemented.

Views

Total views

1,728

On Slideshare

0

From embeds

0

Number of embeds

560

Actions

Downloads

24

Shares

0

Comments

0

Likes

3

×