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

Query on Drupal 8 with EntityQuery

Posted on Sat, 01/14/2017 - 16:02 by zhilevan

Often when building a site in Drupal you'll find yourself wanting to display a list of nodes, or find entities created by a particular author, or locate some content based on a particular set of criteria. Rather than querying the database directly, Drupal provides a helper class, EntityQuery, to make things a bit easier.

Read More

Get ride of curious users on headless Drupal

Posted on Fri, 12/16/2016 - 13:37 by zhilevan

We using Drupal 8 as headless ( Decoupled) core of  Zeyton project,we  setup Drupal at core.zeyton.com and that provides data for our Front-end Layer, One of our requirements is only admin could access the Drupal pages, I mean anonymous user couldn't surf Drupal pages So I suggest a plan to satisfy this requirement, my scenario  is when user try to access Drupals pages  we check user if  user is not logged on or current path is not our ENDPOINTS paths redirect user to  login page, In D

Read More

Run a php script in background

Posted on Tue, 11/08/2016 - 23:39 by zhilevan

When we need to run some script without waiting the fronted user till the process is not completed, For that we need to execute some script in background to hiding the execution time to user.This process is hidden to the end user. It improves your Website efficiency.

Read More

Nginx config for Drupal 8

Posted on Sat, 10/29/2016 - 01:25 by zhilevan

Just in case anyone is wondering what's the correct way to configure Nginx for running Drupal 8 installation, or having trouble with Clean URLs or Image styles, I'll post my config as a Gist here.

The Gist will be revised and improved over time, so please come and check for updates! Suggestions or thoughts are welcomed in comments.

Embedded code below:

Read More