3 Days of work--will anyone notice?

Started by shmax, November 16, 2007, 06:18:34 PM

previous topic - next topic
Go Down

shmax

November 16, 2007, 06:18:34 PM Last Edit: December 31, 1969, 04:00:00 PM by shmax
Today's update was major in that it was a huge amount of work, but subtle in that no one is likely to notice it. I sort of explained what I was going to do in my last post, but here's the nuts and bolts:

- figure records no longer have their own category id.
- figure records are now required to be linked to a package at all times, including at creation
- you can no longer link figures to packages on the package form. Now you must do the reverse, link a package to a figure on the figure form. This way we don't run the risk of winding up with "dangling figures", meaning figures that aren't linked to any packages


In short, you can still browse figures by category, but we figure out what category a figure is in by examining the package he's linked to. This is cool, because now you will see a figure in multiple categories, where appropriate. I'll give you an example. Look at this particular optimus prime:

http://www.shmax.com/part_details/139/Optimus_Prime

Notice that he comes packaged in "Optimus Prime", which is in Cybertron > Legends of Cybertron, and also "Movie Optimus Prime Cybertron Optimus Prime Movie Megatron Cybertron Megatron", which is in Movie > Exclusive > Other.

Here's the subtle bit--notice that if you browse either of those categories by figure, you'll see this "Optimus Prime":

http://www.shmax.com/Database/396?tab=1
http://www.shmax.com/Database/505?tab=1

Mmmmm, so much nicer.

This update wasn't exactly spectacular, but it will lay the groundwork for even more sophisticated browsing down the road.

- shmax

p.s. Oh, I also fixed the link widget such that it doesn't reset when you refresh the page.

shmax

#1
November 17, 2007, 02:09:38 AM Last Edit: December 31, 1969, 04:00:00 PM by shmax
This one only took 5 minutes! Now, when viewing "your collection", you can click on the figures tab, and instead of showing all figures like it used to, it will only show the figures that are associated with the packages in your collection. Same goes for wishlist and missing. As foretold in prophecy! And now, ZZZZZZ....

- shmax

Go Up