The digest of interesting materials from the world of Drupal # 9
Hello! For a month we have accumulated a lot of interesting links for you. Meet the ninth edition!
In Russian
Spring in the Russian Drupal community was fruitful. Catch ten links to excellent articles in Russian:
A large technical article “ Creating a node through a custom form using the CTools modal window ” has appeared on the angarsky.ru blog. And although this material is far from being for beginners, we are honorably discovering a digest for them! Everything is very detailed and correctly explained and shown in the real code.
Want to make your rapidshare with a timer before downloading? Pavel Kataev shared his module Delay Download for this purpose, although the module is not yet available from drupal.org.
The guys from DrupalSPB.org conducted a regular mitap (see the presentations on the pages of reports) and Global Training Day , for which they have great respect!
But, of course, the lion's share of information is formed by the world community. Everything below is in English. But even if you are not strong in English, do not worry: the drupaler will always understand the drupaler! ')
Drupal lite
Drupal Lite is not a fork of Drupal (at least for now), but our rubric for beginners.
Drupal 7.37 has been released. Among the changes you can note the appeared folder sites/all/libraries , as well as the ability to use underscores in the list of allowed tags for your filters.
Choosing the right module is not such a simple thing, especially for beginners. Useful tips for how, what, where, and why are presented in a series of articles on Selecting Drupal Modules: What Do You Need? , ( II , III ). By the way, kalabro wrote about it two years ago, and also in three parts ( I , II , III ).
Video from DrupalCon Los Angeles 2015 . Here are a few ( 1 , 2 ) opinions that are worth seeing. Subscribers of our newsletter sent a letter with the analysis of speech Dries, the creator of Drupal.
In the Learning To Debug note : Stop Thinking and Look, the author discusses the correct debug and urges us to be more careful not to waste extra hours, effort, and time to cure the symptoms instead of the disease.
Sometimes for debugging we need to perform a whole sequence of PHP operations, for example, load the node with ID = 1, dump it, load the node with ID = 2, etc. We have Devel> Execute PHP Code, as well as the Drush-command `drush php-eval`, but this is not convenient enough compared to normal REPL in other languages (for example, Python), where the output of each line is displayed. In this regard, you may be curious about the product Drush REPL, to which a separate article is devoted.
And again about search engine optimization after Mobilegeddon. In fact, everything is not so scary. A few simple modules will help you significantly improve your position.
It turns out that screwing the search from Google to your Drupal 7 site is a snap .
600 SQL JOINS in one query? This is a very real situation for a large project, if you start blindly storing any data in the fields. This problem is discussed in the Drupal: Fields or Properties (or something else) article, where the author offers several solutions.
MySQL's highload configuration has a number of nuances (for example, the choice of IO scheduler of the operating system), some of which are described in detail in the MySQL material - Setup .
On some projects, there are really large databases (for CMS;> 2 GB), the import of which for testing, review and other activities can take a fair amount of time. In the article Importing huge databases faster, the question is thoroughly understood.
Governments of different countries have recently become a regular customer of Drupal sites. This happens for various reasons: cheap, open source, etc. One of the reasons is also support accessibility for people with disabilities. A series of articles Web Accessibility Tips for Developers: parts 1 and 2 will help to deal with this topic.
It seems everything. Although no, what kind of digest without features? The article Features Secret Rolemageddon discusses the pitfalls in exporting rights and roles through Features.
In 8-ke, along with PHPUnit for unit testing, Simpletest still remains. Features of working with him are revealed in the material Automated Testing of Drupal 8 Modules .
If you're wondering how to connect a CDN from Amazon to Drupal 8, then be sure to read the article Amazon CloudFront with Drupal 8 .
Reincarnation of the Features module in Drupal 8 - with the hope that the module will now be used for its intended purpose.
Who are we and where are we going? The Cultural Construction of Drupal is a great educational work on the Drupal community. Read and article, and comments.
In the subject, you can also read the comment Dries to purchase WooMattic . In general, we can state a greater roll of Drupal in the direction of large enterprises.
Edison Berry, the new Board Director of the Association, tells what it is .
Interesting modules
Theme developer Sometimes it is difficult to determine which template was actually called for the rendering of an element. The Devel Themer module helps to deal with this. A separate article is devoted to the work with it.
Dynamic widget for commerce line item field In a good way , it is incorrect to store only references to existing products in the archives of orders from online stores. Product properties may change over time, so it’s best to keep all product data in the line item of an order. The module does just that.
403 to 404 In Drupal, the default error is 403 Access denied when unauthorized users access certain pages. In terms of security, it is sometimes better to output 404 Not Found.
Mobile sliding menu The module allows you to use the convenient slider menu on your website so that your navigation will be mobile-friendly. The jQuery MMenu library is used . A separate article is devoted to this module.
REST / JSON Another REST implementation, again mainly aimed at reading data.
Entity Panels Easy replacement Panelizer from Maxim Podorov.
Views String Select If you do not have enough of the glossary built into Views (and there it is), you should pay attention to this module.
Safeword Machine name, only as a field. You can use, for example, to specify a part of the path alias, and close the access to the standard Path field so that users do not break anything.
PS In Drupal Planet , the format of podcasts is quite popular , but in the digest we ignore them for the time being. Does anyone listen? Worth adding, what do you think?