Hello.
I am an experienced C/C++ programmer who has recently begun to use PHP for more than casual purposes.
Specifically, I am designing a PHP-driven web interface to MySQL-stored data. Stored data includes phone numbers, dates, etc.
As luck would have it, I am not the most artful HTML author. As such, I would like to be able to keep the HTML separate from the PHP code as much as is possible, so that a more competent designer than myself can easily tear the face from my application and create an interface suited to a modern Internet-based application.
Unfortunately, since HTML does very little to define what is valid within a form field, I am left to validate user input entirely using PHP code. I would like a general form processing toolset that manages to keep from contaminating the PHP as much as possible - one which provides an extremely clean interface which would require at most a single entry point in the HTML doc.
I have looked into PHPlib, and can meet these ends to some extent. However, I do not care for the PHPlib API; it performs tasks which almost cry out for OO, yet does not implement things in an object-oriented manner.
Any suggestions would be much appreciated.
Chester Hosey