Sunday, May 28, 2006

7 Awesome tools for PHP developers

For making programming better for PHP developers I came to know about few tools and resources. I am decribing here:
1. Framework: Frameworks provide a base for developping applications quickly. They provide intelligence to use most commonly used functions.
two commopnly used frameworks:
  • Symfony (www.symfony-project.com)
  • Zend Framework (http://framework.zend.com)
2. Compilers: PHP is a compiled language and it compiles code in to byte code and processed by the zend engine. The mod_php module does this job.
There are other compilers available that allow PHP to be compiled into other languages.
  • .Net (http://www.php-compiler.net/)
  • Java (http://www.caucho.com/resin3.0/php/)
  • Mono (http://php4mono.sourceforge.net/)
  • RoadSend PHP compiler - It converts PHP code into a standalone executable file with out the need of PHP on the target machine (http://www.roadsend.com)
  • www.priadoBlender.com
3. IDEs: To write PHP code some developers prefer vi or kate (linux developers).
There are some intresting one:
  • PHPEclipse (www.phpeclipse.net)
It provides PHP support to Eclipse and is really well done for peojects and debugging.

4. Debugging: Currently people uses echo or print/printf .
There are more efficient ways
  • Xdebug (www.xdebug.org) - Provides detailed stack trace and file/function information.
  • APD (Advanced PHP Debugger) - http://pear.php.net/apd/ - It can log porofile information in to a file that can later be analysed.
  • PhpEclipse also used for debugging.
5. Performance: to optimise applications.
  • alternative php cache (APC)- http://pear.php.net/apc/ - This is a good tool to analyse sluggish code points.
  • Database queries should be optimized.
  • memchached (http://www.danga.com/memcached/) - this is a daemon that caches objects in memory & optimises databbase performance.
6. Database:
  • Mysql query browser
  • To give a refreshing interface to your customer, to manage Mysql on the server use - phpFlashMyAdmin (http://www.tufat.com/s-flash-phpmyadmin.htm)
7. User Interaction (User Interface):
Dojo toolkit (http://dojotoolkit.org) - It provides excellent set of DHTML/AJAX widgets that you can easily integrate in your application.

No comments: