[NCLUG] programming question

mike cullerton michaelc at cullerton.com
Sat Jun 30 13:40:15 MDT 2001


thanks evelyn,

on 6/30/01 1:19 PM, Evelyn Mitchell at efm at tummy.com wrote:

> Hi Mike,
> 
> It helps to understand what resources you're trying to conserve.

i hadn't really thought about it specifically, but now that you ask, i'd say
processing or maybe even latency. this is a web based program written in
php. in an earlier prototype of this app, i had one page that took a long
time to load. that turned out to be a mysql problem. i fixed it by adding a
new index.

so, would any particular approach add an extra amount of processing or
latency?

<snip>
> 
> Regards,
> Evelyn
> 
> On Sat, Jun 30, 2001 at 12:20:20PM -0600, mike cullerton wrote:
>> hey folks, hope the day is treating you well.
>> 
>> i've been using objects in some of my programs lately and am wondering about
>> resources and tradeoffs.
>> 
>> say i have a user object maintaining user data. i also have some functions
>> for allowing a user to register. i can add these functions to the user
>> object, create a new object that extends the user object or create a new
>> separate object.
>> 
>> so, what are the tradeoffs involved here?
>> 
>> thanks,
>> mike
>> 
>> -- mike cullerton
>> 

 -- mike cullerton





More information about the NCLUG mailing list