Drupal 8: What’s new?
Drupal 8: What’s new?
https://drupal.org/project/drupal
drupal 8.0-alpha10(March 19, 2014)
Documentation
https://api.drupal.org/api/drupal/8https://drupal.org/developing/api/8
@todo write this
Mobile FirstD8D7
Mobile FirstD8D7
CKEditor is in core
Inline editing
Blocks are entities
Several instances of the same block
Form displays
Views is in core
Views is in core
Views is in core
Some VBO functionality is in core
New modules● Breakpoint● Migrate● Responsive
Image● Tour● Datetime● Entity Reference● Link● Telephone
and others...
Removed modules
● Blog https://drupal.org/project/blog● Dashboard● OpenID● Overlay● PHP filter https://drupal.org/project/php● Poll https://drupal.org/project/poll
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
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
IE 9+
OOP
PSR-0\Drupal\node\Form\NodeDeleteForm
/core/modules/node/lib/Drupal/node/Form/NodeDeleteForm.php
YAMLnode.info.yml
name: Nodetype: moduledescription: 'Allows content to be submitted to the site and displayed on pages.'package: Coreversion: VERSIONcore: 8.xconfigure: node.overview_typesdependencies: - text
YAMLnode.info.yml
node.contextual_links.yml
node.libraries.yml
node.local_tasks.yml
node.routing.yml
node.services.yml...
Configuration Managementnode.type.article.yml
type: articlename: Articledescription: 'Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.'help: ''has_title: truetitle_label: Titlesettings: node: preview: 1 options: status: true promote: true sticky: false revision: false submitted: truestatus: truelangcode: en
Configuration Management
Symfony componentsHttpFoundation and HttpKernel
Routing
EventDispatcher
DependencyInjection
ClassLoader
Yaml
Twig
Serializer
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
This article was inspired by other nice articles:
Drupal 8: What You Need to Know by Wayne Eakerhttp://wayneeaker.com/blog/2013/10/12/drupal-8-what-you-need-know
Tutorial: Drupal 8 Site Building preview - Less is more by Heather Jameshttp://www.acquia.com/blog/tutorial-drupal-8-site-building-preview-less-more
From Not-Invented-Here to Proudly-Found-Elsewhere: A Drupal 8 Storyhttps://prague2013.drupal.org/session/not-invented-here-proudly-found-elsewhere-
drupal-8-story
Drupal Community Documentationhttps://drupal.org/developing/api/8
And many others...
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
Thank you!