Multipurpose adapter used to rewrite attributes input interface into output
Project description
The "junction" adapter: ng.zcmljunction
---------------------------------------
The zcmljunction is zope3 product developed to provide possibility rapid
interface adapter creation. To create adapter you can use new junction
zcml-directive. Adapter can provide output interface attributes from
attributes of input interface or it join.
Sample of use::
<junction
for=".interfaces.IArticle"
provides=".interfaces.ISearch"
factory = ".searchadapter.SearchAdapter"
>
<property in="title" out="title"/>
<property in="abstract" out="abstract"/>
<property in="body" out="body" default=""/>
<property in="abstract klass name keyword title body author" out="common" default=""/>
</junction>
* Sun Jan 13 2008 Andrey Orlov <dbdt@dreambot.ru> 1.0.3
- Reuqures fixed
- Documentation fixed
* Wed Nov 7 2007 Andrey Orlov <dbdt@dreambot.ru> 1.0.2
- File setup.py fixed
* Wed Nov 7 2007 Andrey Orlov <dbdt@dreambot.ru> 1.0.1
- first official release
---------------------------------------
The zcmljunction is zope3 product developed to provide possibility rapid
interface adapter creation. To create adapter you can use new junction
zcml-directive. Adapter can provide output interface attributes from
attributes of input interface or it join.
Sample of use::
<junction
for=".interfaces.IArticle"
provides=".interfaces.ISearch"
factory = ".searchadapter.SearchAdapter"
>
<property in="title" out="title"/>
<property in="abstract" out="abstract"/>
<property in="body" out="body" default=""/>
<property in="abstract klass name keyword title body author" out="common" default=""/>
</junction>
* Sun Jan 13 2008 Andrey Orlov <dbdt@dreambot.ru> 1.0.3
- Reuqures fixed
- Documentation fixed
* Wed Nov 7 2007 Andrey Orlov <dbdt@dreambot.ru> 1.0.2
- File setup.py fixed
* Wed Nov 7 2007 Andrey Orlov <dbdt@dreambot.ru> 1.0.1
- first official release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ng.zcmljunction-1.0.3.tar.gz
(4.8 kB
view details)
File details
Details for the file ng.zcmljunction-1.0.3.tar.gz
.
File metadata
- Download URL: ng.zcmljunction-1.0.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0999c1ef6f7f4341058d32d7bf3a9d0dcd4c49b9e61bf62129a6f8fb00a57526 |
|
MD5 | d011b2055344861d92fa4d99696ede61 |
|
BLAKE2b-256 | 777d118c4b25f2a4a74feeab57902f19c68a72c535201c013f326fe4e4981edc |