PHPUnit is an open source unit testing software framework for software written in the PHP programming language. Created by Sebastian Bergmann, PHPUnit is one of the xUnit family of frameworks that originated with Kent Beck’s SUnit. This article will explore PHPUnit specifically as a way to introduce the basics of automated unit testing. You’ll need a basic grasp of the PHP programming language to proceed!
PHP has evolved significantly since its early days as a templating language. In this article, PHP expert Eli White examines some of the advancements in PHP 5.3 and higher. Get up to speed on namespaces, traits, closures, generators, and more.
A whole lot of people seem to be moving from web page development to building RIA-s these days. But while the emergence of the new client side technologies is easy to notice, with names like Flex, Silverlight or JavaFX appearing more and more often in the context of web development, the move to RIAs also affects the server side coders.
Separation of concerns is a concept in object-oriented (OO) software design that allows you to build more-modular applications. Modular applications are easier to maintain and add new features to. PHP's OO language features allow you to apply design concepts to build more robust, maintainable applications.
In this week's issue, we will have a look at profiling. Profiling is a feature that seems to be similar to trace logging at first sight. Profiling logs, however, are not meant for human redability, and are not meant to visualize the program's control flow, but provide the data for a statistical analysis of the program run.
Follow along in this "What's new in PHP V5.3" series of articles that covers the new and exciting features found in PHP V5.3, which will be released by the end of 2008. Part 1 looks at the changes made to the object-oriented programming and object handling in PHP V5.3. Here in Part 2, we look at closures and lambda functions. They are designed to make programming much easier by allowing you to easily define throwaway functions that can be used in many contexts.