Re: blobs
[email protected] (Uri Guttman) 29 Aug 2002 00:52:43 -0400
| Newsgroups | perl.books.workers |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "IT" == Iain Truskett <[email protected]> writes: IT> * Dave Rolsky ([email protected]) [29 Aug 2002 13:53]: >> On 28 Aug 2002, Uri Guttman wrote: > no, you must convert it first >> to a string by using storable (freeze > method) or some other >> module. then you can insert it into a long > field of type BLOB. >> This shouldn't be necessary if you are storing raw image data, >> actually. IT> That's what I thought, but it didn't appear to be working. IT> Well, part of the idea is that all that ever changes on the site IT> is the db. If I'm wanting to write images to disc from my IT> components (since one of the other ideas is that it's fully IT> maintainable via the web), I'll need to be able to write to disc. why not just link to the image from the book's home page? that is what i did and it works fine. all you need to store is the url and you have to store several of them to link to the home page, contents, index, sample chapter, etc. the cover should just be another url like those. i don't think we should have copies of anything we don't own/copyright. links to them should be just fine. the only content we should have is url's, reviews and ratings. uri -- Uri Guttman ------ [email protected] -------- http://www.stemsystems.com ----- Stem and Perl Development, Systems Architecture, Design and Coding ---- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org