@James: I too would expect a contact form in an enterprise environment to use the same framework as the rest of the project but I was trying to make the point of both very small and very large sites are using the same frame works and yes you are right regarding the “assembler list” some abstraction is worth accepting. Haha
@ lenz: yeah it is basic to the extreme because I was trying to write the antithesis of a full db abstraction and still get a good amount of use out of it. >Not meaning to beat on about it too much, but I think its best to analyze the problem of a specific application, then optmise away the weaknesses. >But then again only a framework makes the optimisation easy after analysis. @ Jochen: yeah I agree with your first sentence but does it always have to be an off the shelf framework that solves your problem? Thanks for your replies I think I’ll make some modest additions to my select class just so I can utilize some of the pdo goodies and keep it as simple as possible and see how it goes. _____ From: [email protected] [mailto:[email protected]] On Behalf Of lenz Sent: 21 May 2009 10:51 To: [email protected] Subject: [phpug] Re: query abstraction i have projects (mostly perl code) that use nice abstraction layers and other projects that simply have a library of static SQL queries. it really depends on what you need. if you need to optimize for speed and - even more interesting - memory footprint then your overhead should be small. otherwise, take whatever is suitable. keep in mind though, the contact form example needs no performance, here it is simply a question of "what else do you need on the site". choose your weapons for the problem :-) cheers lenz On Thu, May 21, 2009 at 10:43 AM, Jochen Daum <[email protected]> wrote: Not meaning to beat on about it too much, but I think its best to analyze the problem of a specific application, then optmise away the weaknesses. But then again only a framework makes the optimisation easy after analysis. Kind regards, Jochen Mobile: 021 567 853 Phone: 09 630 3425 Email: [email protected] Skype: jochendaum Web: www.automatem.co.nz On May 21, 2009 10:28 AM, "Robin" <[email protected]> wrote: Well it stands to reason that if you abstract something there is usually a performance penalty and I have seen other benchmarks showing the point but I could only find http://phplens.com/lens/adodb/ on google which although dated does show there is a performance hit. But I do take your point that there are plenty of other issues to look at at the same time. Robin. -----Original Message----- From: [email protected] [mailto:[email protected]] On Beha... Of Jochen Daum Sent: 21 May 2009 10:10 To: [email protected] Subject: [phpug] Re: query abstr... Hi, On Thu, May 21, 2009 at 9:15 AM, Robin <[email protected]> wrote: > I have been looking at d... -- iWantMyName.com painless domain registration (finally) --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
