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.
It’s a pity that this wasn’t fully done. It would have ended pretty well.
Anyway, got this from a site I closely follow for all my scientology info (PS if you’re seeing this, hi Mark!) and thought that it was funny.
Better than the barackroll is for certain the Xenu08 site. I know if I were American that he would be my preferred candidate. Well.. I was initially barracking (pun) for Hildog, obviously since she’s more alien, but with her out of the contest, definitely xenu.
Hrm, anyhow, it’s late (12.45) and I have work tomorrow. So that is all for now. Keep searching the skiis…er, skies.
Seems when work did a batch of recent DNS updates, they put my site on the wrong IP addresses, and subsequently it was redirect looping. Uh-oh.
Fixed it for now, although I need to remember to fix it for good tomorrow (few more settings).
In other news, WordPress 2.6 is out and I need to update. I updated my test site I have stored locally and everything seems to have run normally. I’m loving the wiki-like revisions features, very very nice. I’m going to try updating tomorrow morning