new PurgeDatabase command? (was Re: NT vs Mac)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14170
interpreted = N
texte = >>How about that math ceil/floor problem, I have a site that I must have it >>on and would like to keep it on the NT. Any Idea on a fix date? > >1) Since it was never documented, we had no date set for adding the feature >2) Since we're a nice company, how about tomorrow? (beta, hasn't gone thru QA >yet, but should work fine because it's a small change) >Since Grant is feeling so generous today (:>), how about adding that PurgeDatabase command I brought up a few weeks ago? I don't remember ever seeing a response from anyone at PCS/Starnine, but at least a couple people chimed in about how much they would like to see such a new tag.If you don't recall my request, I will quote Ken, who reworded my request into a cleaner solution:>In other words, what you really would like to have is a new tag that >purges the xxx.db data from RAM *without* writing it to disk. Yes, >that would make it possible to do everything you need, automatically, >in a single template like this: > >[CloseDatabase xxx.db] >[AppleScript] >Move the xxx.db file to the trash and rename the xxx.db copy file >to xxx.db >[/AppleScript] >[PurgeDatabase xxx.db] > >It won't make any difference how many people are searching the >xxx.db while the AppleScript is working, because they will be >working off a RAM-cached version of the original database anyways, at >least until WebCat receives an [append] or [closedatabase] or >[flushdatabases] or [PurgeDatabase] command. > >And once the AppleScript is done working and the data is purged from >RAM with the [PurgeDatabase] command, you really don't have to worry >about loading the new xxx.db into RAM, because it will be loaded >automatically into RAM the first time one of your templates needs to >deal with that database again. > >And if you're really in a hurry to reload the new xxx.db file >*before* one of your users has a chance to reload it, you can easily >put a [search] or a [lookup] after the [PurgeDatabase] tag, which >will make the database reload immediately after being purged from RAM. > >It seems the critical function of this proposed tag should be simply >to purge the RAM without writing it to disk (thus my suggested >PurgeDatabase name). Everything else can be done with WebDNA's >existing capabilities and with AppleScript. > > >Sincerely, Ken GromeThanks,Dale ________________________ ______________________________ | Dale LaFountain | mailto:dalel@dhorse.com | | MIS Director,WebMaster | web: http://www.dhorse.com/ | | Dark Horse Comics, Inc.|Phone: 503-652-8815 x324 | \_________ID97___________|______________________________/ Associated Messages, from the most recent to the oldest:

    
>>How about that math ceil/floor problem, I have a site that I must have it >>on and would like to keep it on the NT. Any Idea on a fix date? > >1) Since it was never documented, we had no date set for adding the feature >2) Since we're a nice company, how about tomorrow? (beta, hasn't gone thru QA >yet, but should work fine because it's a small change) >Since Grant is feeling so generous today (:>), how about adding that PurgeDatabase command I brought up a few weeks ago? I don't remember ever seeing a response from anyone at PCS/Starnine, but at least a couple people chimed in about how much they would like to see such a new tag.If you don't recall my request, I will quote Ken, who reworded my request into a cleaner solution:>In other words, what you really would like to have is a new tag that >purges the xxx.db data from RAM *without* writing it to disk. Yes, >that would make it possible to do everything you need, automatically, >in a single template like this: > >[CloseDatabase xxx.db] >[AppleScript] >Move the xxx.db file to the trash and rename the xxx.db copy file >to xxx.db >[/AppleScript] >[PurgeDatabase xxx.db] > >It won't make any difference how many people are searching the >xxx.db while the AppleScript is working, because they will be >working off a RAM-cached version of the original database anyways, at >least until WebCat receives an [append] or [closedatabase] or >[flushdatabases] or [PurgeDatabase] command. > >And once the AppleScript is done working and the data is purged from >RAM with the [PurgeDatabase] command, you really don't have to worry >about loading the new xxx.db into RAM, because it will be loaded >automatically into RAM the first time one of your templates needs to >deal with that database again. > >And if you're really in a hurry to reload the new xxx.db file >*before* one of your users has a chance to reload it, you can easily >put a [search] or a [lookup] after the [PurgeDatabase] tag, which >will make the database reload immediately after being purged from RAM. > >It seems the critical function of this proposed tag should be simply >to purge the RAM without writing it to disk (thus my suggested >PurgeDatabase name). Everything else can be done with WebDNA's >existing capabilities and with AppleScript. > > >Sincerely, Ken GromeThanks,Dale ________________________ ______________________________ | Dale LaFountain | mailto:dalel@dhorse.com | | MIS Director,WebMaster | web: http://www.dhorse.com/ | | Dark Horse Comics, Inc.|Phone: 503-652-8815 x324 | \_________ID97___________|______________________________/ Dale LaFountain

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:

Date Range search (1997) Web*SSL and WebCatalog (1997) Credit Card Number checking (1997) Error Log.db --however (1997) WebDNA-Talk Digest mode broken (1997) Add to a field (1998) orderfile headers (was: 2nd Request for help/advice onvariable pricing) (2000) [showif] not working (2003) One Hour Email (2002) shipcost (1997) [OT] Bad Hard Drive? (2003) Search/sort in URL Was: GuestBook example (1997) Sorting by number (2001) Opinion: [input] should be called [output] ... (1997) [WebDNA] Chatroom with Webcatalog (2011) Adding a product from another site (1997) [WebDNA] forum, ..two? or only one? (2010) [isfile] ? (1997) Bug? (1997) inconsistent webcat calculation? (1997)