PHP Application Development Part One. When building applications in PHP, it is often far too simple to settle for the “quick and dirty” solution – poorly written, monolithic code that will never be used again and lacks any clear intent.
Since PHP is typically used in small projects that could themselves be described as “quick and dirty,” developers will excuse their poor code by stating that they will not have to work on the code again and that they have no intention of ever reusing it. The fact remains, however, that as with any job worth doing, it should be done well. This paradigm holds true in this situation for a number of reasons. First, when you take the time to write good code, you will almost always find something reusable in any new code you write. Second, code will always require maintenance or changes. PHP Application Development Part Two.
In the first article of this series, we covered some fundamental PHP application development concepts.
Directory structure, file naming, and basic coding conventions were discussed. If you missed that article, you can find it here ( In this article, we continue with the basics of PHP applications by discussing application configuration, data storage, logging and error handling. We will cover some of the basic considerations when approaching these issues and evaluate our options in regard to implementation, efficiency and maintainability.
Read and write Excel data with PHP. Microsoft Office 2003 for the Microsoft Windows® operating system opened a whole new set of opportunities that non-Microsoft engineers have yet to realize.
Of course, you had the usual set of new features. But the big new advance was the addition of XML file formats. With Office 2003, you can save your Microsoft Excel spreadsheet as XML and use the file just as you would the binary equivalent. The same goes for Microsoft Word.