non ho capito questa parte: server che riceve una richiesta alla volta, non
uno multithread/process.
Non dovrebbe giĆ  essere cosi?

Il giorno 21 settembre 2012 15:23, Daniele Varrazzo <p...@develer.com> ha
scritto:

> On 2012-09-21 14:18, Balan Victor wrote:
>
>> ho provato a vedere un po flask e se ho capito bene dovrebbe bastare uno
>> script sulla macchina linux fatto cosi:
>>
>> from flask import Flask
>> app = Flask(__name__)
>>
>> @app.route('/')
>> def hello_world():
>>     temp=get_valute_to_return()
>>     return temp
>>
>> if __name__ == '__main__':
>>     app.run()
>>
>> e dai vari server windows fare una chiamata http.
>>
>> giusto?
>>
>
> Facile facile, no? Basta che fai girare un server che riceve una richiesta
> alla volta, non uno multithread/process, e hai risolto il problema di
> coordinare gli accessi dei diversi client.
>
>
>
> --
> Daniele Varrazzo - Develer S.r.l.
> http://www.develer.com
> ______________________________**_________________
> Python mailing list
> Python@lists.python.it
> http://lists.python.it/**mailman/listinfo/python<http://lists.python.it/mailman/listinfo/python>
>
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a