What is Autowiring? how to use Autowire in Drupal

Posted on Thu, 01/10/2019 - 15:09 by yuseferi

 

I heard about the autowiring concept several years ago in spring java, 

 

Autowiring feature of spring framework enables you to inject the object dependency implicitly. It internally uses setter or constructor injection.

in Symfony 2.8, in November 2015, the autowiring concept introduced in a PHP framework for the first time.

Read More

Drupal Global Services, How to use global services in Drupal 8

Posted on Sat, 08/25/2018 - 21:38 by yuseferi

One of the significant improvements of Drupal 8 that got me excited was the services & dependency-injection throughout the entire Drupal system. From aspects like routing, templating, managing configuration, querying and persisting data, you name it everything is done with services. it's fantastic because it grants developers a level of flexibility in extending Drupal that is far greater than what Drupal 7 was able to. by using well-disposed structure developers get ride of ravioli coding.

Read More

Fix Drupal Files/Directories permissions by PHP after hacked

Posted on Wed, 08/08/2018 - 08:48 by yuseferi

Last night one of our former company's customer called me and need help to recover their hacked website, 

First of all, I install the Hacked module, and check the changed files and recover them, then looking and cleansing some backdoor files which their job is to inject codes for external codes(most of the time, js files to traffic hijacking) to the website.

 

Read More

Basic micro service based on Django-Posgres-Gunicorn-Nginx

Posted on Sun, 07/22/2018 - 14:25 by yuseferi

I’m working in a company which our main product is based on Php, with several servers and several services, but when a project gets larger and larger it’s very hard to extend it and in modern design architectures, micro-service architecture could be a good solution. 

Read More

Drupal entity API cheat sheet

Posted on Sat, 07/21/2018 - 08:07 by yuseferi

As I've explained Short trip on Entity API in Drupal 8  Entity is the most important thing in Drupal 8, Almost, everything is Entity. So for a Drupal developer, it should be good to have a cheat sheet of Entity API instead of googling every time he/she need something, and of course, after a while, they saved in the long-term memory of Developer.

Let's jump into summarized Drupal 8 Entity API.

Read More

Another come back

Posted on Thu, 07/12/2018 - 23:34 by yuseferi

It's been a long time since last year I have written nothing, busy on life and busy on work make me lazy to write about my experiences, actually, I enjoy sharing my knowledge and experiences with others and learn from  their knowledge and experiences as well,I  come back to write you about the new experiences  I've faced since last  six month. 

Stay with me, I have good articles with you, I want to write about  Microservice architecture, Data Engineering, cool tools in Machine learning and Data Engineering,

 

 

Read More

What's new in Drupal 8.5

Posted on Wed, 02/07/2018 - 10:18 by yuseferi

 

It's long time Drupal 8 has been released, it's in the middle of the way but it's going to get matured. Drupal 8.5 is going to release on  March 7, 2018. good features are going to released, significant improvements. you can the list of them Drupal Core RoadMap(8.5 + 8.6) 

 

Read More