shmax.com forums

Help us improve www.shmax.com => Feature Requests/Announcements => Topic started by: shmax on June 08, 2014, 09:01:54 PM

Title: Update 06/08/2014
Post by: shmax on June 08, 2014, 09:01:54 PM
Today I released a giant code refactor I've been working on for a few months. It doesn't result in any new features for the site, but the short version is that I'm now using PHP's pdo abstraction to talk to the database, which puts us in a position to swap it out entirely (I've got my eye on MariaDb... sorry, MySql). The bad news is that to do something like this I had to meddle with almost every piece of code on the site, so as is traditional on shmax.com, chances are good that I broke lots of stuff.

The good news is that I took this opportunity to write up hundreds of test cases, and as I was going through everything I discovered and fixed lots of creepy little bugs that nobody has noticed on the site (some of them go back years). I can't remotely remember them all, but here are some highlights:



If you see any other bugs please don't be shy about calling 'em out. Thanks, guys. I'ma go play Watch Dogs, now.
Title: Re: Update 06/08/2014
Post by: Tripredacus on June 09, 2014, 10:40:06 AM
Hmmm, that last one... a "long" time, is it possible a REALLY long time? Or something related? I only ask because of that time I was finding that accessories were being magically added (checked box) on some figures. Things like missiles or instruction books.

One actual example that I didn't clear from my items is the Bruticus Robot Head accessory for G1 Onslaught.
http://www.shmax.com/product_details/1048/onslaught
Title: Re: Update 06/08/2014
Post by: shmax on June 09, 2014, 11:47:52 AM
Yes, if someone added that "Head" part record to the system some time after you added the product to your collection, then we would expect to see it added to your part checklist in the "checked" state. This is one of the reasons I really try to discourage the practice of roughing-in product records and neglecting the part records, but what are you gonna do? Another thing I might do one of these days is send emails to folks when things they own are altered--I believe that's been requested, before.