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

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