Perl: the Markov chain saw | |
PerlMonks |
Re: Who needs shopping carts?by BBQ (Curate) |
on May 09, 2000 at 09:06 UTC ( [id://10714]=note: print w/replies, xml ) | Need Help?? |
I agree and disagree! :o) I agree that one can easily use the method you mentioned to maintain a stateless connection through the use of cookies, but that's a pretty simple Shopping Cart. A real Shopping Cart should be a cookie-free, stateless and still be persistent. If you should set a cookie, set it just to identify the user, and then create an empty shopping cart that he/she can add products to. This allows you to do more fancy stuff later on such as:
But as a developer, I would never consider purchasing a shopping cart. IMHO, that's a total overkill. I'd purchase a complete store, but never just the shopping cart package. Its too easy to build one yourself, and get the features you want. just my R$ 0.02 (Brazilian cents) worth.
In Section
Seekers of Perl Wisdom
|
|