• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Direct 2 Web - which rule files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Direct 2 Web - which rule files?


  • Subject: Re: Direct 2 Web - which rule files?
  • From: Denis Frolov <email@hidden>
  • Date: Tue, 16 Jun 2009 14:57:39 +0400

Sorry, my last sentence should read:

Personally I try to avoid relying on specificity and use priorities.

On Tue, Jun 16, 2009 at 2:08 PM, Denis Frolov<email@hidden> wrote:
> Hi,
>
> On Mon, Jun 15, 2009 at 11:33 PM, David
> Avendasora<email@hidden> wrote:
>> Hey Kieran,
>>
>> I believe that any given application or framework can only have two files:
>> user.d2wmodel and d2w.d2wmodel (user.d2model would normally be maintained by
>> the Assistant). If you have an application with 3 D2W frameworks, then you'd
>> have a total of 8 files to work with. The rule with the _highest_ priority
>> number will win. I'm not sure what happens if two rules have the same
>> priority though.
>
> https://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_5.1/DirectToWeb/Architecture/The_Rule_System.html
>
> "If two or more rules have the same priority, the rule with the most
> specific left-hand side (applying to the least number of cases)
> fires."
>
> Personally I try to avoid relying on specificity and use pri
>
>
>>
>> Remember, if you use -D2WTraceRuleFiringEnabled YES as a launch argument,
>> you can see all the rules fire so you'll know which one is doing what.
>>
>> Dave
>>
>> On Jun 15, 2009, at 2:03 PM, Kieran Kelleher wrote:
>>
>>> OK, as I add D2W into existing apps, I may ask some dumb questions this
>>> year, so bear with me ;-)
>>>
>>> Question: For a typical app having D2W and the essential Wonder D2W
>>> frameworks too, what are all the rule files that get picked up? Is it only
>>> ones named d2w.d2wmodel and user.d2wmodel files or is it all and any file
>>> *.d2wmodel?
>>>
>>> Regards, Kieran
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>>
>>> This email sent to email@hidden
>>>
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Direct 2 Web - which rule files? (From: Kieran Kelleher <email@hidden>)
 >Re: Direct 2 Web - which rule files? (From: David Avendasora <email@hidden>)
 >Re: Direct 2 Web - which rule files? (From: Denis Frolov <email@hidden>)

  • Prev by Date: Re: wo and sproutcore???
  • Next by Date: Re: Hudson and Client-Side Classes
  • Previous by thread: Re: Direct 2 Web - which rule files?
  • Next by thread: OT: Capistrano setting sudo password on deployment server
  • Index(es):
    • Date
    • Thread