Exposing a language-agnostic API?

https://news.ycombinator.com/item?id=91773
by mooneater • 19 years ago
7 8 19 years ago

Which is the best way to quickly enable an API in multiple languages?

I want to refactor my messy db-backed php web application, into distinct model and UI layers. I want the API to be as painless as possible to call from, and implement in, languages including at least PHP, REST, Python, Ruby, and Java.

I could use SOAP or REST for the model interface, but it seems like a lot of overhead for local calls. I would like to avoid hand-writing bindings for all the languages.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com