This post is response to Matt Waynne's post and concentrated on Behat Mink example for PHP. In short: sleeps to wait for a state change on test target - is just a guess, which might not be correct for different circumstances, etc.: slow server or network. The solution proposed in this post - is about polling for a state change.
What are window managers and why you should try it. If any of the following points ever concerned you, read further.
Smarty3 extension is easy to integrate and with full compatibility of view and layout templates which supports all standard features like modules and view rendering in ajax, json, xml. All helpers with Smarty 3 are working nicely without any intervention.
This article contains a PHP build script and a quick tutorial on how to compile and setup php-5.[2-5].x version into your server. The article is intended for beginners and has detailed explanations for setting up dependencies and understanding in general how to modify it to your needs.
This article describes how to connect Doctrine2 with Zend Framework.
Main implementation stuff: