The REST architectural style defines constraints, which, when applied... - Deepstash

The REST architectural style defines constraints, which, when applied to the system architecture, it gains desirable non-functional properties, such as performance, scalability, simplicity, modifiability, visibility, portability, and reliability.

STASHED IN:

2

STASHED IN:

0 Comments

MORE IDEAS FROM What is REST?

The client-server design pattern enforces the separation of concerns, which helps the client and the server components evolve independently.

By separating the user interface concerns (client) from the data storage concerns (server), we improve the portability of the user interface across multiple platforms and improve scalability by simplifying the server components.

STASHED IN:

2

Statelessness means that no session information is retained by the server. Relevant session data is sent to the sever by the client in such a way that every packet of information transferred can be understood in isolation.

For example, in a RESTful API, making subsequent requests should be processed and fulfilled by the server without it keeping track of those requests, treating them independently.

STASHED IN:

2

The cacheable constraint requires that a response should implicitly or explicitly label itself as cacheable or non-cacheable.

If the response is cacheable, the client application gets the right to reuse the response data later for equivalent requests and a specified period.

STASHED IN:

2

The layered system style allows an architecture to be composed of hierarchical layers by constraining component behavior.

For example, in a layered system, each component cannot see beyond the immediate layer they are interacting with.

STASHED IN:

2

Representational state transfer (REST) is a software architectural style that was created to guide the design and development of the architecture for the World Wide Web. REST defines a set of constraints for how the architecture of an Internet-scale distributed hypermedia system, such as the Web, should behave.

STASHED IN:

2

By applying the principle of generality to the components interface, we can simplify the overall system architecture and improve the visibility of interactions.

Multiple architectural constraints help in obtaining a uniform interface and guiding the behaviour of components.

The following four constraints can achieve a uniform REST interface:

  • Identification of resources
  • Manipulation of resources through representations
  • Self-descriptive messages
  • Hypermedia as the engine of application state

STASHED IN:

2

Deepstash helps you become inspired, wiser and productive, through bite-sized ideas from the best articles, books and videos out there.

GET THE APP:

RELATED IDEA

Elasticsearch and Lucene

Elasticsearch is a distributed search and analytics engine, built on top of Lucene. It provides a JSON-based REST API and supports sharding, replication, and cluster management, for high availability.

Lucene is a high-performance search engine library, written in Java. It provides fast and memory efficient text indexing (20-30% of the original text size), and powerful search algorithms:

  • Ranked and faceted searching
  • Text highlighting
  • Autocomplete
  • Suggesters ("Did you mean?")
  • Spell checkers
  • Aggregations

1

STASHED IN:

4

STASHED IN:

0 Comments

  • New rust compiler
  • Middleware (beta)
  • React 18 Support
  • <Image /> AVIF Support
  • Bot-aware ISR Fallback
  • Native ES Modules Support
  • URL Imports (alpha)
  • React Server Components(Alpha)

You can update the library on your local project with npm i next@latest

STASHED IN:

1

STASHED IN:

0 Comments