Re: Applying the "Configuration By Exception" concept more extensively

2012-03-02 Thread Adrian Crum
l - -- Coherent Software Australia Pty Ltd http://www.cohsoft.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ -- View this message in context: http://ofbiz.135035.n4.nabble.com/Applying-the-Configuration-By-Exception-concept-more-extensively-tp4435195p4438250.html Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Re: Applying the "Configuration By Exception" concept more extensively

2012-03-02 Thread Paul Foxworthy
>> title="Example" >>> menu-name="secondary" >>> server="default-server" >>> location="webapp/example" >>> base-permission="OFBTOOLS,EXAMPLE" >>> mount-point="/example"/> >>> >> title="BIRT" >>> server="default-server" >>> location="webapp/birt" >>> base-permission="OFBTOOLS,WEBTOOLS" >>> mount-point="/birt" >>> app-bar-display="false"/> >>> >>> >>> It should be possible to create a component that uses default resource >>> names and locations without the need to define the ofbiz-component.xml >>> file; for special components that require non-standard configurations >>> then the ofbiz-component.xml file will be used as we are doing now. >>> >>> What do you think? If we start to think in this direction I am pretty >>> sure we could be able to simplify a lot of the OFBiz configuration files >>> (service definitions, entity definitions etc...). >>> >>> Kind regards, >>> >>> Jacopo >>> >>> >>> [*]: >>> http://moon26.blogspot.com/2011/04/configuration-by-exception_13.html >>> > - -- Coherent Software Australia Pty Ltd http://www.cohsoft.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ -- View this message in context: http://ofbiz.135035.n4.nabble.com/Applying-the-Configuration-By-Exception-concept-more-extensively-tp4435195p4438250.html Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Re: Applying the "Configuration By Exception" concept more extensively

2012-03-02 Thread Jacopo Cappellato
You are right Adrian... actually this would be the last thing to touch but we could use a different convention like: data/_seed.xml data/_demo.xml or more simply: data/seed.xml data/demo.xml (where the filename is the reader name) and then consider to merge all seed records in _seed.xml and a

Re: Applying the "Configuration By Exception" concept more extensively

2012-03-02 Thread Adrian Crum
I don't think we can eliminate the seed/demo data readers. In most cases, data loading must be done in a certain order. -Adrian On 3/1/2012 2:53 PM, Jacopo Cappellato wrote: A decent description of the "Configuration By Exception" concept is the following [*]: "Java EE 5 introduced the idea

Re: Applying the "Configuration By Exception" concept more extensively

2012-03-01 Thread Jacques Le Roux
This sounds good to me. I'm all for simplification. Step by step seems feasible. I see no problems separating data (seed from demo, etc.) but this part may need the more work (I did not check, just thinking out loud) Jacques From: "Jacopo Cappellato" A decent description of the "Configuratio

Applying the "Configuration By Exception" concept more extensively

2012-03-01 Thread Jacopo Cappellato
A decent description of the "Configuration By Exception" concept is the following [*]: "Java EE 5 introduced the idea of configuration by exception (sometimes referred to as programming by exception or convention over configuration). This means, unless specified differently, the container or pr