S
S
srSaTT2015-09-08 09:08:32
Python
srSaTT, 2015-09-08 09:08:32

How to properly organize the iframe architecture of the Vkontakte application?

Good day!
I would like to write a relatively simple iframe application for the vkontakte social network. My main programming language is python (and there are already developments on this application in python). But I plan to write the client part in javascript (because I think it will be easier to integrate into the VK javascript API). Because Since the application will be making quite a lot of calls to the API, I think it makes sense to make requests to the API on the client side. But I do not quite understand how to organize an API call from the server through the client, and the server will receive a response back. Tell me, am I on the right track in my reasoning, and in which direction should I move further?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nagibator8000, 2015-09-08
@nagibator8000

To organize bidirectional communication, you can use, for example, socket.io . True, there is a backend on node.js. For python, you can look in the direction of tornado, for example here tornado.readthedocs.org/en/latest/websocket.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question