Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The client browser is any version of Internet Explorer
  • OR
  • The client language is English AND the day of the week is a weekday.

Non-Trivial Ordering

The fact that Revive Adserver applies the AND and OR logical operators in the same order as PHP means that it is non-trivial to apply the logical operators in reverse order. For example, say that the desire is to deliver a banner when:

  • The client browser is any version of Internet Explorer OR the client language is English
  • AND
  • The day of the week is a weekday.

In this case, a solution is to duplicate one of the limitations:

Image Added

This is evaluated as:

  • The client browser is any version of Internet Explorer AND the day of the week is a weekday
  • OR
  • The client language is English AND the day of the week is a weekday.

This is, logically, the same as the original requirement, but expressed in a slightly more complex way.