OK, I just listened to the rather lengthy HAPOL-02-ObjectsForMaintainableCode.mp3, and have a question.
When using OO, are you multiplying the number of calls do the database? Using old school technique, I would do the following using SQL Server syntax: Update Book SET Title='OO baby', NumberofPages=3 WHERE BookID=7 (I'm trying to make this example as absolutely as simple as possible). Using OO, would I do something akin to this? Book.putTitle(7,'OO baby') Book.putNumberofPages(7,3) Would that not make two round trips to the database? ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
