billseipel,
@billseipel@fosstodon.org avatar

Our current rules engine is okay but....

It iterates all the rules. Then applies the first where all conditions specified.

The implementation seems.... clunky.

Worse, is maintaining the set of rules in the database.
Its a relational set of tables. Each rule has a set of rule components. To satisfy a rule means every comp must pass.

Authoring rules is laborious. Theyre sorted by an 'ordinal' column at runtime. Its just kind of a mess.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines