Re: 100 + Users updating database

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45875
interpreted = N
texte = 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 eithera) 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/ Associated Messages, from the most recent to the oldest:

    
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 eithera) 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/ Brian Burton

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:

Don't tick me off :) [elaspedtime] (1997) greater than or equal to (1997) CustomerType - WebDNA Variable (2004) problems with WebCat-Plugin (1997) Help formatting search results w/ table (1997) Cookies (1999) webcat NT (1998) Arbitrary limits on length of data in cart header fields? (2000) Virtual hosting and webcatNT (1997) HELP WITH DATES (1997) random in arizona (2003) Replace Statement (1997) [ot] G5 Desktop as Server (2004) Bug Report, maybe (1997) Busted at the Border (1998) Cookie woes with Mac IE4 (1998) Shopping Cart ID (1998) SEARCH DATE RANGE (2000) WebCatalog for guestbook ? (1997) weird order problem in 4.5.1 (2004)