ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akins, Greg" <gak...@amervideo.com>
Subject RE: ibatis for php
Date Mon, 14 Mar 2005 14:04:02 GMT
I saw some DAO generators...

The last PHP app I created included my own DAO.  

Each select/insert/delete/update statement was basically

$sql  ="select ..." ; 
$results = Execute_query($sql)
Return $results ; 

Since php is interpreted anyways, would it be easy to just replace the assignment of a string
to the $sql by writing a class/method that reads a "config" file and gets the appropriate

Not quite as full-featured as Ibatis, but if you can't find anything already written.

This is off-topic for the list; if I find anything else, I'll send an email to your address.

-----Original Message-----
From: Michal Malecki [mailto:misiek_x@poczta.onet.pl] 
Sent: Monday, March 14, 2005 9:01 AM
To: ibatis-user-java@incubator.apache.org
Subject: Re: ibatis for php

The problem is that all of them are rather OR solutions, whereas I have ready db schema, which
is not much object. My priority is to store sql in external file Michał

>This page has some links.


Good luck

-----Original Message-----
From: Michal Malecki [mailto:misiek_x@poczta.onet.pl]
Sent: Monday, March 14, 2005 7:14 AM
To: ibatis-user-java@incubator.apache.org
Subject: ibatis for php

I use sqlmaps in my java projects and love it very much. Unfortunatelly I have to port one
of my apps to php. Are you aware of a php project similar to ibatis sqlmap (keeping sql in
resources)? thanks!

Michał Małecki

View raw message