Need the best language / framework that makes RESTful web services

I am developing replacements for our company’s web services stack.

The current stack was developed using SOAP, and REST endpoints were manually hacked into it. This is a nightmare to service.

I can use any language, technology and structure if it is consistent with the goal.

Requirements:

  • easy to maintain RESTful services.
  • uses the MVC model
  • supports middle-level injection for authentication (OAuth and Basic Auth) around calls (preferably in a declarative way).
  • makes it easy to serialize JSON, JSONP, and Plain ol 'XML return types (Simple XML)
  • preferably has built-in cache control and built-in support for E-tags
  • it is advisable to use a statically typed language, but it doesn’t matter if the amount of code I need to write is much less
  • It would be great to have a framework that supports the processing of HTTP files with the microflow / epoll, so I can easily support lengthy HTTP polling, but this is not a requirement

So far I watched:

  • .NET (C #)
    • ASP.NET MVC (simple MVC framework, will have to add the missing parts manually according to my requirements)
    • Monorails (simple MVC structure, less supported)
    • WCF (unfortunately, a lot of redefinition is required to force it to obey in order to work well for consumption on clients that do not use WCF)
  • Python
    • Pylons (at the top of my list right now, but it lacks simple XML serialization)
    • DJango ( -, REST) ​​
  • Scala ( , )
  • Ruby on Rails ( , )

?

+3
7
+4

.Net, OpenRasta (http://trac.caffeine-it.com/openrasta/wiki/Doc), REST, , , REST , WCF.

+4

Ruby on Rails ( , )

, Ruby on Rails (, , - ).

Rails?

, , Rails, , .

+1

Ruby, Sinatra. - .

:

require 'rubygems'
require 'sinatra'
get '/hi' do
  "Hello World!"
end

, Sinatra "Monk", .

+1

, : http://en.wikipedia.org/wiki/Representational_State_Transfer

Restlet, RESTful Java, Java SE, Java EE, Android, GWT GAE.

,

Restlet ~ ~ http://www.restlet.org

Noelios Technologies ~ ~ http://www.noelios.com

0

Jello framework. JSON RESTful, OData.

Jello REST CRUD (Create, Retrieve, Update, Delete) .

In addition, one of the key features of Jello is its built-in authorization model. With Jello, you can assign different access levels for data items at any resolution (Namespaces, Objects, Fields, Actions) and indicate who is allowed to access data through the REST API.

0
source

Source: https://habr.com/ru/post/1724417/


All Articles