Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #3684

Re: REST

From "Julio Di Egidio" <julio@diegidio.name>
Newsgroups comp.programming
Subject Re: REST
Date 2013-08-23 19:50 +0100
Organization A noiseless patient Spider
Message-ID <kv8avc$d59$1@dont-email.me> (permalink)
References <733f89a9-6e7f-4517-bca8-47099bd4ded0@googlegroups.com> <pan.2013.08.23.17.16.29.612000@nowhere.com>

Show all headers | View raw


"Nobody" <nobody@nowhere.com> wrote in message 
news:pan.2013.08.23.17.16.29.612000@nowhere.com...
> On Tue, 20 Aug 2013 16:00:03 -0700, bob wrote:
>
>> Can someone help me understand what REST is in layman's terms?
>
> It's a set of design principles for web applications which promote
> scalability and robustness.

<< Fielding describes REST's effect on scalability thus: "[...] increases 
the scalability of pure server components. [...]" >>
<http://en.wikipedia.org/wiki/Representational_state_transfer#Key_goals>

That scalability comes exactly at the cost of application components.  REST 
implements CRUD, which means direct access to data tables and all the data 
logic implemented on the client.  The overall architecture it enforces is 
then the opposite of ideal.  (Indeed, REST fits quite well into 
domain-driven design and its notion of plain persistence, but I consider DDD 
an architectural anti-pattern.)

> AFAICT, most of it boils down to deciding on which side of the connection
> to keep each piece of state.

That is how it is often presented, but, along the lines of what I have said 
above, just "keeping state" implies a very limited idea of service.

Julio
 

Back to comp.programming | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

REST bob <bob@coolfone.comze.com> - 2013-08-20 16:00 -0700
  Re: REST Jongware <jongware@no-spam.plz> - 2013-08-21 10:15 +0200
  Re: REST JJ <duh@nah.meh> - 2013-08-21 15:57 +0700
    Re: REST Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-08-21 14:24 +0100
      Re: REST JJ <duh@nah.meh> - 2013-08-22 00:22 +0700
  Re: REST Nobody <nobody@nowhere.com> - 2013-08-23 18:16 +0100
    Re: REST "Julio Di Egidio" <julio@diegidio.name> - 2013-08-23 19:50 +0100

csiph-web