Re: Request for API pointers

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
Quoting "Heath S. Hendrickson" <[email protected]>:

> 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
-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.