Re: Framework needs access to Application - How?

2015-10-28 Thread Markus Ruggiero
Great, thanks a lot, ERXProperties does it.


> On 27.10.2015, at 17:31, Hugi Thordarson  wrote:
> 
> Put your config values into Properties? You can then use (for example) the 
> ERXProperties class to retrieve your values.
> 
> - hugi
> 
> 
> 
>> On 27. okt. 2015, at 16:20, Markus Ruggiero  
>> wrote:
>> 
>> I am trying to split a large appliation and extract the EOModel and the 
>> business classes into a separate framework. Unfortunately there are some 
>> (just 2 or 3) config parameters that are maintained in the Application that 
>> some of the business classes need to know. But Application is not known in 
>> the framework. I could put the config stuff into the database but is there 
>> any other way? How would you solve this? Would 
>> ERXApplication.application().valueForKey("MY_CONFIG_ITEM") help? Other 
>> strategies?
>> 
>> Thanks for sharing your thoughts
>> ---markus---
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
> 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Framework needs access to Application - How?

2015-10-27 Thread Chuck Hill
Yep, defaults in the framework, overrides in the Application, and
production overrides on the command line.


On 2015-10-27, 9:32 AM,
"webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of
Hugi Thordarson" 
 wrote:

>Put your config values into Properties? You can then use (for example)
>the ERXProperties class to retrieve your values.
>
>- hugi
>
>
>> On 27. okt. 2015, at 16:20, Markus Ruggiero 
>>wrote:
>> 
>> I am trying to split a large appliation and extract the EOModel and the
>>business classes into a separate framework. Unfortunately there are some
>>(just 2 or 3) config parameters that are maintained in the Application
>>that some of the business classes need to know. But Application is not
>>known in the framework. I could put the config stuff into the database
>>but is there any other way? How would you solve this? Would
>>ERXApplication.application().valueForKey("MY_CONFIG_ITEM") help? Other
>>strategies?
>> 
>> Thanks for sharing your thoughts
>> ---markus---
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> 
>>https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
>
>
> ___
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>Help/Unsubscribe/Update your Subscription:
>https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.c
>om
>
>This email sent to ch...@gevityinc.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Framework needs access to Application - How?

2015-10-27 Thread Hugi Thordarson
Put your config values into Properties? You can then use (for example) the 
ERXProperties class to retrieve your values.

- hugi


> On 27. okt. 2015, at 16:20, Markus Ruggiero  wrote:
> 
> I am trying to split a large appliation and extract the EOModel and the 
> business classes into a separate framework. Unfortunately there are some 
> (just 2 or 3) config parameters that are maintained in the Application that 
> some of the business classes need to know. But Application is not known in 
> the framework. I could put the config stuff into the database but is there 
> any other way? How would you solve this? Would 
> ERXApplication.application().valueForKey("MY_CONFIG_ITEM") help? Other 
> strategies?
> 
> Thanks for sharing your thoughts
> ---markus---
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
> 
> This email sent to h...@karlmenn.is


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com