Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF

using zope.dublincore in CMFCore

 

 

Zope cmf RSS feed   Index | Next | Previous | View Threaded


wichert at wiggy

Sep 23, 2008, 8:01 AM

Post #1 of 9 (897 views)
Permalink
using zope.dublincore in CMFCore

Currently CMFCore and zope.dublincore duplicate some of the DC
interfaces. zope.dublincore even has an ICMFDublinCore interface
explicitly dublicing CMFCore's version.

Are there any objections to making the CMFCore interfaces derived
classes from zope.dublincore, or possibly even using those directly
where possible?

Wichert.

--
Wichert Akkerman <wichert[at]wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


jens at dataflake

Sep 23, 2008, 8:56 AM

Post #2 of 9 (866 views)
Permalink
Re: using zope.dublincore in CMFCore [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Sep 23, 2008, at 17:01 , Wichert Akkerman wrote:

> Currently CMFCore and zope.dublincore duplicate some of the DC
> interfaces. zope.dublincore even has an ICMFDublinCore interface
> explicitly dublicing CMFCore's version.
>
> Are there any objections to making the CMFCore interfaces derived
> classes from zope.dublincore, or possibly even using those directly
> where possible?

Do you see any specific benefit, more than just "replace our code with
other code to shift the maintenance burden"?

jens



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkjZEaIACgkQRAx5nvEhZLIXggCfTlhL6W3aWonllp8ZteSLLnKb
T1UAoJlAkKXVLAX/A9aF6fJK1wYICjsu
=k4fA
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


tseaver at palladion

Sep 23, 2008, 9:09 AM

Post #3 of 9 (867 views)
Permalink
Re: using zope.dublincore in CMFCore [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wichert Akkerman wrote:
> Currently CMFCore and zope.dublincore duplicate some of the DC
> interfaces. zope.dublincore even has an ICMFDublinCore interface
> explicitly dublicing CMFCore's version.
>
> Are there any objections to making the CMFCore interfaces derived
> classes from zope.dublincore, or possibly even using those directly
> where possible?

- -0 unless we come up with convincing evidence that the Z3 version is
actually being maintained by somebody who cares about it: Actually,
after looking at it, -1 unless it is getting some love *and* we can
avoid entangling ourselves with its policy-laden configure.zcml.


Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI2RTV+gerLs4ltQ4RAqc+AJ9EfR/RcnCGxi8h+QDBD0+P2oxGsQCgnSzb
I6WuWmqGs7u0IBKCG8OFBtk=
=H/H7
-----END PGP SIGNATURE-----

_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


jens at dataflake

Sep 23, 2008, 9:19 AM

Post #4 of 9 (865 views)
Permalink
Re: using zope.dublincore in CMFCore [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Sep 23, 2008, at 18:09 , Tres Seaver wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Wichert Akkerman wrote:
>> Are there any objections to making the CMFCore interfaces derived
>> classes from zope.dublincore, or possibly even using those directly
>> where possible?
>
> - -0 unless we come up with convincing evidence that the Z3 version is
> actually being maintained by somebody who cares about it: Actually,
> after looking at it, -1 unless it is getting some love *and* we can
> avoid entangling ourselves with its policy-laden configure.zcml.

The zope.dublincore code hasn't seen any maintenance since being
"exploded" out into a separate egg, this is true. In all fairness, the
DublinCore module in CMFDefault hasn't seen many changes that are
specifically Dublin Core-related, either, but then again it hasn't
needed much. It's been working very well with very little maintenance.
"Don't fix it if it ain't broke" and keep what we have is what I'd say
here.

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkjZFyUACgkQRAx5nvEhZLLLjACguy8f+yHpK23ak85LRwQ4r+e7
jvoAniuld7BlxLo4sHR/Jxf8UfawpNgM
=tyfE
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


wichert at wiggy

Sep 23, 2008, 10:19 AM

Post #5 of 9 (869 views)
Permalink
Re: using zope.dublincore in CMFCore [In reply to]

Previously Jens Vagelpohl wrote:
> On Sep 23, 2008, at 17:01 , Wichert Akkerman wrote:
>
> > Currently CMFCore and zope.dublincore duplicate some of the DC
> > interfaces. zope.dublincore even has an ICMFDublinCore interface
> > explicitly dublicing CMFCore's version.
> >
> > Are there any objections to making the CMFCore interfaces derived
> > classes from zope.dublincore, or possibly even using those directly
> > where possible?
>
> Do you see any specific benefit, more than just "replace our code with
> other code to shift the maintenance burden"?

I found myself writing some code which needs to get dublin core data from
content and should work for both zope3 and zope2 applications, except
for the difference in interfaces.

Wichert.

--
Wichert Akkerman <wichert[at]wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


jens at dataflake

Sep 23, 2008, 10:26 AM

Post #6 of 9 (864 views)
Permalink
Re: using zope.dublincore in CMFCore [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Sep 23, 2008, at 19:19 , Wichert Akkerman wrote:

> Previously Jens Vagelpohl wrote:
>> On Sep 23, 2008, at 17:01 , Wichert Akkerman wrote:
>>
>>> Are there any objections to making the CMFCore interfaces derived
>>> classes from zope.dublincore, or possibly even using those directly
>>> where possible?
>>
>> Do you see any specific benefit, more than just "replace our code
>> with
>> other code to shift the maintenance burden"?
>
> I found myself writing some code which needs to get dublin core data
> from
> content and should work for both zope3 and zope2 applications, except
> for the difference in interfaces.

As you already found, the ICMFDublinCore should be supported by both,
right?

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkjZJrwACgkQRAx5nvEhZLLyQgCgrUojEKCwI6P5I8jvU4WNQbbr
ZI4AnjesKxD+A/GNmICYY3bqlp5UrdSk
=HDOn
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


wichert at wiggy

Sep 23, 2008, 2:27 PM

Post #7 of 9 (861 views)
Permalink
Re: using zope.dublincore in CMFCore [In reply to]

Previously Jens Vagelpohl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Sep 23, 2008, at 19:19 , Wichert Akkerman wrote:
>
> > Previously Jens Vagelpohl wrote:
> >> On Sep 23, 2008, at 17:01 , Wichert Akkerman wrote:
> >>
> >>> Are there any objections to making the CMFCore interfaces derived
> >>> classes from zope.dublincore, or possibly even using those directly
> >>> where possible?
> >>
> >> Do you see any specific benefit, more than just "replace our code
> >> with
> >> other code to shift the maintenance burden"?
> >
> > I found myself writing some code which needs to get dublin core data
> > from
> > content and should work for both zope3 and zope2 applications, except
> > for the difference in interfaces.
>
> As you already found, the ICMFDublinCore should be supported by both,
> right?

Except for the fact that no CMF (or AT) content type uses the
zope.dublincore variant? ICMFDublinCore is also much more than I'm
interested in - IDCTimes is all I need.

Wichert.

--
Wichert Akkerman <wichert[at]wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


wichert at wiggy

Sep 23, 2008, 2:27 PM

Post #8 of 9 (858 views)
Permalink
Re: using zope.dublincore in CMFCore [In reply to]

Previously Jens Vagelpohl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Sep 23, 2008, at 19:19 , Wichert Akkerman wrote:
>
> > Previously Jens Vagelpohl wrote:
> >> On Sep 23, 2008, at 17:01 , Wichert Akkerman wrote:
> >>
> >>> Are there any objections to making the CMFCore interfaces derived
> >>> classes from zope.dublincore, or possibly even using those directly
> >>> where possible?
> >>
> >> Do you see any specific benefit, more than just "replace our code
> >> with
> >> other code to shift the maintenance burden"?
> >
> > I found myself writing some code which needs to get dublin core data
> > from
> > content and should work for both zope3 and zope2 applications, except
> > for the difference in interfaces.
>
> As you already found, the ICMFDublinCore should be supported by both,
> right?

Except for the fact that no CMF (or AT) content type uses the
zope.dublincore variant? ICMFDublinCore is also much more than I'm
interested in - IDCTimes is all I need.

Wichert.

--
Wichert Akkerman <wichert[at]wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


jens at dataflake

Sep 24, 2008, 12:25 AM

Post #9 of 9 (860 views)
Permalink
Re: using zope.dublincore in CMFCore [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Sep 23, 2008, at 23:27 , Wichert Akkerman wrote:

> Previously Jens Vagelpohl wrote:
>> As you already found, the ICMFDublinCore should be supported by both,
>> right?
>
> Except for the fact that no CMF (or AT) content type uses the
> zope.dublincore variant? ICMFDublinCore is also much more than I'm
> interested in - IDCTimes is all I need.

I see that IDCTimes provides the "created" and "modified" schema
attributes. CMFDefault's DublinCore has "created" and "modified"
methods that return the same thing, DateTime instances. If you wanted
to force the ICMFDublinCore semantics into the CMF it looks like you
would have to change a ton of code that expects those two to be a
method. Is that really worth it?

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkjZ61AACgkQRAx5nvEhZLLT0wCffvI28GiXL1LQNP8PumMWy0v3
ixEAoJjMKjvfX6bZbBNQrIEDtdoXSLjC
=Qh8o
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Zope cmf RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.