Re: RFC: Proposal Dexterity API - two variants
Johannes Raggam <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2014-11-06 at 00:21 +0100, Robert Niederreiter wrote: > Am 2014-11-05 um 23:43 schrieb David Glick (Plone): > > > On 11/5/14, 2:37 PM, Martin Aspeli wrote: > > > > > > > > > > > Behaviours are not and were never designed to be a way simply to > > > build reusable fields. > > > > > > > Well, we need a better way to do reusable fields then. > I really think behaviors should become the default way for building > reusable fields. What's the option? Introducing a new concept? > Subclassing (not reusable TTW then)? Behaviors are already there and > working, Providing all the hooks some need to integrate to plone... > except an explicit API ;) what is meant with reusing fields anyways? it's not only just the field which should be reused, but it's also that the context, which uses the behavior, provides the behaviors marker interface and get all the other functionality (indexers, querying, views, whatever). if it was ONLY the fields, behaviors wouldn't be that interesting. i also think, that behaviors are a very powerful way to create reusable components. ------------------------------------------------------------------------------ _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers
signature.asc
(application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlRbMoAACgkQW4mNMQxDgAd9jACgvw8BLt4dgj+atIIOhfXzvJ7C fSYAnRrmgn1h1Pfx4SffFK0iySVOD7nV =WrYt -----END PGP SIGNATURE-----