Shopping with convenience (for us developers, that is)

I don’t normally post my nerdy tid-bits here, but we did something totally cool today.
We built a pseudo-purchasing system (ie shopping / “add to cart”) revolving entirely around functionality in an ORM and PHP’s built in session handling.
The beauty of it all, is that once our logic validates the cart is ready and all processing is done, all that is required is calling $object->save();, and the ORM takes care of persisting it all.
I’m a little inspired with how easy this was, and how well it really worked (it seriously was awesome).. I’m going to put some thought into other ways that code libraries that I already use can be put to use with their “in the box” features, but in an “outside the box” kind of way.
June 3rd, 2010 at 7:57 pm
Neat
go geeky awesomeness. That PO library rules
June 3rd, 2010 at 10:55 pm
It wasn’t PO – we basically rewrote it from scratch. It’d be nice to rewrite PO to do the same thing though..
June 4th, 2010 at 11:30 am
Nice
will look forward to reviewing the enhancement
go outside the box!!