Re: Problems w/ heavy use of cart header fields?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16896
interpreted = N
texte = >I'm wondering if frequently setting, resetting and >accessing these cart header fields will cause a big performance hitEverything is RAM-based as long as you're inside an OrderFile context, because SetHeader will look 'outwards' until it bumps into a context that contains the same OrderFile as the on in the SetHeader.Any template that you get to from ShowCart, Purchase, Add, Remove (all the commands that deal with carts) is automatically 'wrapped' inside an OrderFile, so a bunch of SetHeader tags on that page should be pretty fast.Naturally if you're not inside an existing OrderFile context, then SetHeader won't find any OrderFiles in RAM, and it will have to actually hit the disk in order to make changes to the order file.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems w/ heavy use of cart header fields? (PCS Technical Support 1998)
  2. Re: Problems w/ heavy use of cart header fields? (Rob Marquardt 1998)
  3. Re: Problems w/ heavy use of cart header fields? (PCS Technical Support 1998)
  4. Problems w/ heavy use of cart header fields? (Rob Marquardt 1998)
>I'm wondering if frequently setting, resetting and >accessing these cart header fields will cause a big performance hitEverything is RAM-based as long as you're inside an OrderFile context, because SetHeader will look 'outwards' until it bumps into a context that contains the same OrderFile as the on in the SetHeader.Any template that you get to from ShowCart, Purchase, Add, Remove (all the commands that deal with carts) is automatically 'wrapped' inside an OrderFile, so a bunch of SetHeader tags on that page should be pretty fast.Naturally if you're not inside an existing OrderFile context, then SetHeader won't find any OrderFiles in RAM, and it will have to actually hit the disk in order to make changes to the order file.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

Page Counters? (1997) Form Validation (2000) Exclamation point (1997) Re:PCS Customer submissions ? (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) setitems, one more thing (1997) Emailer error code? (2001) POP Mail Server Reseting (1998) Initiating NewCart (1997) Everyone: List Traffic (was [include ...] behavior) (1997) using showpage and showcart commands (1996) Including a php script (2003) Here's how to kill a Butler Database. (1997) off topic - dna snipets (1997) Running WebCat from a CD-ROM (1997) Tab Charactor (1997) [isfolder] and [filename] (1997) pictures / referrer etc. (1998) New WebDNA Forum Solution (in development) (2003) 2.0Beta Command Ref (can't find this instruction) (1997)