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 hashes)