Answer the question
In order to leave comments, you need to log in
Should I publish an article on working with a simple jsonrpc library?
Good time of the day. Allow some water: I recently encountered the problem of accessibility and organization of the API of a network service and a web application, after reading the available material, I tried a lot, but did not find completely ready and satisfactory solutions, I came to the conclusion that json-rpc 2.0 would be the most suitable.
This is the rpc spec which is very short and covered all our terms. But all available implementations of the protocol (javascript\python) were incomplete, almost all of them work either only over http, or no tests, or no client, or no server, or no support for named call parameters, or no support for group calls, or there is no way to work in the browser, or not ... in general, from the search result available at that time, something was always missing. Since the protocol is very simple, it seemed like a good solution to write your own implementation, taking into account all the comments. Ready for browser, nodejs, python(tornado).
After trying in three projects and gaining some experience, I decided to publish the source code on github. I would like to talk about json-rpc, tell how we used it over websockets and http and what came of it, listen to criticism and, if possible, somehow improve the implementation. But it is not clear where and in what format this could be done. It seems to me that habr is not very suitable, the thing is quite simple and hackneyed.
PS: Until then always tried to stick to the rest
Answer the question
In order to leave comments, you need to log in
And where is the material in Russian except Habr? On Habré there is a chance to get criticism from intelligent people. In addition to habr, there is nowhere else :(
Yes, and maybe it will be useful to someone, so write! It definitely won’t be worse.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question