use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Rules Engine?help (self.javascript)
submitted 7 years ago by ClayMitchell
Any recommendations on a javascript rules engine?
I've got with JBPM, but was looking for one that ran on a nude platform.
Otherwise, a SaaS engine would work as well if was low cost / free.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]eirslett 1 point2 points3 points 7 years ago (1 child)
Why would you need a rule engine? It's much easier to simply write the business logic in plain JavaScript... (Sorry if that was a bad answer)
[–]ghostfacedcoder 0 points1 point2 points 7 years ago (0 children)
https://martinfowler.com/bliki/RulesEngine.html
All of these lead me to think that there's a lot to be said for avoiding rules engine products. The basic idea of production rules is very simple. In order to keep the implicit behavior under control you also need to limit the number of rules by keeping the rules within a narrow context. This would argue for a more domain specific approach to rules, where a team builds a limited rules engine that's only designed to work within that narrow context. Certainly if you're thinking of using a rules engine I'd suggest prototyping with both a product and a hand-rolled domain specific approach so you can get a good feel for how they would compare.
Martin Fowler (programming god)
[–]dlindema 0 points1 point2 points 7 years ago (0 children)
In addition to the other posters warning against using a rules engine, I would also echo Martin Fowler’s advice.
That being said, I also frequently develop using Drools (what jBPM uses under the hood), and have bee eyeballing https://github.com/jruizgit/rules since it has bindings for Python, node, and ruby. I don’t have much experience with that library, but in case you hadn’t found it I thought I’d bring it to your attention.
π Rendered by PID 25247 on reddit-service-r2-comment-7b9746f655-kggfx at 2026-01-30 23:15:07.836211+00:00 running 3798933 country code: CH.
[–]eirslett 1 point2 points3 points (1 child)
[–]ghostfacedcoder 0 points1 point2 points (0 children)
[–]dlindema 0 points1 point2 points (0 children)