Drupal 8: What's new? Anton Shubkin

1,084 views
1,015 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,084
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Drupal 8: What's new? Anton Shubkin

  1. 1. Drupal 8: What’s new?
  2. 2. https://drupal.org/project/drupal drupal 8.0-alpha10 (March 19, 2014)
  3. 3. Documentation https://api.drupal.org/api/drupal/8 https://drupal.org/developing/api/8 @todo write this
  4. 4. Mobile First D8D7
  5. 5. Mobile First D8D7
  6. 6. CKEditor is in core
  7. 7. Inline editing
  8. 8. Blocks are entities
  9. 9. Several instances of the same block
  10. 10. Form displays
  11. 11. Views is in core
  12. 12. Views is in core
  13. 13. Views is in core
  14. 14. Some VBO functionality is in core
  15. 15. New modules ● Breakpoint ● Migrate ● Responsive Image ● Tour ● Datetime ● Entity Reference ● Link ● Telephone and others...
  16. 16. Removed modules ● Blog https://drupal.org/project/blog ● Dashboard ● OpenID ● Overlay ● PHP filter https://drupal.org/project/php ● Poll https://drupal.org/project/poll
  17. 17. TWIG and HTML5 <div id="main-wrapper" class="clearfix"><div id="main" class="clearfix"> <?php if ($breadcrumb): ?> <div id="breadcrumb"><?php print $breadcrumb; ?></div> <?php endif; ?> <?php if ($page['sidebar_first']): ?> <div id="sidebar-first" class="column sidebar"><div class="section"> <?php print render($page['sidebar_first']); ?> </div></div> <!-- /.section, /#sidebar-first --> <?php endif; ?> <div id="content" class="column"><div class="section"> <?php if ($page['highlighted']): ?><div id="highlighted"><?php print render($page['highlighted']); ?></div><?php endif; ?> <a id="main-content"></a> <?php print render($title_prefix); ?> <?php if ($title): ?> <h1 class="title" id="page-title"> <?php print $title; ?> </h1> <?php endif; ?> D7
  18. 18. TWIG and HTML5 <div id="main-wrapper" class="clearfix"><div id="main" class="clearfix"> {{ breadcrumb }} <main id="content" class="column" role="main"><section class="section"> {% if page.highlighted %}<div id="highlighted">{{ page.highlighted }}</div>{% endif %} <a id="main-content"></a> {{ title_prefix }} {% if title %} <h1 class="title" id="page-title"> {{ title }} </h1> {% endif %} {{ title_suffix }} {% if tabs %} <nav class="tabs" role="navigation"> {{ tabs }} </nav> {% endif %} {{ page.help }} D8
  19. 19. IE 9+
  20. 20. OOP
  21. 21. PSR-0 DrupalnodeFormNodeDeleteForm /core/modules/node/lib/Drupal/node/Form/NodeDeleteForm.php
  22. 22. YAML node.info.yml name: Node type: module description: 'Allows content to be submitted to the site and displayed on pages.' package: Core version: VERSION core: 8.x configure: node.overview_types dependencies: - text
  23. 23. YAML node.info.yml node.contextual_links.yml node.libraries.yml node.local_tasks.yml node.routing.yml node.services.yml ...
  24. 24. Configuration Management node.type.article.yml type: article name: Article description: 'Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.' help: '' has_title: true title_label: Title settings: node: preview: 1 options: status: true promote: true sticky: false revision: false submitted: true status: true langcode: en
  25. 25. Configuration Management
  26. 26. Symfony components HttpFoundation and HttpKernel Routing EventDispatcher DependencyInjection ClassLoader Yaml Twig Serializer
  27. 27. Composer: Dependency manager Guzzle: HTTP Client Assetic: Asset manager (CSS and JS aggregation) PHPUnit: Testing PSR/Log: Consistent logging from components and Drupal Other components
  28. 28. This article was inspired by other nice articles: Drupal 8: What You Need to Know by Wayne Eaker http://wayneeaker.com/blog/2013/10/12/drupal-8-what-you-need-know Tutorial: Drupal 8 Site Building preview - Less is more by Heather James http://www.acquia.com/blog/tutorial-drupal-8-site-building-preview-less-more From Not-Invented-Here to Proudly-Found-Elsewhere: A Drupal 8 Story https://prague2013.drupal.org/session/not-invented-here-proudly-found-elsewhere- drupal-8-story Drupal Community Documentation https://drupal.org/developing/api/8 And many others...
  29. 29. https://api.drupal.org/api/drupal/8 http://www.acquia.com/blog/drupal-8 https://groups.drupal.org/taxonomy/term/98113 https://drupal.org/drupal-8.0 https://github.com/hechoendrupal/drupal8-links @see also
  30. 30. Thank you!

×