[Catalyst] Re: using REST within the app
A. Pagaltzis
pagaltzis at gmx.de
Fri May 25 00:35:46 GMT 2007
* Dave Rolsky <autarch at urth.org> [2007-05-24 17:55]:
> The big advantage of using a Perl API is its expressiveness and
> flexibility. Perl is a programming language. HTTP +
> JSON|XML|YAML is not a programming language, and as such is
> much less flexible.
Exactly.
What you see as weakness can contrariwise be a great strength:
cf. Principle of Least Power [1]. You cannot parse Perl without
executing it; in contrast, JSON is easily read and repurposed.
[1]: http://www.w3.org/DesignIssues/Principles.html#PLP
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
More information about the Catalyst
mailing list