Re: Cart vs database

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17865
interpreted = N
texte = >I need to show an alphabetically sorted cart. Therefore I have to put the >products into a separate db to display them sorted on the show cart-page. And >I have to delete outdated carts regulary from this db. There are no special >formulas used, no tax or shipping rates.The reason there are no special formulas to use, or no special tax or shipping rates, is because WebCat's still doing all those calculations internally before writing the data to the cart, then you're taking that already-processed cart data and placing it in a database. If you were using ONLY a database, you would have to perform all those calculations in your own code ...>I wonder which advantages the cart has in this situation - am I not better off >using the db at any time instead of duplicating cart information?WebMerchant requires the cart files. You can do anything you want if you're not using WebMerchant, but I've tried it and I can tell you that it's a LOT of work to try to re-write all the internal calculation formulas built into WebCatalog. Then there are additional security issues to deal with that makes writing your own code even more complicated.I would not suggest it unless you have a very good reason (like a client with plenty of money to pay for the time it takes to do it all) ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Cart vs database (Kenneth Grome 1998)
  2. Cart vs database (Peter Ostry 1998)
>I need to show an alphabetically sorted cart. Therefore I have to put the >products into a separate db to display them sorted on the show cart-page. And >I have to delete outdated carts regulary from this db. There are no special >formulas used, no tax or shipping rates.The reason there are no special formulas to use, or no special tax or shipping rates, is because WebCat's still doing all those calculations internally before writing the data to the cart, then you're taking that already-processed cart data and placing it in a database. If you were using ONLY a database, you would have to perform all those calculations in your own code ...>I wonder which advantages the cart has in this situation - am I not better off >using the db at any time instead of duplicating cart information?WebMerchant requires the cart files. You can do anything you want if you're not using WebMerchant, but I've tried it and I can tell you that it's a LOT of work to try to re-write all the internal calculation formulas built into WebCatalog. Then there are additional security issues to deal with that makes writing your own code even more complicated.I would not suggest it unless you have a very good reason (like a client with plenty of money to pay for the time it takes to do it all) ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

rename a file (1997) pull downs (1997) Formulas.db (1997) Not reading code (1997) Problems with [Applescript] (1997) Which beta for w* 4.1 and a problem w/b12 (1999) Requiring that certain fields be completed (1997) MacAuthorize order data fields WAS:How To question... (1997) RE: Last desperate attempt (1998) Emailing html (1998) search question (2001) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) Finding max value for a field (1997) RE: [WebDNA] Ubuntu 14.04 & WebDNA (2017) NT considerations (1997) remotely creating and populating a stock inventory db -almostthere! (1999) [shell] (2002) Multiple Pulldowns (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) [Reload mydata.db] (1998)