【发布时间】:2010-09-21 20:30:04
【问题描述】:
我想知道一种在网络应用中存储用户偏好的良好软件工程方法。 进一步澄清,我的应用程序有用户可以选择的命令,所以 i added a button that when some commands are selected, these commands are saved as favorites somewhere on the client's machine, that way if user X logs in at anytime he can check his favorite commands and load them automatically..
如何保存这些命令以及保存在哪里?并考虑到使用同一台计算机的多个用户不应访问每个人的收藏夹,因此我希望根据 userID 保存收藏夹。在哪里以及如何保存它们?饼干? xml?用php还是javascript更好?
非常感谢您的帮助:)
【问题讨论】:
标签: cookies preferences settings