创建期刊网站
作为一个项目,我想创建一个网站,允许用户登录(如果不存在则创建登录名/密码)并输入当天的一些数据(例如跑步里程、燃烧的卡路里、完成的仰卧起坐等)。该网站将为用户记录当天的这些数据,并建立各种活动的运行日志。用户将能够返回并编辑条目。然后,用户可以查看其各种活动的历史记录。
我编写了一些 Perl 代码来处理我打算对用户输入的数据进行的各种分析。我还可以轻松创建一个 perl 脚本来保存一个平面文件,其中附加了用户生成的数据并允许编辑。
但我不知道如何将其融入网络体验,不幸的是我什至不知道从哪里开始!
知道我应该怎么做吗?它不需要是一个超级华丽的网站,只要功能齐全即可。我应该从哪里开始?
谢谢
As a project I would like to create a website that allows a user to login (create a login/password if doesn't exist) and enter some data for the day (say miles run, calories burned, situps done, etc). The website would record this data for the user for that day and build a running log of various activities. The user would be able to go back and edit entries. The user could then view the history of their various activities.
I have written some perl code to handle the various analysis that I intend to do on the user-entered data. I also can easily create a perl script to save a flat file with the user generated data appended with the data and allow editing.
But I have no clue how to get this into a web experience and unfortunately I don't even know where to start!
Any idea how I should go about doing this? It doesn't need to be a super fancy website, just functional. Where should I start?
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅Ovid 的 CGI 课程。 CGI.pm 是一个简单的 Perl 工具,用于创建网页。有关更高级的工具,请参阅 Mojolicious 框架。我使用 CGI::Application Framework 但它很旧,对我来说已经太简单了,Catalyst 和 Mojolicious 更简单先进的。
See Ovid's CGI Course. CGI.pm is a simple Perl tool to create web pages. For more advanced tool look at Mojolicious framework. I use CGI::Application framework but it is old and for me it is already too simple, Catalyst and Mojolicious are more advanced.
我会使用 WordPress 或 Drupal 作为基本框架。在 Drupal7 中,您将创建一个新的内容类型,在 Wordpress 中,您将创建一个 < a href="http://codex.wordpress.org/Post_Types" rel="nofollow">新的“帖子类型”(自 WP 3.0 起新增)供用户输入数据。然后,您可以编写代码来获取和获取处理该数据。
但是您当然可以将 WordPress 与跑步者日志插件一起使用(Drupal 可能有类似的插件),如果您不想进行编码;-)
I would use WordPress or Drupal as the basic framework. In Drupal7 you'd create a new content type, in Wordpress you'd create a new "Post Type" (new as of WP 3.0) for users to enter data. You'd then write code to fetch & process that data.
But you could off course just use WordPress with the Runners Log plugin (and Drupal probably has a similar plugins), if you wouldn't want to do the coding ;-)