
09/16/2012 in Kiev in three streams the MageConf 2012 conference was held. Two streams were devoted to the Magento system, the third - PHP. Having visited all 6 reports on the PHP stream, I would like to briefly present the main information conveyed by the speakers. As a result, the post turned out to be a set of useful PHP development links.
The speakers paid special attention to utilities and software, which they actively use in Magento. One of the speakers was previously a developer of the portal i.ua.
The best software for profiling
Xdebug is a good debugger, it is rational to use only for parts of the code.
xhprof is Facebook development. Suitable for debugging the entire resource.
Magento_Profiler - Magento has made its Profiler. It is well sharpened, but works best in combination with other software for profiling.
')
Automated Testing
PHPUnit - on Habré there is a four-part translation about this, well-proven, framework for automated tests.
Health Monitoring (in development)
collectd - daemon collects server performance information.
Nagios - notifies the administrator in case of script failure.
Zabbix is a system with wide functionality for server and network monitoring.
Health Monitoring (after starting the resource)
Pinba is a monitoring and statistics software developed by the Badoo social network.
Database Optimization
MySQL Explain is a MySQL command that allows you to find out the weak points of your SQL queries.
ANALYZE TABLE - key analysis command for tables.
SHOW STATUS - a command to get information about the status of the server.
MySQL Profiler is a handy built-in tool for tracking slow queries. On the official website, the page has been deleted, but there is useful material on this site.
Percona Toolkit is a tool that combines all of the above database debugging methods.
JavaScript debugging
Selenium is a popular tool for debugging ready-made JavaScript pages.
PHP code analysis
PHP Depend - calculates metrics and builds graphs of links of code elements.
PHP_CodeSniffer is a PHP code validation tool.
PHPMD - useful for checking the optimality of the code.
Data leakage
With the transition to PHP 5.3.0, the problem with the
circular link builder is gone. For earlier versions, you must manually take care of freeing memory using circular references.
Using
SPL can improve resource performance.
Tools for testing security resource
Firebug - for making changes to HTML and JavaScript on the fly.
Tamper Data - for editing POST and GET by requesting before sending.
Burp Suite - a set of utilities for testing a resource.
It is useful to look at studying the security of web resources.
OWASP is a community publishing information about popular vulnerabilities and how to fix them.
Google Gruyere is a resource that allows you to master the practical skills of attacking PHP sites.
OWASP WebGoat is a Google Gruyere-like project from the OWASP community.
I tried not to go beyond the material presented at MageConf 2012. The photos from the conference did not fit into the format of the post, laid them out separately on this
link . I would be grateful for mentioning any other useful utilities in the comments.