Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Don't ask to ask, just ask
 
PerlMonks  

Re^3: handling tasks and customizing flow of tasks using perl

by vsespb (Hermit)
on Sep 29, 2013 at 15:48 UTC ( #1056231=note: print w/ replies, xml ) Need Help??


in reply to Re^2: handling tasks and customizing flow of tasks using perl
in thread handling tasks and customizing flow of tasks using perl

1) are you suggesting reading this : "task=B pretask=makeAServerdown posttask=checkBServer" from some text file.
yes
2) The customizations suggested by you will work if only known action is being called.
yes

If you need arbitrary code execution, write an API for programmers.

I don't see any reason mixing API for programmers and for normal users, nor I don't see use of XML/other formats in API for programmers.

Or, parhaps, I misunderstand the OP.


Comment on Re^3: handling tasks and customizing flow of tasks using perl
Re^4: handling tasks and customizing flow of tasks using perl
by asham (Novice) on Sep 29, 2013 at 18:56 UTC
    Hi vsespb, thanks for the clarification.

    in my xml, my idea was that normal users will just change the flow if required. expert users will have additional feature to add pretasks/post tasks.

    Idea is to identify a solution which supports plug and play/customization and at the same time provides flexibility to the flow. perl/xml solution is just an idea, we can ignore it if we have better solutions available.

    Btw, updated question with a real life example.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056231]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2014-04-21 00:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls