[ansel] Request for API pointers
Chuck Hagenbuch
chuck at horde.org
Mon Mar 22 09:12:38 PST 2004
Quoting "Heath S. Hendrickson" <heath at outerspaceconsultants.com>:
> That's fine by me... I just was looking for a way to store an arbitrary
> amount of data for each image in as efficient a storage manner as
> possible. Does anyone have any objections to just storing it as a
> single attribute (image_exif_data) as a delimited string?
Yes. Not searchable. Very innefficient database-wise (just a big-ass
text field
- ick). And many, many more.
> If I went the route of using fixed attributre names, I'd have to
> hard-code all the possible EXIF fields into the code, making a little
> more work to maintain. If there is no database storage benefit to using
> delimited values (and there are drawbacks), just say so and I'll go down
> the multi-attribute route.
No, just store whichever attributes there are. Don't worry about hardcoding
everything.
-chuck
--
"Regard my poor demoralized mule!" - Juan Valdez
More information about the ansel
mailing list