Page 1 of 1

An E commerce site using php/mysql?

Posted: Sun Dec 04, 2005 3:55 pm
by 187skillz
Has anyone ever seen an E commerce site tutorial using php/mysql? I've seen just 2 on my search on the web, I was wondering if y'all come across any apart from phpwebcommerce?


Thanks.

Posted: Sun Dec 04, 2005 4:15 pm
by foobar
If you want a solid e-commerce application, you should consider downloading one over making one yourself. There are a lot of security implications that _must_ be dealt with. Also, your clients will want to use something they can trust.

For an freeware, opensource, php e-commerce system, I'd recommend oscommerce. Remember, this has been developed by a large team of programmers and various specialists over a period of a few years.

Posted: Sun Dec 04, 2005 5:31 pm
by 187skillz
I'ts for my university project, we're all sh**** ourselves because he set us this stuff and we have no clue really.

Posted: Mon Dec 05, 2005 5:28 am
by foobar
187skillz wrote:I'ts for my university project, we're all sh**** ourselves because he set us this stuff and we have no clue really.
I'd still recommend downloading oscommerce. Look at what they're doing in their database, look at some of their flow-charts to get a feel of what is needed. Browse eBay and Amazon for inspiration and to get a grasp of what security issues are immediately visible. There's not much more that I can recommend, really. I haven't found any e-commerce application "tutorials" as of yet, so I guess you're stuck with looking at already existing code.

Posted: Mon Dec 05, 2005 5:29 am
by onion2k
You might also look at Zencart .. it's similar to OSCommerce, but better in a few areas apparently.

Posted: Mon Dec 05, 2005 5:32 am
by foobar
onion2k wrote:You might also look at Zencart .. it's similar to OSCommerce, but better in a few areas apparently.
That reminds me, check out HotScripts.com for a simple e-commerce app.I don't know about ZenCart, but oscommerce is a giant. Something slimmer than that but with solid coding (lots of OO, as little spaghetti code as possible) should get you thinking in the right direction.

Posted: Mon Dec 05, 2005 6:13 am
by 187skillz
thanks Foobar and Onion, I'll take them apart and if I encounter any problem, I'll write back, I know you guys will find this hard to believe but there are people that don't even know what php is and they're being asked to do this too.

Posted: Mon Dec 05, 2005 6:17 am
by patrikG
Don't look at OSCommerce, it's a mess and still requires register_globals to be on, which has known security-implications. ZenCart is the "official" successor and probably a bit better. There are also commercial scripts (e.g. XCart) etc.

Posted: Mon Dec 05, 2005 7:53 am
by neophyte
patrikG wrote:Don't look at OSCommerce, it's a mess and still requires register_globals to be on, which has known security-implications. ZenCart is the "official" successor and probably a bit better. There are also commercial scripts (e.g. XCart) etc.
I second that. One copy I installed constantly had table corruption problems. (I admit it might be a mysql problem). Aside from that I agree, it's a "mess".

Posted: Mon Dec 05, 2005 7:59 am
by foobar
Thanks for correcting me, neophyte and patrikG! :) It's good to find out something new.

Posted: Mon Dec 05, 2005 10:25 am
by Jenk
There is a contirbution to eliminate the need for register_globals, but I agree, oscommerce is a bit of a mess and still uses long vars which can also put you in the same boat as register_globals (if you don't have access to php.ini and long vars are off, you are stuffed.)