Can anybody help me in building an interactive chat application in Python?
-
I am planning to build a dating website for my course project. The idea is to have users fill a form and then an algorithm would match users based on the attributes they entered in the form. After initial match, both parties can chat anonymously for 15 minutes, after which they can choose to disclose their identity either fully or partially. I have to implement all this in Python and I have no clue how to build the chat application. Any help is greatly appreciated ! Thanks in advance.
-
Answer:
Saad Bin Akhlaq at Quora Visit the source
Other answers
It seems you are making a web application and not just a chat so I would recommend using a framework such as Django as it removes a lot of hardwork.Minimum Requirements: HTML, CSS JavaScript for the 15 minute timer Python Database to store user information Django - It also has a ORM which simplifies using a database. https://www.djangopackages.com/packages/p/django-websocket-redis/ - messaging using websockets and Django I believe doing it this way if you have the time, would allow you to create an amazing project not just for the course but to show to future employers.
Volkan Kaya
I tried ajax, but as you know its too burden for server. But later found websocket which is perfect.What I tried is first pass message, sender and destination through JQuery. And then do whatever it takes to make sure destination gets messages which is meant for him/her.After 15 minutes 900 timestamp change sender, destination value into name fetching from database.
Tashi Paljor
Related Q & A:
- Can anybody recommend some good restaurants in Barcelona?Best solution by tripadvisor.com
- How can anybody make a liven on a $8.00 an hour job?Best solution by Yahoo! Answers
- Can anybody hack into my computer through my IP address, got from Yahoo Messenger?Best solution by Yahoo! Answers
- Can anybody help me in preparing a Project Report for eradication of Lantana in Himachal Pradesh and Uttarakha?Best solution by Yahoo! Answers
- Can you help to fill out the starbucks online application?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.