Yes, that's a good point. It's also a good distinction between what works well 
for end-users (in the database) and what works well for developers (in a 
revision-controlled file).

That's the reason why I'm not a big fan of the idea of putting form definitions 
and the like in the database.

In general the direction we're headed with OFBiz, ie to put technical-level 
config in files and user-level config in the database, is compatible with this. 
However, sometimes technical people are responsible for some of the user-level 
configuration. In fact, IMO people are sometimes too optimistic about what 
end-users can even configure without getting help, and that blurs this line a 
lot...

-David


On Dec 17, 2009, at 5:31 PM, Scott Gray wrote:

> Oh don't get me wrong, I understand and agree with why they exist and what 
> they are intended to make easier.  I just personally found it easier in the 
> past when setting them up to modify the properties file, create a patch and 
> restart rather than adding entity xml and reloading the data.  I could just 
> modify it with the screens but that would only last until the next database 
> refresh on dev or staging.  So IMO easier for an end-user, harder for a 
> developer.
> 
> Regards
> Scott
> 
> On 18/12/2009, at 11:40 AM, David E Jones wrote:
> 
>> 
>> I disagree, the properties files are way more of a pain than data in the 
>> database, especially for end-users or if you only have access to the 
>> application. To have to edit a file and restart the server to change your 
>> payment processor settings... isn't that a little bit of pain?
>> 
>> -David
>> 
>> 
>> On Dec 17, 2009, at 4:08 PM, Scott Gray wrote:
>> 
>>> The properties have been mostly moved to the database for 'easier' 
>>> configuration (I don't really see the ease to be honest).  So 
>>> payment.properties is still supported but I guess you could say deprecated 
>>> and the PaymentGatewayConfig entities are the new way to configure the 
>>> payment gateways.
>>> 
>>> Regards
>>> Scott
>>> 
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>> 
>>> On 18/12/2009, at 6:58 AM, Mauricio Tavares wrote:
>>> 
>>>> What is the difference between these two files as far as payment
>>>> gateways are concerned? At first glance they both seem to provide the
>>>> "constant" (host, port, userID, etc) values for each payment gateway.
>>>> But, I could be confused as always. :)
>>> 
>> 
> 

Reply via email to