Michael Wechner wrote:
Andreas Hartmann wrote:
fine with me, but does such an interface within 1.4-dev already exist?
http://wiki.apache.org/lenya/OverviewRepository
The entry point is the RepositorySource, which uses a Node to
store data. Of course it's not very powerful, but it allows to
use another repo implementation by providing another NodeFactory.
This is not yet configurable (no need for this by now), but
that can be accomplished in a minute.
well, it seems to me that we are mixing here two things:
- The Lenya Pub/Publets API
- The Lenya "actual" Repository API
Hmmm, why do you think so? Could you give an example?
We should cleary separate these two things, whereas it makes sense that the
Lenya Layer is on top of the repository API and people should access it
through the Lenya API.
That sounds reasonable.
Second the Lenya Repository API should mirror/extend the JCR API, because
we shouldn't reinvent the wheel here.
If we mirror the whole API, we can as well use JCR as it is.
My idea was to do a smooth transition from the state that we have
now instead of introducing a new API.
Another possiblity would be to defer the integration to 1.6 and
start with a nice and clean JCR integration. I'd actually even prefer
this rather "academic" solution :)
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]