可以保存数据的Web小程序

发布于 2024-12-28 15:05:20 字数 238 浏览 1 评论 0原文

很多年前我做过一些相当基础的编程,但我很生疏。我想编写一个非常基本的网络小程序,并且希望它能够保存数据。将其视为一个非常简单的游戏,并认为我希望游戏能够保存各个玩家的分数,以便我能够去某个地方并查看分数列表。 (除了我希望数据比只有一个数字更复杂一点,并且我希望将其保存为 .csv)。

我希望我能把它写成一个java小程序。是不是太乐观了?编写这样的东西最简单的方法是什么?我没有什么花哨的东西,只是用最简单的方法来做到这一点。您有什么建议吗?

I did some fairly basic programming many years ago, but I'm very rusty. I want to program a pretty basic web applet, and I want it to be able to save data. Think of it as a very simple game, and think that I want the game to be able to save the scores of the various players, so that I would be able to go somewhere and see the list of scores. (Except I want the data to be a little more complicated than the just one number, and I want it to be saved as a .csv).

I was hoping that I can write it as a java applet. Was that too sanguine? What is the easiest way to program such a thing? I don't anything fancy, just the easiest possible way to do it. Do you have any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

离笑几人歌 2025-01-04 15:05:20

嗯...如果您想要一个概念...据我所知,您可以简单地创建

  • A) 游戏小程序
  • B) Servlet 项目,将其直接部署到本机小程序主机(不需要签署其他任务) ...);
  • C)以HttpClient(apache)的方式编写一些东西来上传
    客户端数据从小程序返回到 servlet(保存或
    某物);
  • D)当然,让您的 servlet 保存传入的数据(也许在
    会话或文件中,无论您喜欢什么...)
  • E)正如您所说,您希望查看所有客户端保存的数据等等...并且
    然后您可以创建一个服务或另一个小程序来获取保存的数据
    并对其进行分析;

有帮助的报告

Emm... If you want a conception... As I can get it, you can simply create

  • A) The game applet
  • B) Servlet project to deploy it right to the native applet host (not to have additional task as to sign it...);
  • C) Write something in a way as HttpClient (of apache) to upload
    clients data from applet back to servlet (to have it saved or
    something);
  • D) And, of course, make you servlet save the incomming data (maybe in
    a session or in a file whatever you like...)
  • E) As you saying, you want to see all clients saved data or so... And
    then you can create a service or another applet to get the saved data
    and analyze it;

Report that helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文