Open Source Decision tree

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Simo Bk
Forum Newbie
Posts: 1
Joined: Mon Feb 18, 2008 2:50 pm

Open Source Decision tree

Post by Simo Bk »

Hi all,

I hope I am posting this in the right section. I did read the FAQ and searched Google and hotscripts before posting this and could not find anything.

Here is my problem. I need to quickly put in place a decision tree.

Ideally, I would have done it myself from scratch, but it needs to be done in a very short delay. I then decided to look for an Open Source one.

Unfortunately, my searches on Google, SourceForge and HotScripts lead no results. I can't find any opensource nor paid application for that...

Briefly, what I'm looking for is some application that would show like this onScreen (end user view) :
Question?
- Answer A
- Answer B
- Answer C
Then, depending on the answer the user choses, it would lead him to another question... etc. until it gives him a final answer.

Basically, it would be something like the Windows printer troubleshooting wizard. Asking questions until locating the exact problem and then pointing to the answer.

That's on the end user side.

The admin side should allow the admins to create new step by step "troubleshooting" question, and the whole trees.

If you know any application that allows to do that and that can be implemented quickly, it would be greatly appreciated.

Note that it does not have to be very advanced. We're talking here about a temporary solution that will last a few month while I develop an actual final solution.

One requirement though is that the questions should support multiple answers, not just TRUE/FALSE.

Thanks a lot,

Simo
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Open Source Decision tree

Post by Christopher »

I have seen basic testing scripts, but not one that branches based on the answer. You may need to write that yourself. It should not be too difficult.
(#10850)
simobk
Forum Newbie
Posts: 3
Joined: Mon Aug 29, 2005 4:41 pm

Re: Open Source Decision tree

Post by simobk »

I am not worried about the end user part... I am more worried about the admin part... If it was only one procedure or too it would be fairly easy... Thing is, I need an easy way for non developers to add new procedures to it... and I need that to be fool proof... I cannot make that in the time I have... I will do it in the near future, when I have more time on my hands, but I need a temporary solution...

Thanks,

Simo
cvlug
Forum Newbie
Posts: 2
Joined: Mon Mar 17, 2003 3:58 pm

Re: Open Source Decision tree

Post by cvlug »

Hi,

i am searching for a decision tree in php as well. Did you find anything? Your suggestions would be highly appreciated,

regards,
Charles
Post Reply