package HTML_PageHandler proposal

From: Date: Tue, 11 Feb 2003 23:18:03 +0000
Subject: package HTML_PageHandler proposal
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13152@lists.php.net to get a copy of this message
ok, here we go again another step towards the data-grid kinda thing. The class HTML_PageHandler handles common tasks that always occur when handling forms. It has nothing to do with QuickForm, it would even make things easier in combination with it. This class wraps the underlying class ([M]DB_QueryTool are implemented now) and it calls the methods which handle events, such as saving, removing and editing data. In the future i can imagine a SearchHandler, SortHandler to be integerated too (this really almost seems like the DataGrid-thingy then). The example.php is a complete editor, for data of one table from a DB. The source class as mentioned before is DB_QueryTool now, but i underlying DB_DataObject would be a piece of cake (i guess no more than 15 minutes for Alan). I'd appreciate some opinions and +/-1's. May be the name is discussable, but since it is clearly HTML-centered I think/hope it is ok. all files are either in here, http://www.kriesing.de/tmp/PageHandler/HTML_PageHandler.tgz or in source here just the factory class (by instanciating the desired class directly this can actually be dismissed) http://www.kriesing.de/tmp/PageHandler.php.txt the actual base class, which does the real work http://www.kriesing.de/tmp/PageHandler/Common.php.txt the DB_QueryTool implementation http://www.kriesing.de/tmp/PageHandler/DB/QueryTool.php.txt example http://www.kriesing.de/tmp/PageHandler/docs/example.php.txt http://www.kriesing.de/tmp/PageHandler/docs/mysql.sql http://www.kriesing.de/tmp/PageHandler/docs/pgsql.sql -- Wolfram ... translating template system ... http://os.visionp.de/modules/project/HTML_Template_Xipe ... authentication system .... http://sf.net/projects/auth ... and more at .... http://opensource.visionp.de

« previous php.pear.dev (#13152) next »