![]() |
|
Extending the Database - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Extending the Database (/thread-16.html) |
Extending the Database - reidab - 19-09-2005 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. Extending the Database - trisweb - 21-09-2005 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 |