late night with Perl
Yuck I’ve been up all night long figuring out AgoraCart. Now Perl may have it’s plusses as a language, but when you’re not too familiar with Perl and you jump into the middle of somebody else’s code to make some pretty specific (yet necessary) hacks, it’s easy to see past them.
The good news is, having spent all this extra time getting familiar with AgoraCart will come in handy in the next couple of weeks when I add ecom to another site — in fact I can reuse a lot of the same code. But that sure doesn’t help my frustration right now.
This is a perfect example of why I don’t like using other people’s code. Now, would it really have been that much more difficult to write my own software? I don’t think I could have added the UPS/FedEx/etc. shipping processing, and I wouldn’t have been able to add the (rather impressive) modularity of the AgoraCart code. BUT I didn’t need the UPS/FedEx/etc. processing for this project anyway, and custom-built solutions don’t need modularity.
I would have done the whole thing in PHP / MySQL, and it would have been so much clearer…. Actually now that I think about it, I really should just build my own, similar system, to use from now on for my ecom projects. That would be so nice…
But it’s so late right now, and I had an early morning anyway, I’m having a hard time keeping my eyes open. I knew it’d be late (I don’t fix a pot of coffee at 10:00 for nothing) but I was hoping I would actually get to a couple of other projects. Oh well. Another busy busy day tomorrow.
Hopefully I can make enough headway that I won’t feel bad about spending a couple of hours on proteus.