PHP Mess Detector is a great tool witch helps you to detect several potential problems within your code. It parses your files to detect several potential problems : Possible bugs, Suboptimal code, Overcomplicated expressions, Unused parameters, methods, properties...
PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP, JavaScript and CSS files to detect violations of a defined coding standard. It is an essential development tool that ensures your code remains clean and consistent. It can also help prevent some common semantic errors made by developers.
In this article we will create your first unit test in Magento. First add a new MageUC_Date() object to handle working dates, really usefull to calculate delivery date in e-commerce site. After this we will add a unit test case to test it run it with magento command line.
Set-up PHPUnit in your Magento project. This article presents a way to add Unit testing in Magento, organize your test cases, add a PHPUnit bootstrap to initialze default Magento store and make a command line task to run them easily and generate your reports.
To illustrate how MageUC Console task system works, let's create an easy but so usefull one for every Magento developper : the clear cache task. Inthis article you will see how easy it is to add new task to fit your own needs.
List every database queries in your Magento projects will help you optimize them to have better performance. Magento developer bar has a specific panel to highligth every duplicated queries
Understand in depth the Magento page dispatch : bootstrap, Mage::app()->run(), Front Controller dispatch... and how to plug in to render Magento developer bar.
Build a Magento Developer Bar like the Symfony framework one. Discover how we can plug in the page rendering to display it with all the informations we need.
Customize magento template structure of your modules to follow symfony / zend framework view structure. First discover how layout is loaded and hack it.
How to quickly fix performance issue made by the over use of the Model::load() function. Add a entity manager in Magento to handle database model loading with an simple internal cache.