http-decision-tree

所属分类:聚类算法
开发工具:JavaScript
文件大小:16KB
下载次数:0
上传日期:2016-04-30 00:56:33
上 传 者sh-1993
说明:  交互式版本的<http:racksburg.com选择http状态代码>以供娱乐

文件列表:
.babelrc (28, 2016-04-30)
.jshintrc (6241, 2016-04-30)
LICENSE (1082, 2016-04-30)
decisions.json (6879, 2016-04-30)
index.html (429, 2016-04-30)
main.css (3240, 2016-04-30)
package.json (1550, 2016-04-30)
src (0, 2016-04-30)
src\actions.js (246, 2016-04-30)
src\constants.js (394, 2016-04-30)
src\containers (0, 2016-04-30)
src\containers\app.js (2466, 2016-04-30)
src\main.js (580, 2016-04-30)
src\reducers.js (784, 2016-04-30)
src\strings.json (2754, 2016-04-30)
src\tree.js (1946, 2016-04-30)
src\util (0, 2016-04-30)
src\util\decisions.js (858, 2016-04-30)
src\util\fp.js (313, 2016-04-30)
test (0, 2016-04-30)
test\actions.test.js (924, 2016-04-30)
test\index.js (131, 2016-04-30)
test\reducers.test.js (1140, 2016-04-30)
test\tree.test.js (3330, 2016-04-30)
test\util (0, 2016-04-30)
test\util\decisions.test.js (922, 2016-04-30)

# HTTP Decision Tree This is an interactive version of [Choosing an HTTP Status Code][choosing-code] that I threw together for fun to demo some React + Ramda in my [Intro to FP in JavaScript][IntroFP] talk. It's mostly working, but a little rough around the edges. If given more time, I'd like to: - add better instructions on what to do / what this is - add labeling around the standard / useful / irrelevant color codes - add a way to cancel / go back from a decision without having to restart - add filtering so one can, for example, remove decisions that lead to irrelevant codes - improve on the styles and animations - improve on the accessibility and make sure it's fully keyboard-navigable I had originally started down the path of implementing the decision tree using an actual tree structure. However, I started spinning my wheels when it came time to folding two or more trees together, and switched over to POJOs for interest of time. I've preserved what little tree code there is, but it is completely unused. I may come back to this at some point, however. ## Usage To run this application: $ npm install $ npm start And to run the tests: $ npm test ## License MIT [choosing-code]: http://racksburg.com/choosing-an-http-status-code/ [IntroFP]: https://github.com/jimf/intro-fp-js-talk

近期下载者

相关文件


收藏者