Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Web: interactive, REST: batch?

by polettix (Vicar)
on Dec 21, 2007 at 01:23 UTC ( [id://658353]=note: print w/replies, xml ) Need Help??


in reply to Web: interactive, REST: batch?

Unless heavy AI is involved, an automated program should be something designed to do some specific jobs. Where "job" can range to the simple scenario you talked about ("get in, grab and run away") or perform complicated operations like cleanups based on various criteria (e.g. stale stuff that's been ignored for more than some time should be...). So, I don't see any reason why a REST interface for automation should have less power than the interactive one.

On the other hand, it has to be considered that the interaction model is more or less "pull" with REST, and somewhat "push" with the interactive one. When you notify the user about stale stuff, you're "pushing" information, requesting for attention. This isn't probably the case for REST, where you would better provide means for questions to be asked (like "is there any stale stuff?").

Hey! Up to Dec 16, 2007 I was named frodo72, take note of the change! Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Io ho capito... ma tu che hai detto?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-06-15 19:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.