Hacker News new | past | comments | ask | show | jobs | submit login

It's a few hundred lines of very ugly PHP, at a minimum I would have to do some housecleaning before posting the code and there is no upside for me, it was - and is - throwaway code and I can't wait until we have a viable replacement so I can kill it.

Side note: it uses a bunch of keyboard short-cuts to rearrange the tree by moving nodes around and JS absolutely sucks are reliably capturing ctrl-key combinations. Highly frustrating.

Long story short (and without the code):

The application presents a tree to the user, parts of which can be copied, each node in the tree is internally referenced by an ID which allows for multiple nodes having the same name attribute. Besides the name attribute there are tags, source (handy to keep track of where you found stuff), an answer to the question associated with that node, an advisory and a bunch of flags and priorities.

The layout is three panes, a top one with some links for commonly used functions and a search bar, the left hand side gives the tree and the present location in the tree and the right hand side shows all the attributes of the current node.

It features import and export in XML format of the whole tree or parts of it, the ability to attach pdfs and images to nodes (the images are shown inline in the parent node), to attach notes to nodes and to export to a different editor for report writing purposes (usually open office).




The web is amazing. That you can throw that together in a single small file of “throwaway” PHP and use it in production speaks to why the web has been such a successful platform.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: