[erlang-questions] Erlang package manager
Hugo Mills
hugo@REDACTED
Sun Jan 4 05:01:15 CET 2015
On Sat, Jan 03, 2015 at 04:48:46PM +0100, the.silly.sad wrote:
> On 01/03/2015 04:46 PM, Loïc Hoguin wrote:
> >On 01/03/2015 04:26 PM, Anthony Ramine wrote:
> >>A set of static files CPAN-style sounds way easier to maintain than a
> >>complex HTTP-based protocol.
> >
> >A thousand times this.
>
> how is one opposite to another?
> former is a fileformat latter is a network protocol.
If the network protocol implies a stateful interaction, or some
direct manipulation of an underlying non-file-based data model, then
it's probably going to be unusable in practice.
Anthony is basically saying that it needs to be a true REST model,
in the sense of REST described (and implied) by Fielding. If (and only
if?) that's the case, then the serverside of the protocol can be
implemented by a set of static files. If you can't do it that way for
any given proposal, you don't have a RESTful system, and you should
probably abandon the proposal.
Hugo.
--
Hugo Mills | If it's December 1941 in Casablanca, what time is it
hugo@REDACTED carfax.org.uk | in New York?
http://carfax.org.uk/ |
PGP: 65E74AC0 | Rick Blaine, Casablanca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150104/9558ac95/attachment.bin>
More information about the erlang-questions
mailing list