This Week in Drupal Core: October 3, 2013
by Alex Bronstein
"Cross Posted from groups.drupal.org"
The most notable Drupal core news since last time around is DrupalCon Prague happened, with lots of Drupal 8 sessions, sprints, and all-around goodness.
Dozens of core developers spent over 30 hours in 20 dedicated brainstorms and deep-dives to solve hard problems in Drupal 8 core, focusing on three critical areas: Drupal 8 API completion, developer experience (DX), and performance. The notes from these talks can be found at http://bit.ly/prague-notes and are making their way to the issue queue.
And, of course, lots and lots of sprinting! There were 120+ sprinters on Monday, before the conference even started, which required folks to sprint on the floor since we ran out of tables and chairs. :) Friday's sprints sported hundreds more, in both the main contribution sprint room and the Get Involved with Core Sprint, and about 30 hardcore folks even stayed the weekend past the conference. The RTBC queue for Drupal 8 core was 170+ issues by Monday.
Photo credit: Amazee Labs
DrupalCon was also a time of taking a step back and looking at what we can do better process-wise going forward, during Core Conversations such as D8 lessons learned and how we can make D9 better and Future-friendly evolution and the Drupal release cycle. Funding was also a hot topic, as we seek to make core development more sustainable. Entity/Field API developer Yves Chedemois was able to successfully raise funds for a new laptop in about 24 hours! As a community, we should also be proud that Drupal 8 co-maintainer Alex Pott continues to hold the #1 spot of Gittip recipients, and we'd love to see more contributions flow his way to give him more time to keep Drupal 8 commits humming along before he needs to resume employment somewhere.
The community also put in significant effort to ramp up work on tools and materials to help upgrade modules to Drupal 8, including:
- A core conversation by Joe Shindelar about how to teach Drupal 8 now, with a later BoF on the same topic (notes here).
- Two "labs" on what modules look like in Drupal: Your First Drupal 8 Module for an overview of major APIs and patterns, and for a walkthrough of D7 vs. D8 code and hands-on, real-time module upgrade experience.
- An initiaitve to port Examples module to Drupal 8
- Creating a battleplan for Coder / Coder Upgrade, which still needs feedback!
- Adding Drupal 8 Module Builder scaffolding code to ease people into new APIs.
- Several "hard problems" discussions around improving the "DX" (developer experience) of Drupal 8 core, informed by the direct feedback from folks porting their modules. A D8DX battleplan is to be posted within the next few days).
And, as a cherry on top of the "make Drupal 8 easier to upgrade to" sundae, Dries announced during the Drupal 8 Leadership Q&A session that Drupal 8 will provide a migration path from both Drupal 6 and Drupal 7 sites, as well as provide the "core" of Migrate module out of the box, in order to support other migration paths in the future!
There are many opportunities in the above links to get involved, so if you want to get a start on the Drupal 8 learning curve early, and help others through the hump as well, please jump in!
The best of
git log --since "2 weeks ago" --pretty=oneline (147 commits in total):
- #1199946 by alexpott, fubhy, bojanz, steinmb, chx, catch: Remove module_disable(): In order to help expedite critical CMI work, and to prevent data integrity problems, the disabled modules functionality has been removed, in favor of uninstalling modules to stop their code from running. There's a critical issue to restore disabling modules in a temporary/debug capacity.
- #1952062 by vijaycs85, willyk, pfrenssen, vasi1186, CMS Dude, manningpete, penyaskito, kfritsche, Gábor Hojtsy: Remove legacy (node copy based) translation module: Huge props to the multilingual team for unifying Drupal 7's conflicting (node vs field) translation approaches into a single system for Drupal 8.
- #731724 by larowlan, andypost, dixon_, tsvenson: Convert comment settings into a field: This awesome site builder change allows comments to be used on any entity type, not just nodes, by simply adding a "Comment settings" field.
- #1908440 by chx, clemens.tolboom, Cottser, heddn, YesCT: Relax PHP file storage permissions: This patch made it so that Drupal 8 and Drush/editors/other tools are once again in harmony if your web server and command line users are different.
- #1605290 by amateescu, msonnabaum, Caseledde, damiankloip, beejeebus, catch, Berdir, Wim Leers: Enable entity render caching with cache tag support: From the "kick-ass performance improvement" department, the output of all entities is now cached by default. And, thanks to the cache tagging system that was added earlier in Drupal 8, any individual entity's caches will be cleared automatically when anything referencing the entity has changed!
- #1751194 by Cottser, mikl, benjifisher: Introduce hook_theme_suggestions_HOOK() and hook_theme_suggestions_HOOK_alter(): Now, instead of smooshing theme suggestions in with other preprocess logic, Drupal 8 offers dedicated hooks for an improved "themer experience."
- #2090353 by dawehner: Don't require use statements in plugin classes. Down with verbosity! Now, plugin classes can automatically pull in annotation-related dependencies without them having to be listed at the top of the file.
- (various) Update or create hook_help() texts for D8 core modules: ifrik led a documentation sprint at DrupalCon Prague, during which 28 contributors helped ensure that all core modules have accurate help text. Great job!
Drupal 8 Around the Interwebs
Blog posts about Drupal 8 and how much it's going to rock your face.
- You can find a full list of all DrupalCon Prague session videos, which are chock full of Drupal 8 action!
- In Introducing the EntityFormController, Tim Eisenhuth provides a before and after view of how entities define their forms, highlighting one of Drupal 8's neat new APIs in the process!
- In Drupal 8 Might Be Useful, Greg Harvey runs through the awesome site builder improvements in Drupal 8, as presented by Kristof De Jaeger in his Drupal 8 for Site Builders talk at DrupalCon Prague.
- In Please, stop stewing, and start blogging about Drupal, Bryan Braun pleads with all Drupalistas everywhere to start sharing knowledge with one another about anything and everything Drupal. At least one D8-related blog has spun up in response.
- Liran Tal's Drupal 8 blog series has a few more entries, including routing system and settings page changes.
- Brian Vuyk walks readers through creating a basic module in Drupal 8 isn't Scary, Pt. 1: Introduction & Creating a Hello World Module
- Wim Leers's post at Building really fast websites with Drupal 8 provides the intro and slides to his session on performance at DrupalCon.
- Kendall Toten at MediaCurrent gives a run-down of The Drupal 8 Mobile Initiative in this webinar.
Drupal 8 in "Real Life"
Events coming up in the next couple of weeks that have a decent amount of content dedicated to Drupal 8 include:
- Oct 4: The inaugural Contrib Sprint Initiative (CSI) sprint kicks off at MD Systems in Zürich, Switzerland. This is a monthly sprint to help make contributed modules production-ready on Drupal 8.
- Oct 4-5: Pacific Northwest Drupal Summit in Vancouver, British Columbia, Canada, with talks on PHPUnit, the pradigm shift from hooks to plugins, using Drupal 8's statistics API, and a live demo of Drupal 8.
- Oct 11: Drupaldelphia in Philadelphia, Pennsylvania, USA there are proposed sessions on Your First Drupal 8 Module, Drupal 8 Routing, and Dependency Injection.
Whew! That's a wrap!
Lots of headway on really tough problems, and expect more big patches to land as the RTBC queue slowly recovers from DrupalCon Prague.