Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Loïc Faugeron:
Mars Rover, Driving instruction
Aug 17, 2016 @ 14:47:01

Loïc Faugeron continues his series of "Mars Rover" posts with this new article focusing on a refactor of the currently defined method of "driving" the rover.

In this series we're building the software of a Mars Rover, according to the following specifications. It allows us to practice the followings: Monolithic Repositories (MonoRepo), Command / Query Responsibility Segregation (CQRS), Event Sourcing (ES) [and] Test Driven Development (TDD).

We've already developed the first use case about landing the rover on mars, and we've started the second one about driving it. [...] In this article we're going to refactor DriveRover

He points out the reason for the refactor: there could be a desire to have more that one driving instruction in the list to execute. He starts by using phpspec to define the "Instruction" class and some tests to ensure the different directions are handled. He then moves over to the "Instruction" test and moves the code from the "DriveRover" class into it, including the valid driving directions.

tagged: mars rover tutorial series driving instruction refactor phpspec

Link: https://gnugat.github.io/2016/08/17/mars-rover-driving-instruction.html

Christopher Jones' Blog:
Updated connection pooling in PHP's OCI8 extension
Feb 01, 2008 @ 16:16:00

In this new post to his Oracle blog, Christopher Jones mentions some updates he's made to the OCI8 extension for PHP:

I've merged connection pooling (DRCP) and Fast Application Notification (FAN) support to PHP 5.3's OCI8 extension. The PHP 5.3 OCI8 code is Beta - in fact, PHP 5.3 itself is still really "Development". (It would be handy to have problems reported before PHP 5.3 goes Production).

He also includes instructions on how to get this new version installed inside of the latest PHP 5.3 snapshot (http://snaps.php.net) to build the new support in.

tagged: oci8 extension update connection pooling install instruction php5

Link:

CodeIgniter Blog:
Version 1.5.4 Released
Jul 13, 2007 @ 14:46:00

The CodeIgniter project has released their latest version of their framework today - CodeIgniter 1.5.4:

Version 1.5.4 is primarily a maintenance release. For a list of all changes please see the Change Log. If you are currently running CodeIgniter please read the update instructions.

Included in the list of changes are things like:

  • Added some additional mime types in application/config/mimes.php.
  • Fixed MSSQL insert_id().
  • Fixed a bug in display of queries with characters that would be interpreted as HTML in the Profiler output
  • Updated the XSS Filtering to take into account the IE expression() ability and improved certain deletions to prevent possible exploits
tagged: codeigniter release maintenance changelog upgrade instruction codeigniter release maintenance changelog upgrade instruction

Link:

CodeIgniter Blog:
Version 1.5.4 Released
Jul 13, 2007 @ 14:46:00

The CodeIgniter project has released their latest version of their framework today - CodeIgniter 1.5.4:

Version 1.5.4 is primarily a maintenance release. For a list of all changes please see the Change Log. If you are currently running CodeIgniter please read the update instructions.

Included in the list of changes are things like:

  • Added some additional mime types in application/config/mimes.php.
  • Fixed MSSQL insert_id().
  • Fixed a bug in display of queries with characters that would be interpreted as HTML in the Profiler output
  • Updated the XSS Filtering to take into account the IE expression() ability and improved certain deletions to prevent possible exploits
tagged: codeigniter release maintenance changelog upgrade instruction codeigniter release maintenance changelog upgrade instruction

Link:


Trending Topics: