[PHP-DEV] Database Abstraction

2003-02-05 Thread Kasper Skårhøj
Hi folks.

I have a question about database abstraction. If this is not the place to ask, please 
redirect me.

There are millions of PHP-scripts using MySQL. Most of them probably doesn't use an 
Database Abstraction Layer (DBAL) in order to support other databases. When the 
requirement is made some day that a script should support another DB than MySQL 
programmers are facing the challenge of literally rewrite most of their code to fit 
some DBAL, like ADOdb or whatever.

So my idea was to make a DBAL which basically offers a parallel set of functions to 
the current MySQL-functions (search/replace) but internally parses the queries and 
re-makes the query into something Oracle or MSSql or some third DB would understand. 
This would be totally transparent and give instant DBA to millions of PHP-scripts. A 
MySQL emulator. For MySQL it wouldn't affect performance. For other DBs I would 
require a little parsing time of the query.

I know this is not as simple as it sounds, but is it *totally impossible* since noone 
made it yet and if some of you think it is, please let me know why. I think the idea 
is obvious.


- kasper

-
Q: So who is going to drive TYPO3 ahead?
A: The man in the mirror!



--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Adding to the bundled GDlib

2003-01-25 Thread Kasper Skårhøj
Hi list.

I want to gratulate you for finally including the GDlib as a bundled extension to PHP 
and recognize that the Boutell people has apparently stalled the development...

Now it also seems like new PHP/GD-only functions are sneaking in (there is a 
imagelayereffect and imagecolormatch function added) and that is even better!

I have now played around with GD for the last few days and added around 10+ new vital 
functions which are must-haves for what must be tons of people needing a truely 
powerful graphics manipulation engine. I'll tell you more about those functions and 
demonstrating them by a demo-website soon.

But my actual request is this:
- Who is in charge of the bundled GD? (Who can I discuss it with)
- What is the policy on that library? Do you want it to be expanded with new functions?
- Would you be positive towards additions from me? (I want to know this before I spend 
more brainpower)
- How can I help? (I'm new to this list but is a very experienced PHP programmer since 
PHP/FI 2)

I really want to help the development of the bundled GD to be a powerful image 
manipulation package. For now my changes are simply additions and I'm going to supply 
full documentation of the API and possibly also offer a public testsite for the 
demonstration. If that is at all appreciated, please let me know.


- kasper

--
Attitude dude! - Don't rebrand TYPO3!



--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php