optimistic one

Oct 15, 2006 19:44

so im trying to write this shopping cart thing. what i have so far is pretty simple, it's just an array that holds all quantities in keys comprised of item specific unique integers. like, upcs or inventory numbers. and all it can really do is add items to existing quantities in the cart, add new items to the cart, and in a neat little form you can remove/modify quantities of items in the cart. if you set the quantity to 0, it unsets the item from the cart. now the trick is to integrate this into a category-oriented user shopping module/set of modules with seamless and obvious logical navigation and function. and it needs to be secure enough to send credit card and other personal information. and i guess it needs to be partnered with a database containing relevant and necessary item-specific information like price, image (maybe), description, special shipping, etc. also maybe have a prompt appear when certain items that have conjoining items typically sold with them (refills, matching pieces of sets, etc). that would be neat. but would also introduce an entirely new level of complexity to an already near-overwhelming program. but it would be neat.

you know, you can buy this type of shit for cheap and even get pretty powerful ones for free that are even open source, but i always felt like there was something to be said for bearing through the good projects on your own, even if you pull out of a few hairs in the process. yeah right, i just would know how to work my own thing instead of having the daunting and sometimes embarassingly difficult task of learning someone elses work. programming is like that, you have to have written it or be very familiar with or be very good at someone elses code or programming style to even have any idea what is going on. i mean if you are a decent programmer you can go through it and deduce what is really happening, but that shit gets hard when you have 30, 40, 50 variables going... plus loops and recursive functions make it REALLY hard to deduce from just looking.

anyway this is stupid. and i know you arent interested in me talking about programming. what a comeback. call me the comeback kid.
Previous post Next post
Up