Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: buckworks
I have never written a shopping cart script before so without wanting to spend hours stabbing in the dark pulling my hair out trying to figure it out I was wondering if anyone knew of some step by step help site or document that would give me the basic concept of how a cart works so I can write one.
Obviously URL's are not permitted here so message me them if you have them, if anyone has a simple to use script they can post excetpts from that would be usful also.
Many thanks in advance....
assuming you have both [otherwise pay someone to do it for you!], you might want to
1. separate design from code, use templates
2. keep a modular structure, easy adding and modifying modules
3. don't do to your user what you don't like others to do to you
and i could go on and on
I suppose my question should really of been: what problems am I likely to run into when writing one...
Security issues etc...
Myself and the client want one I write for the security reason as it means I can patch it up based on my server config so there are no holes in it...
Performance issues will be another concern. If your store gets busy, will it handle the traffic? Use OOP where appropriate and optimize your MySQL calls (or whatever db you're going to use).
TEST TEST TEST TEST TEST TEST ... benchmark the heck out of your setup and try all of the know hacks you can locate.