IMHO, Ajax works great if you have a dynamic UI that can’t load all data to do its job at once, or, the data is dynamic and refreshing the page costs a lot more than the AJAX overhead.
These are a few examples where Ajax makes sense:
Here’s where AJAX is just plain unnecessary (some are cool, but not necessary):
Why do I say it is dumb to do those things? Four reasons: Latency, overhead, parsing, rendering time.
Back to my dumb examples…
Loading a list of 10 items, like for example, tags/categories being used by a blog into an auto-complete box is just stupid. Actually, loading a list of 50 or 100 tags using AJAX continues to be stupid. If the user uses 100 different tags and each has about 10 characters that would be just about 1.5K of data in JS (or 2K in XML). It is much easier to stick on a JS variable on the page. Want to do it really fancy? Generate a JS file on the fly that has some checksum, like mytags357395.js and include all the tags on that file, if tags are added/removed/renamed a new JS is generated, otherwise the content is cached on the client.
The list of countries is also stupid not only because the name of all countries can fit in just 8K of data (assuming all the <SELECT>/<OPTION> is present as well), but also the name of countries don’t change (mostly). A third reason for not using AJAX on this case (assuming that you are asking the Country because he/she is subscribing to your site) is because you will prevent users that have JavaScript disabled, or, are using a browser that doesn’t support JS (e.g., Mobile phones) from using that page.
Conclusion
If you want to use AJAX, do so for the right reasons and if you are doing a large scale website, make sure to measure different solutions to find out if certain things are really worth using it.
Source: http://marcelo.sampasite.com/brave-tech-world/When-not-to-use-AJAX-for-Dummies.htm
Since we have migrated to PHP 5, I think it is good to know some of the new features that we can use for the development of future php applications.
http://www.onlamp.com/pub/a/php/2004/07/15/UpgradePHP5.html
http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/
phpDocumentor, sometimes referred to as phpdoc or phpdocu, is the current standard auto-documentation tool for the php language. Similar to Javadoc, and written in php, phpDocumentor can be used from the command line or a web interface to create professional documentation from php source code. phpDocumentor has support for linking between documentation, incorporating user level documents like tutorials and creation of highlighted source code with cross referencing to php general documentation.
Check out the list of common PHP best practices in the link below and the attachment file.
http://www.mt-soft.com.ar/2007/12/21/php-best-practices-solutions/
PHP development best practices
Feel free to add if you know of any other good php practices.