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
===================================================*/

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to