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.



