Hi Chris,

On 9/13/06, Chris Miner <[email protected]> wrote:

I had thought the 'me' field of the MrBean class would be coded as node data
named 'me' instead of 'Me'.  Is the capitalization indended/typical?

As the coder works  by location getStuff() / setStuff(), it's easy to
substring those method names into "Stuff", hence the upper case first
char.

The initial implementation was used in a context where querying for
fields wasn't part of the usecase.

I guess it would make for easier (more readable) queries to have a
lower case first char. It's trivial to obtain.

Would you guys like to have a first lower case char ?


Personally I think it would be enough to produce magnolia node types, since
they work best with the rest of the system.  For example they show up in the
jcr browser while other node types don't.  And subtypes of the magnolia nodes
don't work as plug and play alternatives to them.  It is best to have content
that simply interacts well with the rest of the system.

Nicolas implemented this Magnolia "extension".

The base implementation is currently part of OpenWFE, the idea is to
use JCR repositories for persistence purpose, Magnolia is not always
in the picture.

Persistence to a JCR repository is important for the OpenWFE project,
but the collaboration with the Magnolia project is as important, hence
the dual implementation.

Magnolia + OpenWFE is a powerful combination but there are certain
situations where OpenWFE has to live on its own and a vanilla JCR
repository is a good persistence alternative in that case.


We still have to tune that JCR/Magnolia implementation, especially
when it comes to encoding maps, but the hard work is done.


The code about Magnolia has yet to find a home, Nicolas and I feel
that this code belongs to Magnolia and not to OpenWFE, that latter
project being on the backoffice/dependency side.
Now that OpenWFE is maven built (and even has its own 'pre-releases'
repository ( 
http://jmettraux.wordpress.com/2006/09/12/openwfe-maven2-repository/
), this shouldn't be a big problem.


Best regards, thanks for your feedback,

--
John Mettraux   -///-   http://jmettraux.openwfe.org

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to