Thanks Geert. I will look at it. Once it is implemented, I will be very glad
if it can be integrated into rife :)

Cheers

wangwei

-----邮件原件-----
发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代
表 Geert Bevin
发送时间: Wednesday, April 12, 2006 2:48 PM
收件人: RIFE users list : questions,bug reports and suggestions.
主题: Re: [Rife-users] how to store raw data as a file in native filesystem
instead of in database within rife cmf ?

Hi Wangwei,

it is possible, though it is not implemented.

A ContentQueryManager interfaces with a ContentManager, by default is  
uses DatabaseContent. You can however provide your own one in the  
constructor:
http://rifers.org/docs/api/com/uwyn/rife/cmf/dam/ 
ContentQueryManager.html#ContentQueryManager 
(com.uwyn.rife.database.Datasource,%20java.lang.Class,% 
20com.uwyn.rife.cmf.dam.ContentManager)

You can then implement your own FileSystemContent by implementing  
http://rifers.org/docs/api/com/uwyn/rife/cmf/dam/ContentManager.html.  
If you do so, please do it in reusable fashion, then it can be  
integrated into RIFE ;§)

Best regards,

Geert

On 12 Apr 2006, at 03:47, wang wei wrote:

> Hi,
>
>      Now I am using rife to build a file server, which will support  
> user to
> upload any amount of files, and the file size may up to hundreds of  
> mega
> bytes.
>
>      I like rife's cmf, and want to use it to manage those files.  
> But I am
> not sure if there is way for cmf to store the files in native file  
> system
> instead of in database, because I do care about the performance.
>
>      Any idea ?  Thanks in advance :)
>
> wangwei
>
> _______________________________________________
> Rife-users mailing list
> [email protected]
> http://lists.uwyn.com/mailman/listinfo/rife-users
>

--
Geert Bevin             Uwyn bvba               GTalk: [EMAIL PROTECTED]
"Use what you need"     Avenue de Scailmont 34  Skype: gbevin
http://www.uwyn.com     7170 Manage, Belgium      AIM: geertbevin
gbevin at uwyn dot com  Tel: +32 64 84 80 03   Mobile: +32 477 302 599

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to