Written some cool source code? Upload it to Programmer's Heaven.

The Official Programmer's Heaven Blog

Theme Graphic
Theme Graphic

The Official Programmer's Heaven Blog

The blog where the Programmer's Heaven team post stuff.

Subscribe

Author

Often knowledgable, sometimes wise, occasionally funny. The Programmer's Heaven blog team post about a whole range of topics, from practical advice on concurrency control to introductions to lesser known concepts such as functional programming. Don't forget to comment on the posts and let them know what you think, like and hate!

Archive

Tags

Posted on Wednesday, February 06, 2008 at 11:09 AM

What is REST, anyway?

REST is short for Representational State Transfer. I'd place that into the category of names that makes more sense once you understand what REST is, but isn't quite so helpful in terms of explaining it. REST is often heard in the context of web services. When it was suggested as a topic for me to write about it was described to me as a web service but doing "the query string thing" to pass it parameters. That's not really what it's about, though.

Verbs and nouns

Verbs are doing words. Examples in natural language are "pay", "drink" and "shock". In most programming paradigms, we spend a lot of time defining how to do things, by writing methods, subroutines or functions. These are our programming equivalent of verbs.

Nouns represent entities. Examples in natural language are "money", "beer" and "mother". Whenever we have data in our program and we somehow identify it (for example, by name binding or variable declaration), these are just like nouns in natural language...
Comments: 9 Tags: REST


corner
© 1996-2008. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin.
bootstrapLabs Logo A bootstrapLabs project.