Multipurpose adapter used to rewrite attributes input interface into output
Project description
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>
* Wed Nov 7 2007 Andrey Orlov <cray@neural.ru> 1.0.2
- File setup.py fixed
* Wed Nov 7 2007 Andrey Orlov <cray@neural.ru> 1.0.1
- first official release
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>
* Wed Nov 7 2007 Andrey Orlov <cray@neural.ru> 1.0.2
- File setup.py fixed
* Wed Nov 7 2007 Andrey Orlov <cray@neural.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.2.tar.gz
(3.9 kB
view details)
File details
Details for the file ng.zcmljunction-1.0.2.tar.gz
.
File metadata
- Download URL: ng.zcmljunction-1.0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3381c198762a8371842d701783a43b69463a6786c8c1d10cf22ca68a9dbe9a78 |
|
MD5 | 1a7f0193aa3b2e8a4521b16e1a4c0771 |
|
BLAKE2b-256 | 306dbb5f359280b039b11efc4c23b6ff3c47e8dee7dca6774ce0fa10720e8200 |