[Zope3-Users] Multi-directional adapters.

2005-07-27 Thread Alec Munro
I'm sure I'm using the wrong terminology, so here's what I'm trying to do.
I have a generic container type (someContainer), and a specific object
type (objA). objA can only be contained within AContainer (or
containers that implement IAContainer), so in order to add objA to
someContainer, we would need an adapter between IAContainer and
IsomeContainer. To complicate the mix, there is no such adapter
(because I don't want objA stored in someContainer). However, there is
an adapter between IBContainer, and IsomeContainer. There is also an
adapter between IobjA and IobjB.

Multi-directional adapter seems appropriate, because in order for
things to work, both the container and the object to be contained.

Is this common practice, or even possible? It seems like it would
probably work, but I still have much to learn, so please advise.

Thanks,

Alec Munro
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Announcement - jsonserver 1.0 beta1, JSON-RPC for Zope3

2005-07-27 Thread Jim Washington

Announcing:  jsonserver 1.0 beta1.

jsonserver is an implementation of JSON-RPC for Zope 3.  It enhances
Zope 3's http server to listen for content-type of 'text/x-json' and
allows json-rpc methods.  json-rpc methods are used like xml-rpc methods.

jsonserver is licensed ZPL2.1.

This is a beta release.  It does everything I need it to do, but there
may still be some bugs or features I missed that people want.  It works
with current Zope 3 svn trunk.  It may work with earlier versions of
Zope 3. Tests are included, just to be sure.

Since the alpha announcement, there have been many bugfixes, and the
JSON implementation is now a replaceable component.  jsonserver also now
provides feature=jsonrpc, so you can write conditional zcml that takes
effect only if jsonrpc is available (thanks, Roger Ineichen!).

The README.txt file has installation instructions and information about
dependencies.

jsonserver is available at http://zif.hill-street.net/jsonserver

For more about JSON and links about JSON-RPC, see
http://en.wikipedia.org/wiki/JSON .

-Jim Washington

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Zope X3 3.0.1 released!

2005-07-27 Thread Philipp von Weitershausen
Zope X3 3.0.1 released!
===

The Zope 3 development team is proud to announce the release of Zope
X3 3.0.1, a bugfix release for the X3.0 series.

This bugfix release is mostly due to the fact that Zope X3.0 is
included in Zope 2.8 and experiencing active integration into Zope 2
by means of the Five product. Several issues with X3.0.0 have made
this bugfix release necessary. Please see the list of changes for more
information.


Downloads
-

http://zope.org/Products/Zope3/3.0.1

Installation instructions for both Windows and Un*x/Linux are now
available in the top level README.txt file of the distribution. The
binary installer is recommended for Windows.

Zope X3 3.0.1 requires Python 2.3.5 or 2.4.1 to run. You must also
have zlib installed on your system.


Changes since X3 3.0.0:
---

  - Updated the French translation.

  - Backported some small fixes from the trunk to fix i18n of forms.

  - Fixed issue 298 (Role/permission title and description should be
messageids)

  - Several fixes were backported from the Zope 2.8 integration
branch, making the main X3.0 line compatible with Zope 2.8 and
thus allowing X3.0 releases to be included into Zope 2.8 releases
without modification.

  - Fixed issue 333 (XML Tree doesn't load if some item contains
non-ASCII characters).

  - Fixed issue 314 (i18n:translate removes line breaks from
pre.../pre contents).

  - Fixed issue 394 (starting zope with command -C arg causes
request.form to contain '-C':'').

  - Fixed issue 334 (Failing RuntimeInfo tests).

  - Fix SequenceWidgets. Added a CustomSequenceWidgetFactory for using
object widgets within a sequence. Added a howto for ObjectWidget

  - Fixed issue 293 (sequence widget).

  - Backported several bug fixes made to the DSN parser, including
issue 304.

  - Contents/contents.pt didn't quote the values that were used in
href:s, thus it couldn't function properly if the items contained
certain characters.

  - If the content-type was text/*, HTTPResponse.write re-set the
content-length header to the first chunk of data.

  - Don't unconditionally add Content-Length header in
HTTPResponse.getHeaders(). Do it only in output(), where the size
of the data is known.

  - For ``for`` parameter of the browser:menuItem and
browser:menuItems directives was not marked as required in the
directive schema, while it actually was expected to be required.

  - Made the includeOverrides / ZCML directive behave like the
include / directive with respect to the 'files' parameter.

  - Fixed a bug where IntWidget would not render a 0.


Resources
-

  - Zope 3 Development Web Site:
http://dev.zope.org/Zope3

  - Zope 3 Developers Mailing List
http://mail.zope.org/mailman/listinfo/zope3-dev

  - Zope 3 Users Mailing List
http://mail.zope.org/mailman/listinfo/zope3-users

  - IRC Channel:
#zope3-dev at irc.freenode.net


Acknowledgements


Much thanks to everyone who contributed to this release:

Jim Fulton, Stephan Richter, Bjorn Tillenius, Yvo Schubbe, Stuart
Bishop, Stefan H. Holek, Tim Peters, Dmitry Vasiliev, Gintautas
Miliauskas, Tres Seaver, Philipp von Weitershausen
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users