Extending the Database

I'm writing some metadata import code for my gallery and, in the intrest of possibly releasing a patch once I was done, I was wondering if it would fit in better with the design/philosophy of zenphoto to add columns to the images table or to create a seperate keyed metadata table to hold it.

Comments

  • trisweb Administrator
    If the metadata is specific to the image, then it belongs in the image table. More specifically, if you would add the accessor/modifier methods in the Image class, then they belong in the images table.

    Thanks for hacking :)
Sign In or Register to comment.