• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Drupalcamp Tallinn - Drupal 8
 

Drupalcamp Tallinn - Drupal 8

on

  • 926 views

The status of Drupal 8 as of June 2012.

The status of Drupal 8 as of June 2012.

Statistics

Views

Total Views
926
Views on SlideShare
911
Embed Views
15

Actions

Likes
2
Downloads
5
Comments
0

4 Embeds 15

http://vm.gumdebian 6
http://drupalcamp.ee 5
http://www.drupalcamp.ee 2
http://2012.k-of.jp 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Drupalcamp Tallinn - Drupal 8 Drupalcamp Tallinn - Drupal 8 Presentation Transcript

    • Kristjan JansenDrupal 8Drupalcamp Tallinn2012
    • About meUsing Drupal since version 2.0 Worked on Drupal UX, theming and brandingConsulting, talking, blogging
    • Drupal 8timeline
    • 2011 2012 2013
    • Mar 2011 Dev. started2011 2012 2013
    • Mar 2011 Dev. started2011 2012 2013 June 2012 We are here
    • Mar 2011 Dec 1 2012 Dev. Feature started Freeze2011 2012 2013 June 2012 We are here
    • Mar 2011 Dec 1 2012 Dev. Feature started Freeze2011 2012 2013 June 2012 Feb 1 2013 We are Code here Freeze
    • Mar 2011 Dec 1 2012 Aug 2013 Dev. Feature Drupal 8 started Freeze released2011 2012 2013 June 2012 Feb 1 2013 We are Code here Freeze
    • Official initiatives
    • Lets go back toDrupalcamp Tallinn 2011
    • Core initiatives Configuration Web Services DesignInternationalization HTML5
    • Core initiatives Configuration Web Services DesignInternationalization HTML5 many more
    • ConfigurationManagement
    • Saving conf in Drupal 7// mymodule/mymodule.modulevariable_set("mymodule_variable", 1);Saving conf in Drupal 8// mymodule/mymodule.moduleconfig(mymodule.config)->set(myvalue, 1)->save();// mymodule/config/mymodule.config.ymlmyvalue: 1
    • Help out in drupal.org/community-initiatives/drupal-core#cmi
    • Web services
    • Drupal should generate output in any format "Services in core"
    • Introducing...
    • Symfony is PHP frameworkto create frameworks
    • Modular object-orientedcomponents for PHP 5.3
    • Drupal only uses a small subset of components
    • Historic commit: 1 June 2012
    • define(‘DRUPAL_ROOT’, getcwd());require_once DRUPAL_ROOT . ‘/core/includes/bootstrap.inc’;drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);menu_execute_active_handler(); index.php for many years
    • use SymfonyComponentHttpFoundationRequest;define(DRUPAL_ROOT, getcwd());require_once DRUPAL_ROOT . /core/includes/bootstrap.inc;drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE);$kernel = drupal_container()->get(httpkernel);$response = $kernel->handle($request)->prepare($request)->send();$kernel->terminate($request, $response); index.php in future
    • What next? Cleanup and performance New menu / routerEvent dispatcher vs hooksinstall.php and update.php
    • Help out in drupal.org/community-initiatives/drupal-core#wscci
    • Internationalization
    • Mostly about cleaning up language APIsMight use Symfony piecesIn works: config translation
    • Help out in drupal.org/community-initiatives/drupal-core#d8mi
    • HTML5
    • Most core templates converted New HTML5 form elements
    • Help out in drupal.org/community-initiatives/drupal-core/html5
    • And now thenew initiatives
    • Blocks & Layouts Everywhere
    • Spin-off from Web Services "Panels in core"
    • groups.drupal.org/node/227543
    • Help out in drupal.org/community-initiatives/drupal-core#layouts
    • Mobile
    • Help out in drupal.org/community-initiatives/drupal-core#mobile
    • Non-official initiatives
    • PSR-0
    • Cleanly separate procedural and object-oriented code Support namespacing and class lazy-loading
    • Drupal 7 module classesmymodule/mymodule.modulemymodule/mymodule.incDrupal 8 module classesmymodule/mymodule.modulemymodule/lib/Drupal/mymodule/firstClass.phpmymodule/lib/Drupal/mymodule/secondClass.php
    • User experience improvements
    • New create content page
    • Latest overview in bojhan.nl
    • Theming cleanup + Twig
    • Drupal theming is a mess
    • Some theme problems No consistency Too many templates Complex data structurea Too much _process()ing
    • Twig
    • .tpl.php<?php if ($content): ?> <div class=”<?php print $classes; ?>”> <?php print $content; ?> </div><?php endif; ?>.twig{% if content %} <div {{ attributes }}> {{ contents }} </div>{% endif %}
    • Help out ingroups.drupal.org/theme- development
    • One more thing
    • Photo: Dries Buytaert Viewsin core
    • Task list PSR-0 conversion Re-use new configuration and plugin APIs Convert (some) core viewsMove some UI widgets to core
    • Help out in drupal.org/community-initiatives/drupal-core/vdc
    • Lots of smallerimprovements
    • All Drupal files under /core Better Entity API cron.php → cron.modulexmlrpc.php → xmlrpc.moduleprofile.module blog.module
    • How to track all this?
    • groups.drupal.org/core
    • drupal.org/list-changes
    • Again, all this happens only when YOU help
    • Thanks! kika.trip.ee twitter.com/kristjanjansenfacebook.com/kristjanjansen