Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

How Rails handles the stateless communication?

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How Rails handles the stateless communication? Really, is REST as well implemented in Rails as they say?
 
author
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a very good question. As I've mentioned in other threads, the REST support in Rails is superlative - but that doesn't mean it's perfect. Statelessness is probably one of the hardest of the constraints to meet in a web framework, and though it's possible to keep your application stateless in Rails it's still difficult.

Rails does offer some features that help, though, like cookie-based sessions - but those features come with (sometimes considerable) problems.
 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic