[ciapug] PHP 5.1 Change Log
Tony Bibbs
tony at tonybibbs.com
Wed Nov 16 16:52:40 CST 2005
Well, I don't have any metrics to give but your essentially replacing
all the ADODB PHP with C code. I don't use ADODB so I wasn't even aware
of the C module. I personally use a mix of PEAR::DB (PHP4) and Creole
(PHP5) and would like to see as much PHP code replaced with C code as
possible.
The database meta-data is a requirement I have for using Propel, our
Object Relational Mapper (ORM). It's used to reverse engineer a
database so the structures (tables, contraints, sequences, etc) can be
ported to another RDBMS. I've mentioned Propel a bunch on this list and
one of these days I may live up to doing a presentation of it at a
meeting. Anyway, Propel uses Creole to get that meta-data and with the
introduction of PDO the Propel developers are looking to move as much
functionality over to PDO and then only use Creole for the meta-data
look-ups. To be clear, you don't need this meta-data look-up unless you
want are working on a project that wants to support multiple RDBMS's
(which requires the reverse engineering capabilities).
Using an ORM for persisting objects to a database seemlessly is a great
topic...let me know when the next meeting with an open slot is and I'll
whip something up.
--Tony
David Champion wrote:
> I didn't know there was a speed problem with ADODB. The PHP native
> version is pretty fast. The external c executable version is even faster.
>
> I would be interested in hearing about a comparison of ADODB and PDO for
> perfromance and if you had to make any concessions in your code to
> handle the "missing" elements you mentioned.
>
> -dc
>
> Chris Van Cleve wrote:
>
>> Yeah, it's the speed benefit I am looking to test out. ADOdb still
>> offers some features I can't live without and PDO has no comparable
>> replacements.
>>
>> Chris VC
>>
>> On Nov 16, 2005, at 1:49 PM, Tony Bibbs wrote:
>>
>>> Only peeve about PDO is it didn't include any facility for
>>> reverse-engineering databases (i.e. there is no elegant way to pull
>>> meta-data out).
>>>
>>> On the flip side, it should provide a much needed speed improvement
>>> over PEAR::DB/ADOdb, etc.
>>>
>>> --Tony
>>>
>>> Chris Van Cleve wrote:
>>>
>>>> PHP 5.1 is just around the corner, and I found a site that lists the
>>>> relevant changes, additions, removals, etc.
>>>> http://blog.iworks.at/?/archives/26-PHP-5.1-around-the-corner.html
>>>> I have been coding in PHP 5 for several months and have not had any
>>>> problems thus far. I'm looking forward to some of these changes,
>>>> particularly regarding PDO. I've been playing with rewriting pages
>>>> relying on ADOdb to using PDO. It's been... interesting...
>>>> Chris VC
>>>> _______________________________________________
>>>> ciapug mailing list
>>>> ciapug at cialug.org
>>>> http://cialug.org/mailman/listinfo/ciapug
>>>
>>>
>>> _______________________________________________
>>> ciapug mailing list
>>> ciapug at cialug.org
>>> http://cialug.org/mailman/listinfo/ciapug
>>>
>>>
>>
>> _______________________________________________
>> ciapug mailing list
>> ciapug at cialug.org
>> http://cialug.org/mailman/listinfo/ciapug
>>
>
>
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug
More information about the ciapug
mailing list