Alexei Rayu's blog

Is Drupal 8 more complex and expensive?

I have watched the videos from DrupalCon Dublin 2016, so graciously uploaded by the Drupal Association. In a few of those videos, I have heard the speakers complain about two things in Drupal 8: it's complexity and it's development cost. One speaker even voiced a number of 25% of development cost increase. I have paused at that point and gave it some thought, because I felt somewhat dubious about this. Yes and no.

Drupal 8 with Backbone.js

I have just completed my first Backbone.js app with Drupal 8. It has been a new experience for me. I needed to build a solution that related to the views filters and content listings. As you probably know, Drupal 8 content listings are powered by views now, which allows users to configure filters and add fields to the table of content. So, when different editors work with different filters and columns, they want to hide some and show only those that they need. My task was to build a solution that allowed each user with permissions to select, which filters and which table columns they want to see.

My second Drupal 8 site is live!

Now, I am not going to blog post about every new site I make (and I make lots of them), but I can't help blogging about this one, since this one was very hard and very gratifying. I have taken this task when contacted by a Stuttgart company named COBI to move their static site to Drupal 8. This was the same month when Drupal 8 just got released, so you can imagine my skepticism.

Drupal 8 - Display submenu in a block

To edit and place a submenu in a block in Drupal 8, place this code in the block plugin class file:


   * {@inheritdoc}
public function build() {
$menu_tree = \Drupal::menuTree();
$menu_name = 'main';
$parameters = new MenuTreeParameters();
$tree = $menu_tree->load($menu_name, $parameters);
$manipulators = array(
'callable' => 'menu.default_tree_manipulators:checkAccess'),
'callable' => 'menu.default_tree_manipulators:generateIndexAndSort'),


View the whole post to see the rest of this code.

Drupal 8 - Developer’s and Themer's Impressions

I have been working on two Drupal 8 projects recently, neither of which have been published yet. One is a static site to Drupal 8 migration, that is still under way, and another a Drupal 6 to Drupal 8 upgrade project, that has been completed. Now that Drupal 8 has become stable and more modules have been converted to it, I am happy to say, that Drupal 8 is quite good and has some very good benefits for both a developer and a themer, as well as some rough edges.

A New Study: HHVM beats PHP7, and Drupal 8 beats Wordpress 5x in Performance.

You might have seen me write before, that Drupal 8 is about 3x times faster that the Wordpress. Now, there has been a new study, oriented mainly on HHVM VS PHP7 performance, which has proven what was already known: PHP7 is still somewhat slower than HHVM, even though it is times faster than PHP 5.6. The study compared different CMS performance under both HHVM and PHP7 on the same server. Thus, we can use the results to compare the CMS between each other. If you read the results, you will see, that Drupal 8 is about 5x times faster than the Wordpress. I take it as an additional proof that my observations of Drupal 8 performance as being at least 3x better than that of Wordpress is true. Source of the new study:


Subscribe to RSS - Alexei Rayu's blog