Drupal News

DrupalEasy: DrupalEasy Podcast 203 - David Hernandez (New Jersey, Governance, Docksal, tiny zoos)

mark.ie: Out of the Box has just been Committed to Drupal Core 8.6.x

  • Out of the Box has just been Committed to Drupal Core 8.6.x

    After two years of planning, discussing, and (eventually) coding, the "Out of the Box" initiative has just been committed to Drupal Core.

    markconroy Fri, 01/19/2018 - 13:30

    One of the things most often requested of Drupal has been a better experience "Out of the Box", so that when a new users installs it they see something more positive than a message saying "You have not created any frontpage content yet".

    To that end, a strategic initiative called the "Out of the Box Initiative" was set up. I was a member of that team. What we sought to do over the past two years was create a website for a (fictional) publishing company. We decided upon the name "Umami" for a food publishing company, publishing articles and recipes. We went through the full web design process - user stories, validation, requirements gathering, wireframes, design, development ... up to creating what we called the "MEGA Patch". And then submitted about 50 versions of it.

    This week we hoped our work would be committed to Drupal 8.5.0-alpha1, but we just missed that deadline. Instead, we had a meeting with the product owners last night to have the final "Needs Product Owners Review" tag removed from the "Create experimental installation profile" issue. Here's the video of that demonstration and meeting:

    Following that meeting, the tag was removed and our code was committed to Drupal 8.6.x. This means you'll see it shipping in Drupal in September at the latest, but we hope to get the final beta blockers fixed to have it backported to 8.5.0-beta. If you'd like to help squash some of the bugs, follow these "Out of the Box" issues. Here's the tweet from @webchick (THANKS!) announcing it:

    So, what is in this commit?

    This commit brings a new installation profile to Drupal. The profile is called "Umami" and has a corresponding "Umami" theme. It creates three content types - basic page, article, and recipe. It has listing pages for articles and recipes, some promotional blocks, a homepage, contact form, and search page. It is a fully-featured (small) website built using only (stable) Drupal core modules.

    We are not using experimental modules such as content moderation, layout builder, media, etc. Once they are stable, we hope to bring them into the "Out of the Box" experience as well.

    If you'd like to install it, try this link on SimplyTest.me.

    3 days 20 hours ago

Update Drupal site will node number based urls change too?

TIP Solutions: 17-years of development behind

Agiledrop.com Blog: AGILEDROP: Interview with Igor, our Development manager

  • We have sat down with our Development manager, Igor and ask him a couple of questions. Enjoy the interview.   When did you start working at AGILEDROP and what were your initial responsibilities? I started working at Agiledrop in September 2015 as a junior developer. At first, I was working mainly as a frontend developer with some small site building tasks so that I got more familiar with Drupal (I didn’t work with Drupal before). After few weeks I got more and more backend tasks and soon I became Drupal backend developer. Initially, I was there to learn Drupal and try to improve my… READ MORE

    4 days 2 hours ago

Amazee Labs: A new Intranet Platform for Allianz Suisse

  • A new Intranet Platform for Allianz Suisse

    We are proud to present the new intranet platform for Allianz Suisse. The intranet platform is designed to show the Allianz team news, events and updates and offers all the advantages of a cloud-based platform while conforming to the company’s stringent security standards.

    Sian Wheeler Fri, 01/19/2018 - 08:48

    The brand new intranet platform is an internal business tool for Allianz Suisse and thus, not accessible to the public. Thanks to the single sign-on function, users can now log in via Drupal using their existing Allianz account, while the ability to comment on and “like” different topics makes the whole system that bit more engaging.

    About Allianz

    Allianz Suisse offers a range of innovative products and services in all aspects of insurance, pensions and wealth management. With premiums of around CHF 3.6 billion, Allianz Suisse is one of the largest providers of property, casualty and life insurance in Switzerland.

    About the Project

    The project was developed based on Drupal 8, in partnership with drunomics. The platform features a Kerberos-based single sign-on functionality. All users are signed in automatically, while employees are also able to post their own replies to comments and “like” their favourites. Elasticsearch makes it easy to locate documents and content anywhere on the platform, providing the ideal solution in an age where instant access to information is a prerequisite.

    4 days 2 hours ago

Hook 42: December Accessibility (A11Y) Talks

  • As an early holiday present, for December's meet-up we had a very special accessibility guest, Heydon Pickering who chatted about "Prioritizing Accessibility.” For those of you who are veterans of the world of website accessibility, you probably already know a lot about what Heydon has contributed to our field. But for those of you new to this field, let me take a quick minute to give you some more background on our speaker.

    4 days 6 hours ago

PreviousNext: Analysing churn in Drupal core

  • After reading a blog post by Matthias Noback on keeping an eye on code churn, I was motivated to run the churn php library over some modules in core to gauge the level of churn.

    Is this something you might like to do on your modules? Read on for more information.

    by Lee Rowlands / 19 January 2018 What is churn

    As Matthias details in his blog post - churn is a measure of the number of times a piece of code has been changed over time. The red flags start to crop up when you have high complexity and high churn.

    Enter churn-php

    Churn php is a library that analyses PHP code that has its history in git to identify high churn/complexity scores.

    You can either install it with composer require bmitch/churn-php --dev or run it using docker docker run --rm -ti -v $PWD:/app dockerizedphp/churn run /path/to/code

    Some results from core

    So I ran it for some modules I look after in core, as well as the Drupal\Core\Entity namespace.

    Block Content File Times Changed Complexity Score core/modules/block_content/src/Entity/BlockContent.php 41 6 1 core/modules/block_content/src/BlockContentForm.php 32 6 0.78 core/modules/block_content/src/Plugin/Block/BlockContentBlock.php 20 6 0.488 core/modules/block_content/src/Tests/BlockContentTestBase.php 16 6 0.39 core/modules/block_content/src/BlockContentTypeForm.php 18 4 0.347 core/modules/block_content/src/Controller/BlockContentController.php 8 6 0.195 Comment File Times Changed Complexity Score core/modules/comment/src/CommentForm.php 60 45 1 core/modules/comment/src/Entity/Comment.php 55 25 0.548 core/modules/comment/src/Tests/CommentTestBase.php 33 29 0.426 core/modules/comment/src/Controller/CommentController.php 32 20 0.274 core/modules/comment/src/CommentViewBuilder.php 37 16 0.25 core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php 32 18 0.24 core/modules/comment/src/Form/CommentAdminOverview.php 29 17 0.191 core/modules/comment/src/CommentAccessControlHandler.php 17 28 0.19 core/modules/comment/src/CommentLinkBuilder.php 15 29 0.17 core/modules/comment/src/CommentManager.php 29 15 0.157 Drupal\Core\Entity File Times Changed Complexity Score core/lib/Drupal/Core/Entity/ContentEntityBase.php 115 173 0.808 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php 61 196 0.465 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php 56 203 0.427 core/lib/Drupal/Core/Entity/Entity.php 131 43 0.212 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php 41 105 0.16 Conclusion

    So, what to do with these results?

    Well I think if you're looking to simplify your code-base and identify places that would warrant refactoring, those with a high 'churn' score would be a good place to start.

    What do you think? Let us know in the comments.

    Tagged Drupal Core, Code Complexity, Drupal 8

    4 days 11 hours ago

Pages