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 […]
Manual Code Review used to be The established standard is one write the code, and another one review it. This is safe and sound: no one can both be judge and be judged. Times are changing and they won’t stay long that way. Manual code reviews are definitely good for team building : obviously, experienced developer […]
在为ClearPHP收集规则的时候一个总是回来的问题就是定义规则来源的领域。代码约定和概念覆盖不同的域而且很少会相互重叠。ClearPHP规则的目标是尽量接近语言和它的技巧,远离语义(semantics)和架构。为什么呢?
The art of PHP callback PHP callback are functions that may be called dynamically by PHP. They are used by native functions such as array_map, usort, preg_replace_callback, etc. Here is a reminder of the various ways to create a callback function in PHP, and use it with the native functions. String functions Strings are the […]
通过PHP静态变量进行缓存 当一段代码里在重复使用一个方法调用时,你也许会问如果把值本地缓存起来难道不会更有效率,这样完全避免函数调用而提高处理速度。让我来看看我们如何可能来使用缓存通过PHP的静态变量。