我在哪里可以保存聊天记录。 [英] Where can I save my chat history.

查看:95
本文介绍了我在哪里可以保存聊天记录。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在开发一个聊天应用程序...

并且所有聊天记录都保存为单独的文本文件(即abc@bbc.com.txt, bill@gmail.com.txt)

但是现在,我想做一个最近的聊天列表(就像Skype一样)。

但是从这些聊天文本文件中取出日期不是一个好的解决方案。

我可以使用什么而不是文本文件?

如果我将所有聊天保存在一个XML文件中,那么该文件可能会非常大,所以我担心性能不足....

Hi,
I am developing a chat application...
and All the chat history is saved as seperate textfiles (namely abc@bbc.com.txt, bill@gmail.com.txt)
But Now, I want to make a recent chats list (as like Skype).
But taking the date from these chat text files is not a good solution.
What can I use instead of text files ?
If I save all chats in a single XML file, the file may be very large, so I am afraid abt perfomance....

推荐答案

使用数据库保存很长的历史记录,例如SQL,Oracle或Access(但我不想在线使用访问权限)。
Use database to save long histories such as SQL,Oracle or Access (but i prefer not to use access online).


这篇关于我在哪里可以保存聊天记录。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆