Re: 100 + Users updating database

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45879
interpreted = N
texte = About 5 minutes .. > > On Monday, December 2, 2002, at 01:03 PM, Jesse Williams-Proudman > wrote: > >> On 12/2/02 9:21 AM, Jeff Logan wrote: >> >>> Does anyone have recommendations/code for doing a trigger that will >>> roll a copy of the database every four hours. >> >> I do... Though I've put some time into it... > > ok, I'll bite... how much time does it take to write up a simple script > that either > > a) copies the database file on the disk to a duplicate file > or > b) searches the database and writes out all of the found records (i.e. > everything) to a new database file (use the [writefile]) > > after that a little triggeriffic goodness, and you're on your way. > > a more complicated method: > You can be like my bank, when someone wants to change a record, it > loads that record on a page. You change and submit, and it saves it as > a new record to the database and lets you review your changes before it > becomes permanent, at which point it keeps the new record and deletes > the previous (and now obsolete) record. Until it's approved via a > review the old record stays active, and you could do a sweep every so > often to get rid of the unfinished record edits. > > > Brian B. Burton > 973-263-3036 973-296-6862 (cell) > BOFH - Department of Redundancy Department > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
About 5 minutes .. > > On Monday, December 2, 2002, at 01:03 PM, Jesse Williams-Proudman > wrote: > >> On 12/2/02 9:21 AM, Jeff Logan wrote: >> >>> Does anyone have recommendations/code for doing a trigger that will >>> roll a copy of the database every four hours. >> >> I do... Though I've put some time into it... > > ok, I'll bite... how much time does it take to write up a simple script > that either > > a) copies the database file on the disk to a duplicate file > or > b) searches the database and writes out all of the found records (i.e. > everything) to a new database file (use the [writefile]) > > after that a little triggeriffic goodness, and you're on your way. > > a more complicated method: > You can be like my bank, when someone wants to change a record, it > loads that record on a page. You change and submit, and it saves it as > a new record to the database and lets you review your changes before it > becomes permanent, at which point it keeps the new record and deletes > the previous (and now obsolete) record. Until it's approved via a > review the old record stays active, and you could do a sweep every so > often to get rid of the unfinished record edits. > > > Brian B. Burton > 973-263-3036 973-296-6862 (cell) > BOFH - Department of Redundancy Department > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Alain Russell

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Undeclared variables (2004) Announce: WebMerchant 3.0 for Windows shipping now (1998) Size/Color Options (2002) Silly Question (1997) Car Database (2002) Generating unique SKU from [cart] - Still Stumped... (1997) f2 download problems (1997) WebCatalog for guestbook ? (1997) shoppingcart reload qty (1997) FlushDatabase Suggestion (1998) Further tests with the infamous shipCost (1997) Snake Bites (1997) OT-listserver stuff -WAS-webcat method for waiting specific amount of time? (2000) printing twice? and fix (1997) Purchae error - Fixed to a degree (1997) Mystery authentication (1997) Error Messages Returned to User (1997) SV: Text in coloums... (2000) (2000) sort without the or a (1998)