Find private properties in my PHP It is always good to use the lowest visibility possible for a class member, and only relax the constraint when it is really needed. This is probably a old adage, shared with other programming languages, and one that I’m trying to apply more and more. Public properties will act as […]
PHP 7 Static analysis tools With PHP 7 officially live, it it time to review code and get it ready for migration. It is now time to think about migrating code to the new version, taking advantage of new features et reduced server load. This means reviewing all the code : it may be too much […]
The Paris Open Source Summit, the premier European event centered on the Free & Open Source sector, is the result of the merger of two iconic Open Source events: Linux Solutions and the Open World Forum. Paris Open Source Summit attends the 18th and the 19th november 2015 at The Docks of Paris. The event strives […]
PHP Worl 2015 brings together the entire world of PHP into one location together. The idea is to bring everyone together to learn from each other and make the greater PHP community stronger for it. Damien Seguy, CTO of Exakat, will present the “Error messages in PHP 7” session based on our […]
PHP 7 is probably the ‘the easiest upgrade yet‘. After having checked that the old PHP 5.x is lintable with PHP 7, the next challenge is to read the ‘ backward incompatible changes‘ and see if it applies to the legacy code. The list is not long, and a quick text search will lead us […]
Heredoc PHP Heredoc PHP syntax is a way to write large bloc of text inside PHP, without the classic single quote, double quotes delimiters. It relies on <<< and a token that will also mark the end of the string. <?php $string = <<<STRING $x elephpants STRING ; ?> Heredoc has also the Nowdoc alternative, that […]
Exakat is proud to be a part of PHP Barcelona Conference 2015. PHP Barcelona is the premium conference of the PHP community in South Europe. Damien Seguy will present our gremlin experience in using graph approach to build a PHP abstract syntax tree. Join Damien the 31th at 18:00 in the main room for the […]
Before coding, we all want to produce clean, smart and efficient code. During coding, we keep the eye on the target, and when we’re done, the result is usually not what we expected. There is always room for improvement. Improvement may come in various flavors: corner cutting, PHP specific gotcha, migration or even old habits that […]
Static analysis refers to the review of code without executing it. Such review may be done as a phase of a coding project, or naturally occurring when the code is handed to a new programmer (That new programmer may also be yourself, six months later). In both case, the goal is to spot defects by […]
Install Gremlin for Neo4j 2.2 At the heart of the Exakat engine, we use Gremlin and Neo4j. Neo4j is the graph database, and Gremlin is the graph traversal language. Until today (2015, August 20th), Neo4j 2.2 had no working plug-in for Gremlin, which made us use the latest neo4j 2.1.8, but miss all the effort […]