maillist@pvxplus.com

Message: previous - next
Month: January 2002

RE: [Pvx] *OOP straw poll

From: "Neal McKinney" <neal@...>
Date: Thu, 17 Jan 2002 15:54:41 -0500
Jeff:

We open files when we open the panel (or when needed by the logic), and
leave them open until finished - except for a few special programs that do
close some file channels.

Neal McKinney
Young Systems
Atlanta, GA

-----Original Message-----
From: Jeff Johnson [mailto:jeffj@...]
Sent: Thursday, January 17, 2002 3:42 PM
To: Providex List
Subject: [Pvx] *OOP straw poll


This is really an opinion question:

I use an object class definition to maintain a customer record.

Currently, on_create logic opens the customer master file and it stays
open until on_delete.

If customer records are opened for varying times, sometimes 5 seconds,
sometimes 5 hours, would it make more sense to open the file, read the
customer master info, close the file and wait until I need to write back
to open the file again?

Like I said, purely an opinion question, respond to list of private
email if you think this is too much bandwidth.

Or don't respond at all, it's a free country after all! <g>

Thanks to all those who do share an opinion though,
Jeff