如何“最好”?允许网页访问者构建数学或统计工具?
我有一个免费网站,可以传输实时股票期权数据。我想让用户创建并保存他们自己的 JavaScript 可调用工具来解释选项数据。用户可以调用这些自定义工具来帮助他们做出自己的期权买卖决策。
但我完全被阻止、受阻、陷入死胡同,并且不知道如何实现这一目标。如果只有几个选择,我想我可能会蒙着眼睛跌跌撞撞地走来走去(就像我现在一样),最后找到一个可行的选择。
但选择似乎无穷无尽:
- 让用户编写 JavaScript 工具,然后由我来解释;
- Mathematica 和类似的工具集;
- 许多统计包;
- 谷歌电子表格 API。
还有更多。
如果有人在为用户提供一些制作统计和概率工具的工具的过程中遇到了困难,那么您最终结果如何?你还会这样做吗?
另外,我的特征——蠕动和完美要求我整合图表、图表、热图,谁知道还有什么?或者至少允许以后集成图形。
图形会很漂亮而且很性感:我想放下一切去做图形。但我必须抵制并在页面上很快得到一些东西。1
问:我可以/应该做什么来允许并鼓励简单、直观、安全和强大的工具构建?
编辑:我绝对不是说我想从头发明一个全新的系统。我只是(嗯嗯,是的,没错;“只是”:-)想要与一些已经存在的 JavaScript 可调用包进行交互。
非常感谢!
1 现在我知道了我的雇主曾经对我的一些感受:“哇,哇哦,这个功能太性感了,不能忽略。”
I have a free web site that streams real-time stock-options data. I want to let users make and then save their own JavaScript-callable tools to interpret options data. Users can invoke these custom tools to help them make their own sell/buy decisions about options.
But I am totally stopped, stymied, dead-ended, and buffaloed as to how to accomplish this. If there were just a few choices, I guess I could stumble around blindfolded (as I am now) and finally hit on one that kind-of worked.
But the choices seem endless:
- Let the user write JavaScript tools that I'd then interpret;
- Mathematica and like toolsets;
- Many statistics packages;
- Google spreadsheet API.
And overwhelmingly many more.
If anyone has struggled through the process of giving a user some facility for making statistics and probability tools, how did you finally end up? And would you do it that way again?
Plus, my feature-creeposis and perfectionitis want me to integrate charts, graphs, heat maps, and who knows what else more; or at least to allow later integration of graphics.
Graphics would be nice and sexy: I'd like to drop everything and do graphics. But I have to resist and get something onto the page real soon now.1
Q: What can/should I do to allow and encourage easy, intuitive, secure, and powerful tool construction?
EDIT: I definitely don't mean that I want to invent a whole new system de novo. I only (uh-huh, yeah, that's right; 'only' :-) want to interface with some already-existing JavaScript-callable package.
Thanks so much!
1 Now I know a little bit of how my employers might have felt about me at one time: "aw, c'mahhhhhhhhhn, this feature is just too sexy to leave out."
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您需要快速推出某些产品,第一个最佳的权宜解决方案是让人们能够将数据导出到他们已经知道如何使用的工具(例如 Excel)中正是这个目的。一旦您提供了一些基本的短期解决方案,就可以担心您自己的轮子版本了。
当然,这并不是要边缘化构建功能性的、基于浏览器的统计分析包的主题,这看起来确实很有趣。但说实话,您不妨来 SO 并发布“嘿伙计们,我需要为 iPhone 开发一个新的操作系统。有什么想法吗?”
;)
If you need to get something out the door quickly, the first best stop-gap solution is to give people the ability to export their data to a tool they already know how to use (e.g., Excel) for exactly this purpose. Worry about your own version of the wheel once you've provided some basic short-term solution.
Of course, that's not to marginalize the topic of building a functional, browser-based statistical analysis package, which certainly seems interesting. But to be perfectly honest you might as well come to SO and post "Hey guys, I need to develop a new Operating System for the iPhone. Any ideas?"
;)