Do I need any Rules Engine to build a service like ifttt.com ( if this then that )?












1















I'm trying to build a web service like ifttt.com .

Because I find that more than a half of the channels provided by ifttt is not available in China. So I decide to make a local one.



unavailable services here



I'm learning the Logs of ifttt trying to understand the process of how ifttt dealing with tasks.



ifttt rules' logs here



Now I know that I must have some method to deal with the rules.

A scheduled task process can be activated by a specified event and then a engine resolve rules to call specified actions, passing parameters.



I'm planing to use Java to develop this.

And do you think I should use any open source Rules Engine here, or it's better to write one by myself? It will be great if you provide some hints about what I should be care for writing the rules engine or defining the structure of rules.



Finally, welcome free discussions about what technology do you think ifttt might be using. Or what the Database Structure of ifttt might be like. Or.. any point about ifttt or Rules Engine or Scheduled Tasks will be helpful!










share|improve this question























  • I would highly recommend against writing your own Rules engine. It is not a trivial task. Like @Thorn below, I would recommend you take a look at Drools.

    – Perception
    Sep 27 '11 at 17:01
















1















I'm trying to build a web service like ifttt.com .

Because I find that more than a half of the channels provided by ifttt is not available in China. So I decide to make a local one.



unavailable services here



I'm learning the Logs of ifttt trying to understand the process of how ifttt dealing with tasks.



ifttt rules' logs here



Now I know that I must have some method to deal with the rules.

A scheduled task process can be activated by a specified event and then a engine resolve rules to call specified actions, passing parameters.



I'm planing to use Java to develop this.

And do you think I should use any open source Rules Engine here, or it's better to write one by myself? It will be great if you provide some hints about what I should be care for writing the rules engine or defining the structure of rules.



Finally, welcome free discussions about what technology do you think ifttt might be using. Or what the Database Structure of ifttt might be like. Or.. any point about ifttt or Rules Engine or Scheduled Tasks will be helpful!










share|improve this question























  • I would highly recommend against writing your own Rules engine. It is not a trivial task. Like @Thorn below, I would recommend you take a look at Drools.

    – Perception
    Sep 27 '11 at 17:01














1












1








1


1






I'm trying to build a web service like ifttt.com .

Because I find that more than a half of the channels provided by ifttt is not available in China. So I decide to make a local one.



unavailable services here



I'm learning the Logs of ifttt trying to understand the process of how ifttt dealing with tasks.



ifttt rules' logs here



Now I know that I must have some method to deal with the rules.

A scheduled task process can be activated by a specified event and then a engine resolve rules to call specified actions, passing parameters.



I'm planing to use Java to develop this.

And do you think I should use any open source Rules Engine here, or it's better to write one by myself? It will be great if you provide some hints about what I should be care for writing the rules engine or defining the structure of rules.



Finally, welcome free discussions about what technology do you think ifttt might be using. Or what the Database Structure of ifttt might be like. Or.. any point about ifttt or Rules Engine or Scheduled Tasks will be helpful!










share|improve this question














I'm trying to build a web service like ifttt.com .

Because I find that more than a half of the channels provided by ifttt is not available in China. So I decide to make a local one.



unavailable services here



I'm learning the Logs of ifttt trying to understand the process of how ifttt dealing with tasks.



ifttt rules' logs here



Now I know that I must have some method to deal with the rules.

A scheduled task process can be activated by a specified event and then a engine resolve rules to call specified actions, passing parameters.



I'm planing to use Java to develop this.

And do you think I should use any open source Rules Engine here, or it's better to write one by myself? It will be great if you provide some hints about what I should be care for writing the rules engine or defining the structure of rules.



Finally, welcome free discussions about what technology do you think ifttt might be using. Or what the Database Structure of ifttt might be like. Or.. any point about ifttt or Rules Engine or Scheduled Tasks will be helpful!







java web-services scheduled-tasks rule-engine






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 27 '11 at 16:54









AloongAloong

94051638




94051638













  • I would highly recommend against writing your own Rules engine. It is not a trivial task. Like @Thorn below, I would recommend you take a look at Drools.

    – Perception
    Sep 27 '11 at 17:01



















  • I would highly recommend against writing your own Rules engine. It is not a trivial task. Like @Thorn below, I would recommend you take a look at Drools.

    – Perception
    Sep 27 '11 at 17:01

















I would highly recommend against writing your own Rules engine. It is not a trivial task. Like @Thorn below, I would recommend you take a look at Drools.

– Perception
Sep 27 '11 at 17:01





I would highly recommend against writing your own Rules engine. It is not a trivial task. Like @Thorn below, I would recommend you take a look at Drools.

– Perception
Sep 27 '11 at 17:01












1 Answer
1






active

oldest

votes


















1














I like drools or JBoss Rules, although it's the only one I've ever used. Anything you can distill down to a spreadsheet is especially cool.



My vote would be that if you can make a spreadsheet out of it, there is nothing better than this.



Debugging the rules is a pain in the butt. I hope its gotten better.






share|improve this answer
























  • thx. I'v learnt into drools and found it easy use and powerful!

    – Aloong
    Oct 8 '11 at 16:17











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f7572839%2fdo-i-need-any-rules-engine-to-build-a-service-like-ifttt-com-if-this-then-that%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I like drools or JBoss Rules, although it's the only one I've ever used. Anything you can distill down to a spreadsheet is especially cool.



My vote would be that if you can make a spreadsheet out of it, there is nothing better than this.



Debugging the rules is a pain in the butt. I hope its gotten better.






share|improve this answer
























  • thx. I'v learnt into drools and found it easy use and powerful!

    – Aloong
    Oct 8 '11 at 16:17
















1














I like drools or JBoss Rules, although it's the only one I've ever used. Anything you can distill down to a spreadsheet is especially cool.



My vote would be that if you can make a spreadsheet out of it, there is nothing better than this.



Debugging the rules is a pain in the butt. I hope its gotten better.






share|improve this answer
























  • thx. I'v learnt into drools and found it easy use and powerful!

    – Aloong
    Oct 8 '11 at 16:17














1












1








1







I like drools or JBoss Rules, although it's the only one I've ever used. Anything you can distill down to a spreadsheet is especially cool.



My vote would be that if you can make a spreadsheet out of it, there is nothing better than this.



Debugging the rules is a pain in the butt. I hope its gotten better.






share|improve this answer













I like drools or JBoss Rules, although it's the only one I've ever used. Anything you can distill down to a spreadsheet is especially cool.



My vote would be that if you can make a spreadsheet out of it, there is nothing better than this.



Debugging the rules is a pain in the butt. I hope its gotten better.







share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 27 '11 at 16:58









ThomThom

5,3241671124




5,3241671124













  • thx. I'v learnt into drools and found it easy use and powerful!

    – Aloong
    Oct 8 '11 at 16:17



















  • thx. I'v learnt into drools and found it easy use and powerful!

    – Aloong
    Oct 8 '11 at 16:17

















thx. I'v learnt into drools and found it easy use and powerful!

– Aloong
Oct 8 '11 at 16:17





thx. I'v learnt into drools and found it easy use and powerful!

– Aloong
Oct 8 '11 at 16:17




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f7572839%2fdo-i-need-any-rules-engine-to-build-a-service-like-ifttt-com-if-this-then-that%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Liquibase includeAll doesn't find base path

How to use setInterval in EJS file?

Petrus Granier-Deferre