NYCPHP Meetup

NYPHP.org

[nycphp-talk] Bizarro Bug -- AHA!!!!!!!

Kristina Anderson ka at kacomputerconsulting.com
Wed Apr 2 16:36:34 EDT 2008


If you guys could point me in the direction of some online examples of 
how people modularize this type of code, I would be very grateful.  

I'm ready to take this to the next level (I just wish I could get back 
those 5 hours I wasted not seeing that I was calling the wrong query).

> Howdy Steve:
> 
> On Wed, Apr 02, 2008 at 12:14:08PM -0400, Steve Manes wrote:
> > 
> > I generally wrap all database calls in API functions specific to 
the 
> > task being performed, i.e. get_patient_referrals_list(), 
> > put_private_transport_segment(), update_clinic_demographic().  That 
way 
> > the logging is specific to the task and any specialized processing 
that 
> > needs to be done to the data can be done in one place.
> 
> That's good.  That still doens't obviate the need to have those 
functions 
> then call one central function that actually runs the query.
> 
> --Dan
> 
> -- 
>  T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>             data intensive web and database programming
>                 http://www.AnalysisAndSolutions.com/
>  4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
> 
> 




More information about the talk mailing list