Drupalcamp Tallinn - Drupal 8

1,106 views

Published on

The status of Drupal 8 as of June 2012.

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

No Downloads
Views
Total views
1,106
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
8
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Drupalcamp Tallinn - Drupal 8

  1. 1. Kristjan JansenDrupal 8Drupalcamp Tallinn2012
  2. 2. About meUsing Drupal since version 2.0 Worked on Drupal UX, theming and brandingConsulting, talking, blogging
  3. 3. Drupal 8timeline
  4. 4. 2011 2012 2013
  5. 5. Mar 2011 Dev. started2011 2012 2013
  6. 6. Mar 2011 Dev. started2011 2012 2013 June 2012 We are here
  7. 7. Mar 2011 Dec 1 2012 Dev. Feature started Freeze2011 2012 2013 June 2012 We are here
  8. 8. Mar 2011 Dec 1 2012 Dev. Feature started Freeze2011 2012 2013 June 2012 Feb 1 2013 We are Code here Freeze
  9. 9. 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
  10. 10. Official initiatives
  11. 11. Lets go back toDrupalcamp Tallinn 2011
  12. 12. Core initiatives Configuration Web Services DesignInternationalization HTML5
  13. 13. Core initiatives Configuration Web Services DesignInternationalization HTML5 many more
  14. 14. ConfigurationManagement
  15. 15. 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
  16. 16. Help out in drupal.org/community-initiatives/drupal-core#cmi
  17. 17. Web services
  18. 18. Drupal should generate output in any format "Services in core"
  19. 19. Introducing...
  20. 20. Symfony is PHP frameworkto create frameworks
  21. 21. Modular object-orientedcomponents for PHP 5.3
  22. 22. Drupal only uses a small subset of components
  23. 23. Historic commit: 1 June 2012
  24. 24. 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
  25. 25. 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
  26. 26. What next? Cleanup and performance New menu / routerEvent dispatcher vs hooksinstall.php and update.php
  27. 27. Help out in drupal.org/community-initiatives/drupal-core#wscci
  28. 28. Internationalization
  29. 29. Mostly about cleaning up language APIsMight use Symfony piecesIn works: config translation
  30. 30. Help out in drupal.org/community-initiatives/drupal-core#d8mi
  31. 31. HTML5
  32. 32. Most core templates converted New HTML5 form elements
  33. 33. Help out in drupal.org/community-initiatives/drupal-core/html5
  34. 34. And now thenew initiatives
  35. 35. Blocks & Layouts Everywhere
  36. 36. Spin-off from Web Services "Panels in core"
  37. 37. groups.drupal.org/node/227543
  38. 38. Help out in drupal.org/community-initiatives/drupal-core#layouts
  39. 39. Mobile
  40. 40. Help out in drupal.org/community-initiatives/drupal-core#mobile
  41. 41. Non-official initiatives
  42. 42. PSR-0
  43. 43. Cleanly separate procedural and object-oriented code Support namespacing and class lazy-loading
  44. 44. Drupal 7 module classesmymodule/mymodule.modulemymodule/mymodule.incDrupal 8 module classesmymodule/mymodule.modulemymodule/lib/Drupal/mymodule/firstClass.phpmymodule/lib/Drupal/mymodule/secondClass.php
  45. 45. User experience improvements
  46. 46. New create content page
  47. 47. Latest overview in bojhan.nl
  48. 48. Theming cleanup + Twig
  49. 49. Drupal theming is a mess
  50. 50. Some theme problems No consistency Too many templates Complex data structurea Too much _process()ing
  51. 51. Twig
  52. 52. .tpl.php<?php if ($content): ?> <div class=”<?php print $classes; ?>”> <?php print $content; ?> </div><?php endif; ?>.twig{% if content %} <div {{ attributes }}> {{ contents }} </div>{% endif %}
  53. 53. Help out ingroups.drupal.org/theme- development
  54. 54. One more thing
  55. 55. Photo: Dries Buytaert Viewsin core
  56. 56. Task list PSR-0 conversion Re-use new configuration and plugin APIs Convert (some) core viewsMove some UI widgets to core
  57. 57. Help out in drupal.org/community-initiatives/drupal-core/vdc
  58. 58. Lots of smallerimprovements
  59. 59. All Drupal files under /core Better Entity API cron.php → cron.modulexmlrpc.php → xmlrpc.moduleprofile.module blog.module
  60. 60. How to track all this?
  61. 61. groups.drupal.org/core
  62. 62. drupal.org/list-changes
  63. 63. Again, all this happens only when YOU help
  64. 64. Thanks! kika.trip.ee twitter.com/kristjanjansenfacebook.com/kristjanjansen

×