Re: Re: Limited db paging with datagrid

From: Date: Wed, 05 Jan 2005 23:04:00 +0000
Subject: Re: Re: Limited db paging with datagrid
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16707@lists.php.net to get a copy of this message
On Wed, 05 Jan 2005 17:52:35 -0500, Andrew Nagy <asnagy@webitecture.org> wrote: > Electroteque wrote: > > > > Farhn, I foolishly decided to change my code to soup it up a little bit > > but this project needs to be done by the end of the month, I have built > > db classes and form object classes because learning how to use other > > ppls code takes forever and never have the time for that , still 1 week > > and no luck. I have however built a custom renderer to Pager instead of > > calling Jumping as the mode, i chose custom and made a file called > > Custom.php , it now serves image buttons with rollovers as navigation > > aswell and first and last pages :) > > Sounds pretty cool. > > > All i need now is to sync with > > datagrid. I'll check out using DB_DataObject or in my case > > MDB_DataObject hehe > > Well there is no such thing as MDB_DataObject, but I highly suggest > DB_DataObject. It makes everything very simple and I think it is very > easy to learn. I am working on a few projects that use DB_DO and SDG > and the code is short and sweet and fast. Take a look at one of my > examples: > > http://pear.php.net/manual/en/package.structures.structures-datagrid.example-advanced.php > > Andrew > As a quick aside if the reason you're using MDB is the creation aspect (or type handling), you can always use MDB for creation of the DB and DB (or DB_DO) for accessing. If it's the type handling, DB_DO has real-time type handling, although it's far less complete than MDB's. DB_DO_FB adds some more, but only for forms of course. DB_DO's type handling is also generally more automatic than MDBs (at least last I checked). -- Justin Patrin

« previous php.pear.general (#16707) next »