aApp Example Overview
12 Mar 2018

aApp Drupal 8 AJAX Application

I always wanted to write some small framework for Drupal, that would allow me to easily create simple AJAX applications. Import content, perform this or that action without page reload, etc. Drupal already has AJAX support through form API, but that still keeps most of the work on the back end. I needed a tool to call back end only if I need to. At last, I met a project where this was needed, a contact search app built for, the Drupal agency in Stuttgart. The app was then abstracted and made reusable, and I created a simple example module that shows its basic use.
9 Mar 2018

Drupal 8.5 is out, and it's blazingly fast!

Drupal Association has announced a new Drupal 8 version. Drupal 8.5 has been released. It has about 1300 fixes and enhancements, and introduces working Media module in core. One thing that I have noticed, though, is that it's blazingly fast. This makes Drupal 8.5 highly competitive on shared hosting, making it desirable for smaller sites (which I also build).
Location search map
4 Mar 2018

Drupal 8 is Great for Web Apps

I have been working on an interesting project with arocom web agency as of late. Their client requested a web application with search functionality. Offices and contact persions can be found either by clicking the office icons, or by searching by ZIP. It was when working on the app that I could not help but enjoy the ease with which Drupal 8 allows to incorporate Javascript apps, create response controllers, and query entities. Well done, Drupal! Doing back and front end, and integrating them has been a pleasure!

2 Feb 2018

DigitalOcean Doubles RAM

DigitalOcean as finally reached a decision to match the offer of Linode, and doubled RAM for all price plans. Now, the smallest plan is $5, 1 GB RAM (+100%), 25 TB SDD (+20%). All new droplets created per price plans, will have new RAM amount applied. This is great news for those of us who have been hosting custom sites running some heavier Drupal 8 setups. For the existing droplets, the increase will not be applied automatically. Existing droplets need to be stopped and resized to the corresponding updated plans for free.

WordPress vs Drupal Trends.
28 Dec 2017

Drupal and Thoughts of 2017

2017 is practically over. I am sitting with the family, thinking about the old year and the new, Of course I could write about more things than web development and Drupal, but I will limit myself to this topic for the sake of this blog. 2017 has been an interesting year for me as a web developer. Not as good as 2016 financially, but still quite interesting and educating. Here are my top points (very subjective, of course), written down below.
Minimize Expenses with Drupal 8
16 Oct 2017

Minimize Expenses with Drupal 8

Development and maintenance times for Drupal 8 can be strongly optimized, saving 20% or even 30% development cost for smaller websites thanks to using the tools wisely and using ready-built distros for lower start. The hosting, however, can not be the same as it used to be for Drupal 7. Having a cheaper hosting will mean higher maintenance times, which is not worth it. Hosting needs to be optimal, even though somewhat more expensive.
Dries Buytaert at DrupalCon Vienna
10 Oct 2017

Why Drupal 8 is not for Small Websites

Now it has happened. In his DrupalCon Vienna keynote presentation, Dries Buytaert, the Drupal trademark owner, has announced, that “Drupal is no longer for small websites.” At the same time, he said he is offended, when people say Drupal is only for the “Enterprise” websites now. This does seem wrong to me in a number of ways. Now, after about two years of experience working with Drupal 8 in larger and smaller businesses, I think there is both truth and inconsistency in what Dries has said. So let’s sort things out.
Drupal Composer
18 Sep 2017

Convert an older Drupal 8 site to use Composer in 10 steps

I started using Drupal 8 from early on. Since Drupal 8.2, it has made Composer and undeclared dependency. I realized I could no longer install modules and manage dependencies in a sane way, as well as update my sites, without converting them to use Composer. Converting the sites to use Composer can be hard if you have issues with your site, like missing modules or broken configuration. If your site is healthy, though, following the next 10 steps should not be hard.

10 Sep 2017

Why you may not want a headless (decoupled) website.

Developers used to call this kind of architecture headless, but it's called decoupled more often today (because who wants a "headless" website?!) It's the next cool word today. It's the today's black. There's a lot of talk about the decoupled in the Drupal community now. It's the eye of the hype now, being cool and technologically advanced. There can be reasons, however, why this hype may not at all be for you.

19 Mar 2016

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.