[Catalyst] Re: using REST within the app

Dave Rolsky autarch at urth.org
Fri May 25 00:50:58 GMT 2007


On Fri, 25 May 2007, A. Pagaltzis wrote:

>> 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.

I understand the concept. My take is that REST is nice for providing a 
_limited_ external API, but awkward for doing everything you might want to 
do with your own app.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/



More information about the Catalyst mailing list