19
Drupal 8 features keynotes by Andriy Podanenko http://dgo.to/@podarok and Andy Postnikov http://dgo.to/@andypost 15.09.2012

Drupal 8 what to wait from

Embed Size (px)

DESCRIPTION

Drupal 8 keynotes for DrupalCamp Kyiv 2012 by @podarok and @andypost

Citation preview

Page 1: Drupal 8   what to wait from

Drupal 8features

keynotes by

Andriy Podanenko http://dgo.to/@podarok and Andy Postnikov http://dgo.to/@andypost

15.09.2012

Page 2: Drupal 8   what to wait from

Core initiativeshttp://drupal.org/community-initiatives/drupal-core

Page 3: Drupal 8   what to wait from

D8 Theming - {{ TWIG }}http://drupal.org/sandbox/pixelmord/1750250 - Twig sandbox

<!DOCTYPE html><html> <head> <title>My Webpage</title> </head> <body> <ul id="navigation"> {% for item in navigation %} <li><a href="{{ item.href }}">{{ item.caption }}</a></li> {% endfor %} </ul>

<h1>My Webpage</h1> {{ a_variable }} </body></html>

http://drupal.org/node/1499460 - first stepshttp://groups.drupal.org/node/234793 - Twig benefits and small how-to http://twig.sensiolabs.org/dochttp://munich2012.drupal.org/content/new-theme-layer-drupal-8http://munich2012.drupal.org/content/responsive-design-mobile-admin-front-end-performance-updates-mobile-initiative - mobilehttp://munich2012.drupal.org/content/better-javascript

Page 4: Drupal 8   what to wait from

Drupal 7 - before (http://groups.drupal.org/node/234793)

Page 5: Drupal 8   what to wait from

Drupal after 7 :) (http://groups.drupal.org/node/234793)

Page 6: Drupal 8   what to wait from

Plugin System (Layouts aka SKOTCH)

http://drupal.org/node/1704454 - Plugin system

http://drupal.org/node/1637614 - D8 Plugin system docs

http://drupal.org/sandbox/eclipsegc/1441840 - Drupal 8 Blocks Everywhere sandbox by http://dgo.to/@EclipseGc

http://munich2012.drupal.org/content/drupal-blocks-layouts-initiative-scotch-update

http://drupal.org/node/1535868 Blocks as plugins http://drupal.org/node/1743686 - Condition Plugin System

Page 7: Drupal 8   what to wait from

Drupal 7 (http://drupal.org/node/1704454)

<?phpfunction hook_aggregator_fetch_info() { return array(

'title' => t('Default fetcher'),'description' => t('Default fetcher for resources available by

URL.'), );}

function hook_aggregator_fetch($feed) { $feed->source_string = mymodule_fetch($feed->url);}?>

Page 8: Drupal 8   what to wait from

Drupal 8 (CTools) (http://drupal.

org/node/1704454) <?php/** * @Plugin( * id = "aggregator", * title = @Translation("Default fetcher"), * description = @Translation("Downloads data from a URL using Drupal's HTTP request handler.") * ) */class DefaultFetcher implements FetcherInterface {?>

Page 9: Drupal 8   what to wait from

Drupal 8 blocks (needs work) (http:

//drupal.org/node/1535868) <?phpnamespace Drupal\aggregator;

use Drupal\Core\Plugin\PluginDerivativeInterface;use Drupal\block\AbstractBlock;

class FeedBlock extends AbstractBlock implements PluginDerivativeInterface {

public function access() {... }public function info() {...}public function configure($form, &$form_state) {..}public function configureSubmit($form, &$form_state) {...}public function build() {...}?>

Page 10: Drupal 8   what to wait from

Language System

1. Translations storage, batch-import2. Extends: ● language, ● locale_translation, ● 10n_update

http://munich2012.drupal.org/content/drupal-8s-multilingual-wonderland

Page 13: Drupal 8   what to wait from

System Changeshttp://drupal.org/node/1703168#comment-6344116 config system

+ $config = config('locale.settings'); // Drupal 8

+ $config->set('translation.check_disabled_modules', TRUE)->save(); //D8

- variable_set('locale_translation_check_disabled', TRUE); // Drupal 7

http://munich2012.drupal.org/program/sessions/drupal-8-what-you-need-knowhttp://munich2012.drupal.org/content/improved-file-management-core

Page 14: Drupal 8   what to wait from

Disabled & new modulesRemoved● blog, profile, trigger

Changed● list => options http://drupal.org/node/1691614

Added● config, entity, language, xmlrpc, (ban)

node module optional

http://drupal.org/node/1183208 clean url removed

http://drupal.org/node/1782838 WYSIWYG in core

Page 15: Drupal 8   what to wait from

D8 & Symphony2

Symphony & PSR-0 approachhttp://drupal.org/node/335411 sessionshttp://groups.drupal.org/node/220269 routing (kills hook_menu)Dependency Injection(WSCII) http://drupal.org/node/1539454

http://munich2012.drupal.org/content/web-services-and-symfony-core-initiative

Page 16: Drupal 8   what to wait from

{{ Namespaced }} core structure

http://drupal.org/node/1724216 install profiles moved into /core/profiles

Page 17: Drupal 8   what to wait from

Documentationhttp://drupal.org/documentation/mobile

UI: toolbar, wysiwyg, layout, edit, aloha, form_builder

Mobile & responsive

Page 18: Drupal 8   what to wait from

● Clean up core initative● Contribute to accessibility● Design Initiative● Drupal 8 User Experience● DrupalWTFs● File management (File entity in core)● Form API● HTML5 Initiative● Help and Curated/Official Documentation System● JavaScript● Learnability● Path and Path API● Pathauto in core● Performance● Responsive Design● Search module as API framework● Statistics● Testing● Views in Drupal Core● WYSIWYG● Useful tags/components● Previous Initiatives

Drupal 8 other initiatives

Page 19: Drupal 8   what to wait from

http://dgo.to/@andypost http://dgo.to/@podarok

Drupal features BoF