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

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16899
interpreted = N
texte = On 4/6/1998 1:27 PM, PCS Technical Support so noted...>>I'm wondering if frequently setting, resetting and >>accessing these cart header fields will cause a big performance hit > >Everything 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.Since I'm using these header fields so extensively, all but a handful of pages are enclosed inside an orderfile context. Does what you say mean that, if a setheader occurs within an orderfile, that after the [/orderfile] those changes *then* get written to disk? If so, does an [/orderfile] always write to disk, or only if changes are made to the order within the context (ie: by using one or more setheaders)? Also, can my shopping carts be moved outside of the web directory tree, if I wanted to move all these carts to a RAM disk (and would that be beneficial, or a waste of time and an unnecessary risk)?Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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)
On 4/6/1998 1:27 PM, PCS Technical Support so noted...>>I'm wondering if frequently setting, resetting and >>accessing these cart header fields will cause a big performance hit > >Everything 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.Since I'm using these header fields so extensively, all but a handful of pages are enclosed inside an orderfile context. Does what you say mean that, if a setheader occurs within an orderfile, that after the [/orderfile] those changes *then* get written to disk? If so, does an [/orderfile] always write to disk, or only if changes are made to the order within the context (ie: by using one or more setheaders)? Also, can my shopping carts be moved outside of the web directory tree, if I wanted to move all these carts to a RAM disk (and would that be beneficial, or a waste of time and an unnecessary risk)?Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

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:

Checkboxes on forms?? (1998) Erotic Sites (1997) FEW QUESTIONS (1997) Multiple catalog databases and showcart (1997) Re:mac hack (1997) Special characters & [sendmail] (1998) [format xs] freeze (1997) [WebDNA] WebDNA future (2010) How true is this? (1999) Help! WebCat2 bug (1997) Emailer Problem (1999) blank page from template (1997) RE: Re:Signal Raised (1997) [WebDNA] PHP and WebDNA together? (2011) Search Question (2000) Newbie questions (2000) Calendar (1997) Formulas.db + Users.db (1997) Recalculating Shipping Costs (1997) Template Security error (1997)