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