[Zope-dev] Where to put custom schemas for z3c.form that depend onspecific libraries?

Hermann Himmelbauer dusty at qwer.tk
Sat Sep 20 04:16:26 EDT 2008


Am Samstag 20 September 2008 03:37:00 schrieb Roger Ineichen:
> Hi Hermann
>
> > Betreff: [Zope-dev] Where to put custom schemas for z3c.form
> > that depend onspecific libraries?
> >
> > Hi,
> > I need to create a specific schema for international bank
> > account numbers (IBAN). I'd like to contribute this widget
> > (maybe someone has use for it).
> > However, this schema needs a specific library for validation,
> > therefore I wonder where to put it? If I put it in z3c.schema
> > (e.g. z3c.schema.iban / z3c.schema.payment), the library
> > dependency will be problematic, I assume.
> >
> > Maybe I should create an own package for it? But with what
> > name? What do you think?
>
> We should only put dependency less packages in to z3c.schema
> because we will release that package as one egg.
>
> I think there is already a z3c.password schema field including a
> widget etc.
>
> I recommend to put that package into the z3c namespace.
> z3c.iban will be a very good name since the IBAN number
> is now the defacto standard for international transactions.
>
> Does this makes sens for you?

Yes, that's fine, "z3c.iban", then.

Best Regards,
Hermann


-- 
hermann at qwer.tk
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7


More information about the Zope-Dev mailing list