📜 ⬆️ ⬇️

The digest of interesting materials from the world of Drupal # 17

Hello!
We collect useful articles and latest news from the world of Drupal and share with you once a month. Meet the first release this year!



In Russian


  1. Let's start by writing your own module for Drupal 8. The result will be a simple homemade page.
  2. February 24 ends support for Drupal 6. It's time to move to the eight, well, or at least a seven. In the first case, see Andrei Berezovsky's report , in the second - read the article on the blog angarsky.ru .
  3. Maria Sherskova on connecting JS in the Drupal 8 theme .
  4. Blog nightdevel.ru continues to delight detailed articles on the seven. At this time, considered the basic tools for creating their own types of entities. It is worth noting that both the Entity API and ECK are very voluminous topics and, of course, did not fit the whole article.
  5. A little about DevOps. Translation of the Drupal website from MyISAM to InnoDB .
  6. Setting up a Docker container with Apache Solr for local development.
  7. To community news. A group of active members of the Drupal community is working on a project of the Russian Drupal Association. This is an important step to unite and strengthen the local community both domestically and across the market. To join the working group, please fill out this form .


')

Drupal-lite


Some articles for beginners:
  1. We use Views when rendering a drop-down list when creating links to other entities .
  2. Author's selection of 12 interesting modules .
  3. Another top modules for Drupal .
  4. An example of the fact that sometimes it is worth making your own small module instead of screwing a hefty contrib. We subscribe users to Mailchimp.
  5. We create the simplest module on Drupal 8 .


Drupal 8




All for the developer


  1. Since PHP supports this, don't forget to document regular expressions .
  2. Visualize the relationship between entities .
  3. If for some part of the functionality of your Drupal site, Node.JS is required, but your hosting does not allow using it, then as an alternative, you can try using a remote Heroku server .
  4. Correctly migrate to Drupal inline pictures in the text boxes of imported pages.
  5. Drupal 7 found several new attack vectors . Some of them are based on the fact that Drupal itself does not use a secure connection when updating modules via an interface.
  6. We use the PSR-4 autoloader standard in Drupal 7 .
  7. Konstantin Komelin wrote a note about program management of views .
  8. In the presentation “ Make your site hot with SVG! ”Addresses the issues of the correct use of vector graphics on your sites.
  9. We filter spam using Honeypot , but do not lose sight of the fact that these techniques can affect caching .


Automation


Allocated near-devops in a separate section:
  1. Unfortunately, for the time being, Composer is not particularly useful for managing dependencies of projects on Drupal 8 to the fullest extent. At least, without crutches and special modules . But this theme is developing rapidly. Do not miss out!
  2. Manually install Apache 2.4 via MPM, PHP-FPM on Debian.
  3. A detailed series of articles on the use of Docker in the development of sites on Drupal added work on the use of Jenkins to create downloadable images .
  4. We integrate Jenkins with Slack and GitHub .
  5. One of the most supported virtual machines designed specifically for Drupal, has recently been updated with a number of new features . It is also worth paying attention to the article “ Drupal 8 with Redis, PHP 7, Nginx, and MariaDB on Drupal VM using CentOS ”, where using this virtual machine various experiments were performed to speed up the system by installing additional software.
  6. Video report on the use of Behat (BDD tests) in Drupal .


Business and community


  1. Send to the client in the discovery phase? Checklist “ Discovering Discoveries ” will help you not to forget anything.
  2. The beginning of the year is retro time. The company Lullabot shares the history of its formation , Dris Acquia successes over the past year , and the site Drupal.org his change-log .
  3. Being asked the right question in time can save you a lot of nerves.
  4. By the way, please note that the companies on D.org have beautiful addresses .
  5. One of the largest British bicycle sites is also made on Drupal.
  6. Larry Garfield calls out of the cozy Drupal shell and help other PHP projects.
  7. The start-up on documenting the WalkHub sites in the Drupal community either makes a “pivot” or expands and launches EmbedHelp , a help widget on the site.
  8. For beginners and community activists: the next Global Training Days are scheduled for February 5-6, April 8-9. What is not a reason to hold mitap in your city?


Modules


  1. Dream permissions
    We get rid of the headache when editing gigantic sets of rights and roles. This module adds the necessary filters there.
  2. Entity claim
    The module, which closes a rather narrow use case, nevertheless, it makes it quite convenient to implement a system for moderating requests for authorship of pages.
  3. Commit author
    We quickly determine who committed the unfortunate line that caused the PHP error.
  4. YAML form
    A very powerful module for describing your forms in YAML format. It offers integration with a variety of other modules, exporting results and a number of other features.
  5. D8 Editor File
    We load inline files into a visual editor.
  6. Human
    The original module to determine the bots based on the analysis of mouse movements.
  7. Scheduled Updates
    We postpone the update of arbitrary fields for some time.
  8. Workbench Moderation
    A well-known module for organizing the process of moderating content is ported to the eight.
  9. Recurly
    Module for integration with the Recurly service, which is used to organize subscriptions.
  10. Big pipe
    Using Facebook's BigPipe technology to significantly speed up the rendering of pages. An explanation of how the module works .


That's all for today. We declare Friday the day of the holivar: what do you think about, for example, the React in the core ? :)

Oleg Kot and Katya Marshalkina worked on the issue. Subscribe to our newsletter , listen to our podcasts , send interesting articles and learn new things with us!

Source: https://habr.com/ru/post/276137/


All Articles