REST

REST

REST (сокр. англ. Representational State Transfer, «передача представлений состояний»[1]) — стиль построения архитектуры распределенного приложения. Был описан и популяризован в 2000 году Роем Филдингом (Roy Fielding), одним из создателей протокола HTTP. Самой известной системой, построенной в значительной степени по архитектуре REST, является современная Всемирная паутина.

Данные в REST должны передаваться в виде небольшого количества стандартных форматов (например HTML, XML, JSON). Сетевой протокол (как и HTTP) должен поддерживать кэширование, не должен зависеть от сетевого слоя, не должен сохранять информацию о состоянии между парами «запрос-ответ». Утверждается, что такой подход обеспечивает масштабируемость системы и позволяет ей эволюционировать с новыми требованиями.

Антиподом REST является подход, основанный на вызове удаленных процедур (Remote Procedure Call — RPC). Подход RPC позволяет использовать небольшое количество сетевых ресурсов с большим количеством методов и сложным протоколом. При подходе REST количество методов и сложность протокола строго ограничены, из-за чего количество отдельных ресурсов может быть большим.

Примечания

  1. Речь идет о представлении (например в виде HTML) состояния абстрактного автомата.

Ссылки



Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Полезное


Смотреть что такое "REST" в других словарях:

  • Rest — Rest, n. [AS. rest, r[ae]st, rest; akin to D. rust, G. rast. OHG. rasta, Dan. & Sw. rast rest, repose, Icel. r[ o]st the distance between two resting places, a mole, Goth. rasta a mile, also to Goth. razn house, Icel. rann, and perhaps to G. ruhe …   The Collaborative International Dictionary of English

  • rest*/*/*/ — [rest] noun I 1) [singular] the part of something that remains, or the people or things that remain I m not really hungry – do you want the rest?[/ex] Rain will spread to the rest of the country by evening.[/ex] The rest of the attackers were in… …   Dictionary for writing and speaking English

  • Rest — (von lateinisch: restare = „übrig bleiben“/„übrigbleiben“, aus: re = „zurück“, „wieder“ sowie stare = „stehen“; spätmittelhochdeutsch: rest[e]; italienisch: resto = „übrig bleibender Geldbetrag“) bedeutet allgemein etwas, das übrig geblieben ist …   Deutsch Wikipedia

  • rest — vi: to bring to an end voluntarily the introduction of evidence in a case the defense rest s vt: to cease presenting evidence pertinent to (a case) I rest my case Merriam Webster’s Dictionary of Law. Merriam Webster. 1996 …   Law dictionary

  • rest# — rest n Rest, repose, relaxation, leisure, ease, comfort are comparable when they mean freedom from toil or strain. Rest, the most general term, implies withdrawal from all labor or exertion and suggests an opposition to the term work; it does not …   New Dictionary of Synonyms

  • Rest — (r[e^]st), v. i. [imp. & p. p. {Rested}; p. pr. & vb. n. {Resting}.] [AS. restan. See {Rest}, n.] 1. To cease from action or motion, especially from action which has caused weariness; to desist from labor or exertion. [1913 Webster] God . . .… …   The Collaborative International Dictionary of English

  • REST — (von lateinisch re stare = übrig bleiben) bedeutet allgemein etwas, das übrig geblieben ist sowie in der Mathematik das, was bei der Division übrigbleibt, siehe Division mit Rest in der Chemie das Gegenstück zur funktionellen Gruppe eines… …   Deutsch Wikipedia

  • rest — REST, resturi, s.n. 1. Ceea ce rămâne dintr un tot, dintr un ansamblu din care cea mai mare parte a fost consumată, îndepărtată, luată, scoasă; rămăşiţă. 2. Tot ceea ce nu face parte din rândul lucrurilor menţionate anterior. 3. Sumă de bani care …   Dicționar Român

  • rest — Ⅰ. rest [1] ► VERB 1) cease work or movement in order to relax or recover strength. 2) allow to be inactive in order to regain or save strength or energy. 3) place or be placed so as to stay in a specified position: his feet rested on the table.… …   English terms dictionary

  • rest — rest2 [rest] n. [ME < MFr reste < OFr rester, to rest, remain < L restare, to stop, stand, rest, remain < re , back + stare, to STAND] 1. what is left after part is taken away; remainder 2. [with pl. v.] the others: Used with the vi.… …   English World dictionary

  • rest — [n1] inactivity break, breather*, breathing space*, calm, calmness, cessation, coffee break*, comfort, composure, cutoff, downtime*, doze, dreaminess, ease, forty winks*, halt, holiday, hush, idleness, interlude, intermission, interval, leisure,… …   New thesaurus


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»