Three-Tier Development with PHP 5 by Luis Yordano Cruz -- Well-factored applications separate data storage, manipulation, and display. For PHP programmers, PHP 5 and PEAR make that easier than ever. Luis Yordano Cruz demonstrates how to combine PEAR:: DB_DataObject, Smarty, and PHP 5 to improve the design and maintenance of your applications.
ONLamp just keeps pumping out the great articles. Though PHP5 isn't exactly commonplace yet, I found this article extremely useful as general advice and good coding practice. I have been using database abstraction classes lately, but now I will definitely be looking into PEAR and Smarty.
Up to now, my projects have been small enough that doing all the legwork myself hasn't been too troubling. In fact, everybody should start off with the basics and add sophistication little by little. For me, it is time to start seperating logic from design. It will be well worth the re-writing.
12/09/04: An Informative and Useful PHP Article
Three-Tier Development with PHP 5 by Luis Yordano Cruz -- Well-factored applications separate data storage, manipulation, and display. For PHP programmers, PHP 5 and PEAR make that easier than ever. Luis Yordano Cruz demonstrates how to combine PEAR:: DB_DataObject, Smarty, and PHP 5 to improve the design and maintenance of your applications.
ONLamp just keeps pumping out the great articles. Though PHP5 isn't exactly commonplace yet, I found this article extremely useful as general advice and good coding practice. I have been using database abstraction classes lately, but now I will definitely be looking into PEAR and Smarty. Up to now, my projects have been small enough that doing all the legwork myself hasn't been too troubling. In fact, everybody should start off with the basics and add sophistication little by little. For me, it is time to start seperating logic from design. It will be well worth the re-writing.