Drupal 8 deeper dive

  • Published on
    16-Jul-2015

  • View
    48

  • Download
    0

Embed Size (px)

Transcript

<ul><li><p>Michael Schmid @Schnitzel</p></li><li>We </li><li><p>Drupal 8 almost all Code new </p><p> SiteBuilders and Users: Only improvements</p></li><li><p>Content Management</p></li><li><p>New content form</p></li><li><p>Internationalization Drupal 7 </p><p> 29 Modules for full translatability </p><p> Drupal 8 </p><p> 4 Modules for full translatability </p><p> and they are all in Core!</p></li><li><p>Internationalization</p></li><li><p>Accessibility</p></li><li><p>Tours</p></li><li><p>Content Management New content form + preview </p><p> Wysiwyg </p><p> In-place editing </p><p> Multilingual &amp; Accessible at its core </p><p> Tours for contextual help </p></li><li><p>Site Building</p></li><li><p>Views in Core</p></li><li><p>Everything is an entity Fieldable </p><p> Same APIs </p><p> Better integration into Contrib </p><p> Config vs Content Entities</p></li><li><p>Fields in Core</p></li><li><p>Responsive</p></li><li><p>Form Display UI</p></li><li><p>View Modes in Core</p></li><li><p>View Modes in Core</p></li><li><p>Blocks Supercharged</p></li><li><p>RESTful</p></li><li><p>Site Building Views in Core </p><p> Fields in core: Date, Link, Email, Telephone, Entity Reference, </p><p> 100% responsive, mobile-first (includes admin backend) </p><p> Form Display UI (like display modes) </p><p> Blocks, supercharged </p><p> Configuration management </p><p> RESTful at the core </p></li><li><p>Drupal 8 in terms of sitebuilding is awesome. After a short time you are able to build almost everything out of the box. Sometimes you have to think around the corner to get your result. And sometimes you get stuck because of some nasty bugs.</p><p>Boris Baldinger Sitebuilder</p></li><li><p>Developers</p></li><li><p>OOP / Symfony</p></li><li><p>. What does D7 hook_menu really do? </p><p> routes </p><p> default menu items </p><p> local actions </p><p> local tasks</p></li><li><p>Define Route</p></li><li><p>Page Controller</p></li><li><p>Forms?</p></li><li><p>Forms?</p></li><li><p>Configuration Management Fully in Core </p><p> exportable </p><p> importable </p><p> Show differences </p><p> New Workflows</p></li><li><p>Configuration Management variable_{get,set} are gone!</p></li><li><p>Entity API</p></li><li><p>Config Entites similar to Content Entites</p></li><li><p>Proudly invented elsewhere Symfony2 </p><p> Assetic </p><p> Composer </p><p> Doctrine </p><p> EasyRDF </p><p> Twig </p><p> Backbone</p><p> jQuery </p><p> jQuery UI </p><p> YAML </p><p> HAL/REST </p><p> Guzzle </p><p> PHPUnit </p><p> CKEditor</p></li><li><p>Plugins Example: Blocks </p><p> Drupal 7 </p><p> hook_block_info() </p><p> hook_block_view() </p><p> $delta and more...</p></li><li><p>Plugins D8</p></li><li><p>Migrate in Core update.php </p><p> D6 support! </p><p> D7 support! </p><p> Contrib defines their own Migrate workflows</p></li><li><p>Developers OOP architecture / Symfony-based </p><p> New routing system (hook_menu == gone) </p><p> Configuration management </p><p> Entity API </p><p> Proudly invented elsewhere </p><p> Migrate in Core</p></li><li><p>Overall, I have really really good feelings about D8. Previously we said "Drupal way" about many coding things. Now it's the "right way"! Drupal core now uses bleeding edge technologies, and that makes work really interesting.</p><p>Alex Tkachev Backend Developer</p></li><li><p>Frontend</p></li><li><p>TWIG Template Engine build for Frontend Developers</p></li><li><p>Drupal 7 .....</p></li><li><p>Drupal 8 Core Slimed down, no classes!</p></li><li><p>Drupal 8 Classy! All classes in templates files</p></li><li><p>TWIG Heavy lifting already done</p></li><li><p>CSS &amp; JS drupal_add_js/css() removed </p><p> No JS loaded by default! </p><p> Speeeeeed </p><p> Declare libraries </p><p> Attach libraries</p></li><li><p>Declare library</p></li><li><p>Declare library</p></li><li><p>HTML5 HTML5 out of the box</p></li><li><p>Responsive Responsive core themes </p><p> Responsive admin theme </p><p> Picture element</p></li><li><p>More libraries jQuery UI Touch Punch </p><p> Backbone, Underscore </p><p> modernizr </p><p> domReady </p><p> html5shiv &amp; classList</p></li><li><p>Frontend Twig </p><p> CSS &amp; JSS </p><p> HTML5 </p><p> Responsive </p><p> More Libraries</p></li><li><p>In my experience with Drupal 8 (and on this project in particular), working with Twig templates is much more concise and straightforward to code than a D7 .tpl file. As a developer with only basic PHP skills, the Twig syntax is easier to grasp. </p><p>Kathryn McClintock Frontend Developer</p></li><li><p>Drupal 8 It's awesome </p><p> It's not done yet</p></li><li><p>Next Steps 6 Critical Upgrade Blockers </p><p> Upgradable Betas </p><p> Head2Head!! </p><p> Single scripts for each new Head Version </p><p> https://www.drupal.org/project/head2head </p><p> Beta2Beta </p><p> Group of Scripts</p></li><li><p>Next Steps 42 Critical Bugs </p><p> Release Candidate 1 </p><p> New Critical Bugs? </p><p> Release Candidate 2 </p><p> New Critical Bugs? </p><p> Release Candidate 3 </p><p> ... </p><p> Drupal 8.0.0</p></li><li><p>Should I use it? YES </p><p> + if you can debug code </p><p> + you will need Head2Head for upgrading (or wait till Betas are upgradable)</p></li><li><p>Future Drupal 8.0.0 </p><p> Drupal 8.0.1, 8.0.2, ... </p><p> Patches, no new features </p><p> Drupal 8.1.0, 8.2.0 </p><p> New features </p><p> Backwards compatible! </p><p> Drupal 9.0.0 </p><p> No Backwards compatibility anymore</p></li></ul>