Re[4]: [PEAR-DEV] Framework Development (2)
| From: | Jens Fischer | Date: | Sun, 16 Jun 2002 21:17:08 +0000 |
| Subject: | Re[4]: [PEAR-DEV] Framework Development (2) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7083@lists.php.net to get a copy of this message | ||
Hallo Martin,
Sunday, June 16, 2002, 10:35:31 PM, you wrote:
> On Sun, 16 Jun 2002 22:07:26 +0200, Jens Fischer wrote:
>>Currently I use the old PEAR DB classes for database access, since I
>>haven't tried out MDB, yet. I am using a MySQL backend for testing,
>>but moving to another DB should be no problem due to PEAR DB.
> FYI: Don't rely on PEAR DB too much when it comes to database
> abstraction. PEAR DB provides a unique API for a lot of different
> database engines, but it does not work around specific features that
> are only available in a specific engine. Anyways, if you only use
> "standard" SQL, the chances are pretty good that your application will
> work with no modifications on different SQL engines.
The only not truly ANSI SQL compliant feature I use is the MySQL data
type of TIMESTAMP, which has no relevance in the application but
simply automatically logs the modified date for each table row. I am
developing with the purpose to easily migrate to any DB backend
supported by PEAR DB, so this should be no big problem at all.
> Apart from that
> PEAR DB's API is simply cool and it saves you a bunch of work even if
> you don't need database abstraction :-).
Full ACK!
>>I'm in! Could you publish it on the Pear CVS tree?
>
>IIRC there has been the decision some time ago that complete PHP
>frameworks don't fit in PEAR's structure.
About publishing my framework at PEAR CVS: I have no CVS account and
I must agree to Martin's posting on this list: let's not
clutter the CVS with so many different classes.
I didn't know that PEAR is not meant to host complete frameworks. I
don't like this decision but of course I will follow it. So no
addition of my MVC framework to PEAR, maybe I will publish it
somewhere else (sourceforge or tigris or dunno).
Sebastiao, you can still have a snapshot of the current development
status, so you can have a look at it. Shall I upload it on some
private webspace or would you like me to email it to you privately?
> - Martin
--
MfG,
Jens