Naser Sobhan

Accomplished Software Engineer and Solution Architect

  • Home

First Day of Drupal

23/06/2019

After like 7 or more years I am in a Job that need to learn Drupal and work with Drupal, it’s kind of confusing after developing with PHP native and now starting again with a CMS. but as I see Drupal is one hell of a beast.

Installation

Installation should be easy like other CMSes right? Download the script package put it in your htdocs, public_html folder to be public and in the other side create the database and setup installation

but I saw the Drupal has something special called Acquia Dev Desktop and after I tried to install it in xampp I saw a big Warning says you have an issue with date and it’s not good experience to install it in xampp. and I needed to install opcache which was not that hard.

just added below into my php.ini

zend_extension = "C:\xampp\php\ext\php_opcache.dll"
 opcache.memory_consumption=128
 opcache.interned_strings_buffer=8
 opcache.max_accelerated_files=4000
 opcache.revalidate_freq=60
 opcache.fast_shutdown=1
 opcache.enable_cli=1

it seems I had the php_opcached.dll download with xampp 7.2 and everything was fine.

but I ignored the date problem for the start.

After Installation I tried to google where to start the development I saw there are few tools for developer that makes our life easier.

Drush

Drush is an awesome shell interface for managing Drupal right from your cloud server command line. It is a very useful tool as it helps you perform various admin tasks using just one or two commands in the terminal, replacing the need for many clicks and page refreshes in the UI

From Digital Ocean Website

Installation of Drush:

  1. You have to Install Composer and setup
  2. Run this command in PowerShell:
composer global require drush/drush:8.* 

Drupal Console

The Drupal Console is a suite of tools that you run on a command line interface (CLI) to generate boilerplate code and interact with a Drupal 8 installation. For earlier versions of Drupal, see drush-related coder module tools.

From Drupal Website

Installation of Drupal Console:

  1. Install the Composer
  2. Install git Client
  3. Run this command in PowerShell:
composer require drupal/console:~1.0  --prefer-dist --optimize-autoloader

Posted in: Daily Activity, Developers Tagged: Drupal

Blog Posts

  • How to Design and Implement Software Architecture Patterns: 5 Best Practices
  • Unveiling the Top Traits of a Successful Software Engineer – What it takes to Excel in the Competitive World of Tech
  • Decoding Software Architecture: Your Guide to the Design Process
  • How to improve your soft skills as a software developer?
  • 12 Soft Skills That Every Developer Must Learn to Succeed

Copyright © 2025 Naser Sobhan.

Me WordPress Theme by themehall.com