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:
User Authentication (2003)
MOOOOOO (2000)
WebMerchant and PC Auth Hub (1999)
Every other record deleted (2005)
no global [username] or [password] displayed ... (1997)
[math] with first letter in field? (1997)
MacAuthorize hub, no modal password dialog? (1997)
SiteGuard Admin Feature ? (1997)
WebCatalog 4.0 Users that want to talk to the Media.... (2000)
Shownext and Jumping between pages (2000)
Any limit to [include] (1997)
No Line Breaks from OSX server (more) (2002)
WebDNA Solutions ... sorry! (1997)
[WebDNA] Create Folder (2019)
Include a big block of text (1997)
page redirect in webDNA (1997)
HideIf ip= OR ip= (1998)
WebCatalog as a ListServ (1998)
2.0 Info (1997)
Cold Fusion Buster (1997)