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

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

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 zhilevan

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 zhilevan

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 zhilevan

 

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

How to write custom Twig filter in Drupal 8

Posted on Tue, 01/09/2018 - 23:54 by zhilevan

Twig is one of the  good template engines which is provided by SensioLabs, It’s syntax originates from Jinja and Django template, it’s Secure, Flexible and Fast : 

Twig is a modern template engine for PHP

• Fast: Twig compiles templates down to plain optimized PHP code. The overhead compared to regular PHP code was reduced to the very minimum.

Read More

PHP Machine Learning

Posted on Sun, 07/09/2017 - 13:42 by zhilevan

As you now I have Msc degree of Artifical Intelligence and Bsc in Software engineering, and several years experiences in programming and Development Especially with Python and Php, Particularly PHP is my incoming language, but I always suffering from it because it had limited abilities,limited libraries, Today, when I was in feed reading, I found an interesting article about  Machine Learning library in PHP with an example of how use this library, How to Analyze Tweet Sentiments with PHP Machine L

Read More

Create Multi Step Form in Drupal 8

Posted on Wed, 06/28/2017 - 10:10 by zhilevan

Creating a multistep form  was not straightforward in Drupal 7, although there were some solutions, like “mforms”,” multistep” and  apparent solution by show/hiding fields by “Field Group” module  but Drupal Developers have struggled to create MultiStep Form,   In this article I’ll try to describe how we can create  MultiStop Form in Drupal 8,it’s not hard as much as it was in Drupal 7, Drupal 8 makes it easy for us, stay with me.

 

Read More

Migrate to ZSH , Z Shell New and powerfull Shell

Posted on Sat, 01/28/2017 - 13:20 by zhilevan

After several years working with Bash today, I decide to migrate to ZSH, 
What is ZSH?

The Z shell (zsh) is a Unix shell that can be used as an interactive login shell and as a powerful command interpreter for shell scripting. Zsh is an extended Bourne shell with a large number of improvements, including some features of bash, ksh, and tcsh.

Read More

How Deploy Drupal to Heroku

Posted on Thu, 01/26/2017 - 23:26 by zhilevan

what is Heroku? It’s a service for developers eager to get their applications online without having to worry about infrastructure details. Metered, pay-as-you-go Cloud Computing services come in all kinds of flavors. Infrastructure as a Service (IaaS) offerings like AWS allows enterprises to shift their entire operations away from traditional data centers. The downside is that you’ll have to manage networking and provisioning yourself.

Read More