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


Groups > comp.programming > #3674 > unrolled thread

REST

Started bybob <bob@coolfone.comze.com>
First post2013-08-20 16:00 -0700
Last post2013-08-23 19:50 +0100
Articles 7 — 6 participants

Back to article view | Back to comp.programming


Contents

  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

#3674 — REST

Frombob <bob@coolfone.comze.com>
Date2013-08-20 16:00 -0700
SubjectREST
Message-ID<733f89a9-6e7f-4517-bca8-47099bd4ded0@googlegroups.com>
Can someone help me understand what REST is in layman's terms?

I've read a lot about it, but I don't think I really get the essence of it.

It seems like a buzz word people just throw around without understanding it.

Thanks.

[toc] | [next] | [standalone]


#3675

FromJongware <jongware@no-spam.plz>
Date2013-08-21 10:15 +0200
Message-ID<52147718$0$15892$e4fe514c@news2.news.xs4all.nl>
In reply to#3674
On 21-Aug-13 1:00 AM, bob wrote:
> Can someone help me understand what REST is in layman's terms?
>
> I've read a lot about it, but I don't think I really get the essence of it.
>
> It seems like a buzz word people just throw around without understanding it.

Must be much like that mythical notion of "vacation". Heard about it, 
never experienced it myself :-D

[Jw]

[toc] | [prev] | [next] | [standalone]


#3676

FromJJ <duh@nah.meh>
Date2013-08-21 15:57 +0700
Message-ID<jawqi7ngcl90.51xm2y029l3j.dlg@40tude.net>
In reply to#3674
On Tue, 20 Aug 2013 16:00:03 -0700 (PDT), bob wrote:
> Can someone help me understand what REST is in layman's terms?
> 
> I've read a lot about it, but I don't think I really get the essence of it.
> 
> It seems like a buzz word people just throw around without understanding it.

It's basically AJAX that's used to access web service API(s).

[toc] | [prev] | [next] | [standalone]


#3677

FromBen Bacarisse <ben.usenet@bsb.me.uk>
Date2013-08-21 14:24 +0100
Message-ID<0.19317830727254ec0169.20130821142459BST.87siy3rxas.fsf@bsb.me.uk>
In reply to#3676
JJ <duh@nah.meh> writes:

> On Tue, 20 Aug 2013 16:00:03 -0700 (PDT), bob wrote:
>> Can someone help me understand what REST is in layman's terms?
>> 
>> I've read a lot about it, but I don't think I really get the essence of it.
>> It seems like a buzz word people just throw around without
>> understanding it.

There some truth in that.

> It's basically AJAX that's used to access web service API(s).

I think that puts the emphasis in the wrong place.  Many web services
are not accessed by browsers, and in those cases AJAX is probably not
involved.  The term refers to the style of the API: using HTTP through
get, put, post and delete methods to access and modify resources in an
otherwise stateless server.

-- 
Ben.

[toc] | [prev] | [next] | [standalone]


#3678

FromJJ <duh@nah.meh>
Date2013-08-22 00:22 +0700
Message-ID<1ai55jmzjqdd2.nuktregcbrgd$.dlg@40tude.net>
In reply to#3677
On Wed, 21 Aug 2013 14:24:59 +0100, Ben Bacarisse wrote:
> I think that puts the emphasis in the wrong place.  Many web services
> are not accessed by browsers, and in those cases AJAX is probably not
> involved.

You're right.

> The term refers to the style of the API: using HTTP through
> get, put, post and delete methods to access and modify resources in an
> otherwise stateless server.

And a view more, it seems.

[toc] | [prev] | [next] | [standalone]


#3683

FromNobody <nobody@nowhere.com>
Date2013-08-23 18:16 +0100
Message-ID<pan.2013.08.23.17.16.29.612000@nowhere.com>
In reply to#3674
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.

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

[toc] | [prev] | [next] | [standalone]


#3684

From"Julio Di Egidio" <julio@diegidio.name>
Date2013-08-23 19:50 +0100
Message-ID<kv8avc$d59$1@dont-email.me>
In reply to#3683
"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
 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web