Structures_DataGrid DataObject DataSource

From: Date: Wed, 22 Mar 2006 20:53:05 +0000
Subject: Structures_DataGrid DataObject DataSource
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41941@lists.php.net to get a copy of this message
Hi ! I just checked the CVS (via web interface), seems work is in progress for the new release of SDG, nice ! I just want to tell you about something I was thinking of in the DataObject DataSource file. Maybe it's still too early to talk about such details. Anyway I think this might still be up to date later. I experience some performance hits using dataobjects as a datasource for a SDG, if I turn formbuilder_integration to true. This is due I think to the many database access to get all the linked records, I think it could be worth optimising Ideally would be to make joins so that all the necessary information is fetched from only one db query. But it might be a bit complicated and unstable (IMHO) What I did is store the linked records in an array for caching purpose. It's quite efficient with recurrent links (like country, categories etc...). What do you think ? it could be activated in the options passed to the bind() method.

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