Hi Mark, Actually that's what I do, each module has it's own class. But I was wondering if going the procedural way was not faster. When I begun, that was the way I used to do things. But later I turned down to classes since those offer more advantages and are easier to manage. But are they faster and do they really provide performance increases? I did not make any tests like adding timers to verify but I suppose that they (classes) should be a bit slower since the page got quite some code to parse before starting execution. Of course you could always cache the pages but though...
What's your idea on this? Paul > -----Original Message----- > From: Mark M [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 10:10 PM > To: [EMAIL PROTECTED] > Subject: [wdvltalk] Re: [PHP/ASP] Class v/s Procedural > > > > > Concerning web scripting languages like PHP or ASP, is it better to > > build a big class containing all the methods/properties that > you online app > > would need (like db access, xml parsing, file system functions > etc) and to > > call the appropriate methods/properties whenevr they are needed or is > > procedural programming the way to go? > > Neither - build lots of smaller Classes, each with its own > specific role within the > system. > > Mark > ----------------------------------- > [EMAIL PROTECTED] > ICQ: 3094740 > Safe From Bees > [www.safefrombees.com] > > ____ • The WDVL Discussion List from WDVL.COM • ____ > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] > Send Your Posts To: [EMAIL PROTECTED] > To change subscription settings to the wdvltalk digest version: > http://wdvl.internet.com/WDVL/Forum/#sub > > ________________ http://www.wdvl.com _______________________ > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% > > ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]