News Robot

PHP Cloud and education

One of the problems that anyone who has taught a programming class will know is that the worst part of the class isn’t bored students, inane questions or poor material, but, rather, getting started.  I delivered Zend’s training for 3 years (myself among several others) and I can say, without reservation, that one of the [...]
Author: Kevin Schroeder
Source: ESchrade

by News Robot on January 28, 2012 in News, No Comments »
tags: ,

OCEAN User Group of Southern California – February meeting

Session abstract:  Toolkits for PHP Web Application Consolidation
IBM and Zend have been working very hard to deliver a new Open Source toolkit called XML Service. This project is now implemented in the latest version of Zend Server and Zend Server Community Edition for accessing IBM i specific resources like HLL Programs (RPG & COBOL), Data Areas, Data Queues, Spooled files and much more. Coupled with a compatibility layer which makes the transition to the new toolkit virtually painless for existing PHP applications, this new solution ushers in a new era of PHP and IBM i integration.
In this session, Mike Pavlak, Zend Solutions Consultant, will explore the Object Oriented model of the new toolkit as well as the existing Compatibility Wrapper that will intercept requests made by the existing i5 function calls and handle them via XML Service. Mike will also delve into the process of integrating Open Source applications on IBM i which can save IBM i shops the time and trouble of spinning up additional servers to satisfy day to day requests like company intranets. Open source applications, classes and functions will be reviewed live on a Power Systems server running IBM i in the cloud.
Author:
Source: Zend Events

by News Robot on January 28, 2012 in News, No Comments »
tags: , , , , , ,

WEBINAR: Stored Procedures with PHP and IBM i – Part II

In the first Stored Procedures webinar, Mike Pavlak explored SQL Stored Procedures and how they get implemented and consumed by PHP running on IBM i. In this follow-up session, Mike will explores the creation and usage of RPG programs as stored procedures and how they get implemented in a PHP application running on or off IBM i.

        

Author:
Source: Zend Events

by News Robot on January 27, 2012 in News, No Comments »
tags: , , ,

WEBINAR: Performance Tuning PHP on IBM i

Stretching your dollar to maximize your investment in IBM i hardware is paramount to many shops. In this webinar, Mike Pavlak and Alan Seiden discuss some of the more fundamental areas that reveal performance bottlenecks. They will explore hardware, software and configuration options that will help your PHP applications fly. The discussion will review features for both Zend Server and Zend Server CE.

        

Author:
Source: Zend Events

by News Robot on January 26, 2012 in News, No Comments »
tags: , ,

Mockery 0.7.2 Released (And On Packagist.org!)

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a framework for creating test doubles like mock objects through the use of a simple and succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit’s phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can happily operate alongside phpunit-mock-objects.

Today, I am pleased to announce the release of Mockery 0.7.2, a maintenance release fixing a small number of bugs and annoyances. A special thanks to all those who forked the Github project at and submitted pull requests! Leaving a developer with hardly any work to do other than a quick test and merge is always appreciated! You can install or upgrade to the new version from the survivethedeepend.com PEAR channel.

Another piece of news is that Mockery is now available on Packagist.org for users of Composer. Composer is a tool to help you manage your own projects’ or librarys’ dependencies and it can handle and mix dependencies from Composer compatible repositories like Packagist.org, any git repository using tags, and any PEAR channel. I do this of my own free will and not because Luis Cordova and Benjamin Eberlei are standing behind me with pitchforks ;) .

The more pertinant fixes include:

  1. Fixed a problem in resolving methods chains which abuse the Law of Demeter (thanks to the wizardly Robert Basic).
  2. Fixed unexpected static calls to an alias mock which were causing fatal errors (thanks to Luis Cordova).
  3. Fixed a crash present since PHP 5.3.6 due to a referenced $this variable entering a closure (thanks to Martin Sadovy).
  4. Added support for PHP_CodeCoverage 1.1 whose filter class is no longer a singleton (thanks to Matthew Vivian).
  5. Added non-halting exception handling (for Mockery exceptions) to the PHPUnit TestListener (thanks to Adrian Slade).
  6. Added boolean $prepend (defaults to FALSE) parameter to \Mockery\Loader::register() to allow for registering Mockery’s autoloader to the top of the autoloader stack even after other autoloaders have been registered (thanks to Hermann Kosselowski).
  7. Updated documentation/tests for the release of Hamcrest 1.0.0 several days ago (thanks to me, me, me – who finally got to do something nobody else had a pull request for!).
  8. Added new \Mockery::self() static method to make retrieving the current mock object simpler and more readable while setting expectations without the need to refer back to past variable assignments.

Users should also note that Hamcrest 1.0.0, which includes a small filename change (hamcrest.php was capitalised to Hamcrest.php), was released several days ago. If you use Hamcrest matchers with Mockery, you should ensure that both libraries are updated on your system.

As always, please report any bugs or potential improvements to the Github issue tracker using the relevant label or, even more appreciated, send me a pull request.

Enhanced by Zemanta
Author: padraic

by News Robot on January 26, 2012 in News, No Comments »
tags: , , ,