logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: DataObject compatibility: msg#00534

Subject: Re: DataObject compatibility
Markus Wolff wrote:
Hi there,

I´m considering using DB_DataObject for a new app. However, I have two questions remaining about it:

1. Has it been tested with other databases than MySQL? I need support
   for at least Microsoft SQL Server as well. Postgres and Oracle
   would be neat, too ;-)
I've heard stories of MSSQL/Oracle useage, as some bugs in DB where picked up by the Generator.

limit(), will issue a pear:error on mssql & oracle, as the limit emulation for this is a little complex.

I'm using it on a major project on Postgres at the moment - hence, there have been a number of fixes in the last few versions to assit with postgres support.


2. Is it possible to add class properties that are not treated as
   table fields? I often like to have getGrid(), getForm() etc.
   methods that use a common template object that is stored in a
   property, like:

   class Foo
   {
       var $field_one;
       var $field_two;
       var $_templateobjects_are_no_fields;
   }

as long as they dont overlap the table field names, they should be ignored in general. I do this alot, - tricks like overriding fetch, to do some extra calculation.. etc. is quite nice..

Regards
Alan




Thanks in advance for any info ;-)

Regards,
  Markus




--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>