小程序收集的数据存储在哪里?
我正在编写我的第一个真正的小程序,我需要存储一些数据。我从来没有真正搞过在互联网上放置和维护代码,所以如果我理解得有点慢,请耐心等待。
我正在为工作构建一个日历小程序(只是一个学生工作者),我不确定如何存储必要的信息,例如某些日子的日程安排以及登录名和密码信息。我假设我可以访问服务器等,但我不确切知道我传统上需要什么,或者我需要用我需要的东西做什么。
在最坏的情况下,我可以简单地将信息放入文本文件中,并在存储小程序的每次启动时读取它们,但这绝对是一种非常错误的做法。你们能教我一些人们在现实世界中实现这一目标的实用方法吗?任何想法将不胜感激。免费/开源的选项是最好的。
非常感谢您的帮助。
I am writing my first real applet and I need to store some data. I've never really messed with putting and maintaining code on the internet, so please bear with me if I'm a little slow to catch on.
I'm building a Calendar applet for work (just a student worker) and I'm not sure how to store necessary information such as the schedules for certain days and login name and password information. I assume I have access to a server and such, but I don't know exactly what I would traditionally need or what I would need to do with what I need.
In the worst case scenario, I could simply put the information into text files and read them on every start-up where the applet is stored, but that definitely seems like a very wrong way of doing things. Can you guys educate me on a few practical ways people accomplish this in the real world. Any ideas would be greatly appreciated. Options that are free/open source would be best.
Thanks a lot for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于这种小型应用程序,我会选择 SQLite。
For this sort of small application, I would go for SQLite.
SQL Server 等关系数据库怎么样?也许可以访问?
How about a relational database such as SQL Server ? Maybe access?