Re: When to Commitdatabase?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59881
interpreted = N
texte = What my coworker and I have found through testing is that when the =preferences box is checked a default [commitdatabase] happens once when =the page has been completely interpreted - NOT immediately after every [=delete], [replace], or any other tag is interpreted.So, you still have to make sure you've committed after any modifications =if you're going to write more code based off of that modification directly =afterwards. But if it's the last modification in your template you don't =have to commit because it's default when the page has been completely =interpreted (since you have checked that box in preferences).I'm still interested in a list for which tags/contexts specifically need =to be used with [commitdatabase] if anyone has one. I have a few untested =theories about using a [commitdatabase] after tags versus contexts. =Thanks.Justin CarrollOn Friday, December 24, 1943, Gary Krockover
=wrote:>I'd be interested in others opinions on this as well, but I've found that =I=20>need to commit after any database write - append, replace or delete,=20>otherwise the results aren't immediate.>>GK>>At 06:20 AM 11/4/2004, you wrote:>>I'm using WebCatalog 4.5.1 for Macintosh. In our server's WebCatalog=20>>preferences we have "Automatically commit databases to disk after being=20>>modified" checked. But I've noticed that this doesn't work on a [delete]==20>>tag. Does anyone know what tags, specifically, that I need to use a=20>>[commitdatabase] after and which of them I don't? Thanks.>>>>Justin Carroll>>>------------------------------------------------------------->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:
What my coworker and I have found through testing is that when the =preferences box is checked a default [commitdatabase] happens once when =the page has been completely interpreted - NOT immediately after every [=delete], [replace], or any other tag is interpreted.So, you still have to make sure you've committed after any modifications =if you're going to write more code based off of that modification directly =afterwards. But if it's the last modification in your template you don't =have to commit because it's default when the page has been completely =interpreted (since you have checked that box in preferences).I'm still interested in a list for which tags/contexts specifically need =to be used with [commitdatabase] if anyone has one. I have a few untested =theories about using a [commitdatabase] after tags versus contexts. =Thanks.Justin CarrollOn Friday, December 24, 1943, Gary Krockover =wrote:>I'd be interested in others opinions on this as well, but I've found that =I=20>need to commit after any database write - append, replace or delete,=20>otherwise the results aren't immediate.>>GK>>At 06:20 AM 11/4/2004, you wrote:>>I'm using WebCatalog 4.5.1 for Macintosh. In our server's WebCatalog=20>>preferences we have "Automatically commit databases to disk after being=20>>modified" checked. But I've noticed that this doesn't work on a [delete]==20>>tag. Does anyone know what tags, specifically, that I need to use a=20>>[commitdatabase] after and which of them I don't? Thanks.>>>>Justin Carroll>>>------------------------------------------------------------->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/
Justin Carroll
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:
PR: WebCatalog Affiliates Program Announced -- Share the revenue for promoting WebCatalog (2000)
syntax question, not in online refernce (1997)
Problem upgrading from 3.0.8 to 4.0 on MS Windoze 98 / PWS (2000)
Max Record length restated as maybe bug (1997)
problems with 2 tags (1997)
NEWBIE ? help with link (1998)
expired beta (1997)
Rams SuperBowl Champs (2000)
SiteGuard Admin Feature ? (1997)
Live server problems (1999)
Bug Report, maybe (1997)
unix permissions for 4.0 (2000)
newcart (1997)
[WebDNA] Convert db to MySQL (2009)
[cart] tag (2000)
Credit card types (1997)
Bug Report, maybe (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
Summing fields (1997)
unable to launch acgi in WebCat (1997)