Re: AW: [Zope-dev] Field for blobs?

2008-04-16 Thread Nikolay Kim
On Tue, 2008-04-15 at 17:37 +0200, Roger Ineichen wrote:

 The other option whould be to split every widget into it's own
 package and use z3c.widget as namespace package.
 
 What do you think?

i think we should split z3c.schema and z3c.widget to separate packages,
so we can have one namespace for all third party fields and widgets


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Field for blobs?

2008-04-15 Thread Christian Zagrodnick

Hi,

I'd need a zope.schema field for blobs. Should this go directly to 
zope.schema or some third party package?


Something like

  bla = zope.schema.Blob(title=...)

would be nice to have.


--
Christian Zagrodnick

gocept gmbh  co. kg  ·  forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891



___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Field for blobs?

2008-04-15 Thread Nikolay Kim
On Tue, 2008-04-15 at 16:14 +0200, Christian Zagrodnick wrote:
 Hi,
 
 I'd need a zope.schema field for blobs. Should this go directly to 
 zope.schema or some third party package?

there is z3c.schema package for various third party packages


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


AW: [Zope-dev] Field for blobs?

2008-04-15 Thread Roger Ineichen
Hi Christian

Regards
Roger Ineichen
_
END OF MESSAGE
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im 
 Auftrag von Nikolay Kim
 Gesendet: Dienstag, 15. April 2008 22:29
 An: zope-dev@zope.org
 Betreff: Re: [Zope-dev] Field for blobs?
 
 On Tue, 2008-04-15 at 16:14 +0200, Christian Zagrodnick wrote:
  Hi,
  
  I'd need a zope.schema field for blobs. Should this go directly to 
  zope.schema or some third party package?
 
 there is z3c.schema package for various third party packages

If this widget doesn't depend on ZODB it's a good choice. If it
depends on ZODB and other things it's pobably bad for someone 
who likes this widgets but does not use ZODB at all.

Right now all widgets included in the z3c.widget depend only
on:

import re
import zope.schema
import zope.interfaces
import z3c.i18n 

I think this is a very good choice and it whould be bad to 
depend on more components then that.

The other option whould be to split every widget into it's own
package and use z3c.widget as namespace package.

What do you think?

Regards
Roger Ineichen


 ___
 Zope-Dev maillist  -  Zope-Dev@zope.org
 http://mail.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  ** (Related lists -  
 http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope )
 

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )