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

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

GraphQL with PHP and the Symfony Framework

Posted on Tue, 10/04/2016 - 01:09 by zhilevan

GraphQL is a data query language developed by Facebook since 2012. In September 2015 Facebook released it to the public domain. GraphQL is essentially an alternative to REST and despite the name, it's not a Graph Database Query language like Cypher from the Neo4j project.

The origins of GraphQL stem from the needs that Facebook's mobile applications had (and continue to have). They needed a data-fetching API that was flexible enough to describe all the different kinds of data that the social network had available.

Read More

PhpCompatibility for PHPCS : Are You PHP7 Ready?

Posted on Tue, 09/27/2016 - 00:44 by zhilevan

Sooner or later, there will come a time when you will need to migrate your projects to different PHP versions. How will you check if you’re compatible with a PHP version different to the one you’ve been developing on?

Read More

What are PHP Traits?

Posted on Wed, 08/10/2016 - 23:35 by zhilevan

One of the problems of PHP as a programming language is the fact that you can only have single inheritance. This means a class can only inherit from one other class.

 

However, a lot of the time it would be beneficial to inherit from multiple classes. For example, it might be desirable to inherit methods from a couple of different classes in order to prevent code duplication.

This problem can lead to class that has a long family history of inheritance which often does not make sense.

Read More