Thanks Guys for all.
I will carefully look at all your suggestions and see what is better in a
production environment.
But the idea of having the possibility to abstract the frontend so that it
can be changed is the best i think and was what i intended to do after my
server become working and stable.

I want to run server engine(backend) in one thread catching and processing
network packets from clients, and my the fronted running in a separated
thread rendering data catching gui event.
I first choose to do it with cherrypy but it's not sweet for big projects
and the fronted would not be so generic that way.

I then discover django with its features and possibilities.

I hope i will make and implement the best choice with your help.

Thanks and see you soon.
Le 13 mai 2012 22:10, "John Yeukhon Wong" <gokoproj...@gmail.com> a écrit :

> Maybe pyjs?
> Do the GUI part using Python (which renders into javascript), and you can
> connect it using Django as your backend.
>
> On Sunday, May 13, 2012 6:14:36 AM UTC-4, Eugene NGONTANG wrote:
>>
>> Hi!
>>
>> I'm a python developper, but new in django.
>>
>> I'm devolopping a multi clients-server application.
>>
>> The server and the clients are communicating via sockets, The server
>> receive somme states from clients, and display them in the User
>> interface.
>> In the other hand, the server has to send a message(packet) to the
>> client when an event  occurs in the GUI, and data are stored in a
>> database.
>>
>> Then I choose to make a web interface where data could be viewed and
>> manipulated. And I discovered Django, which fit all my needs. I tested
>> and liked the framework.
>>
>> My questions are:
>> - Can I override the djando admin methods so that i can not only
>> customized my views and html page, but also manipulate objects in
>> database, so that i can do another action when catching an  event in
>> the GUi.
>> For example, taking the django admin tutorial, I would like to do and
>> action like sending a message the user choose "add a poll". How can I
>> do those things? Cause I noticed that method that alter data in data
>> base are part of django admin module and cannot be overriden
>>
>> - To achieve what I want, i would like to run my server engine and my
>> django admin in two separated threads. How do i run my admin module in
>> a thread? Cause till now i'm using the command line "python manage.py
>> runserver"
>>
>> - I also tried to overide tables name, and foreign keys names. Could
>> you guys provide me a true life example?
>>
>> - And now in the production step, I would like you guys to tell me
>> what to choose for serving files. I would like to with your experience
>> what's better between running a unicorn server or apache with mod_wsgi
>>
>> I don't know if i'm clear, but i hope. In brief I'd like to use the
>> django framework features to design my Gui like i want, customize
>> interactions between the gui and the backend, and choose a good web
>> server for the production.
>>
>> Thank you for advance
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/6hGVZIFjm6QJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to