which version of php are you using? 4 or 5?

Brandon

On Mon, 14 Mar 2005 09:04:02 -0500, Akins, Greg <[EMAIL PROTECTED]> wrote:
> 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 string?
> 
> 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:[EMAIL PROTECTED]
> Sent: Monday, March 14, 2005 9:01 AM
> To: [email protected]
> 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.
> 
> http://forum.mojavi.org/lofiversion/index.php/t782.html
> 
> Good luck
> 
> -----Original Message-----
> From: Michal Malecki [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 14, 2005 7:14 AM
> To: [email protected]
> Subject: ibatis for php
> 
> Hello,
> 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
> 
>

Reply via email to