As announced in the thread 'MMBase Imaging, request for comments on changes.', I have made some improvements on the imaging framework of MMBase.
I want to offer these changes for inclusion CVS HEAD now. Some of these things may be fit for backporting to 1.7, but we'll consider that later. I have not changed very much in the mean-time, so I suggest that you read this thread first: http://lists.mmbase.org/arc/developers/msg11889.html So, I don't describe the thing completely here again. Some extra remarks though: - The 'predictSize' functionality is finished, and working. - I have not done any performance-tests yes. This can be done later, it would have only influence on defaults and documentation. - I am in doubt now if dedicated 'size' fields are actually sensible, because JDBC actually allows for requesting the size of a Blob withouth fechting it. For the moment I'll let the size-fields though, because: - IIRC, not all drivers support this Blob-stuff - It cannot harm (one integer field is nothing in comparison with the blob itself). - I was pondering about an yet another extra field on images 'checksum', which would store a checksum on the handle field (a suggestion of Daniel). This would make it easy to check if a image was uploaded already. You could perhaps even make a unique-key on this field. I request permission to add this functionality as well. Naturally this field will be optional as well, but it will be present in the default images.xml of MMBase 1.8 (if it is possible to make a check-sum calculation based on streams, if not, I'll will not add it to the default). I think that together with the 'InputStream' functionality which just passed the vote and the 'BlobCache' (for which I used the 'optimization' project), this will give a very nice and good implementation for Images in MMBase. START OF VOTING: 2005-05-02 16:30 END OF CALL: 2005-05-06 16:30 [_] +1 (YES) [_] +1 (YES), if: [_] +0 (ABSTAIN ) [_] -1 (NO), because : -- Michiel Meeuwissen mihxil' Mediacentrum 140 H'sum [] () +31 (0)35 6772979 nl_NL eo_XX en_US _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
