Just out of curiosity. There are many open standards for data exchange, as well as standards for exchanging code (jsonp, for example).

But are there any standards for exchanging formulas/rules, for them to be executed on different platforms?

  • 3
    Please clarify: what rules do you mean? Business rules, artificial intelligence logic rules, ...? – Deer Hunter Jun 15 '13 at 22:16
  • formulas - like SQL functions (e.g. IFNULL(a, 0) + 10) – Howard Jun 15 '13 at 22:18
  • 1
    Howard, I suppose you have answered your own question. You can use SQL standard stuff on a variety of platforms provided the implementations conform to the standard. – Deer Hunter Jun 15 '13 at 22:27
  • 4
    Rules are just a special kind of data. You just need to package it up somehow, json works, and parse/execute it on the other end. – ConditionRacer Jun 15 '13 at 22:47
  • 1
    jsonp doesn't pass code, it just wraps json to be client-side ajax request friendly until cross domain requests get properly worked out. – Wyatt Barnett Jun 15 '13 at 23:05

As suggested by Deer Hunter and Justin, current practices are:

  • Use DB language and its interpreter
  • Wrap rules using standard data exchange format and then interpret.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.