How Deploy Drupal to Heroku

Posted on Thu, 01/26/2017 - 20:56 by yuseferi

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

Get ride of curious users on headless Drupal

Posted on Fri, 12/16/2016 - 11:07 by yuseferi

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 - 21:09 by yuseferi

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 Fri, 10/28/2016 - 23:55 by yuseferi

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

10 useful nmap Commands for life :D

Posted on Sun, 10/16/2016 - 08:59 by yuseferi

Recently I was compiling a list of Linux commands that every sysadmin should know. One of the first commands that came to mind was nmap.

nmap is a powerful network scanner used to identify systems and services. nmap was originally developed with network security in mind, it is a tool that was designed to find vulnerabilities within a network. nmap is more than just a simple port scanner though, you can use nmap to find specific versions of services, certain OS types, or even find that pesky printer someone put on your network without telling you.

Read More

Short trip on Entity API in Drupal 8

Posted on Tue, 10/11/2016 - 20:36 by yuseferi

There is a lot of literature about entities and their purpose in Drupal 7 context. Most of it has been adopted in Drupal 8 as well. In this post, I'll highlight the differences between D7 and D8 entities and how to use the entity API in 8.

Entities have their own classes in 8. Also, Drupal 8 introduces the concept of config entities. These are used to store user-created configuration if its more than a piece of text, boolean or integer. They differ from the usual entities in the following ways:

Read More

WooCommerce vs Magento: A Comparison

Posted on Sat, 10/08/2016 - 21:02 by yuseferi

Today, eCommerce is a booming field, as an increasing number of businesses move into the online retail space to reach a wider audience and unlock the potential to maximise their profits. This means the tools required to set up and run an online store are in high demand, and storeowners are often spoilt for choice.

Read More