Jacob Barkdull
Jacob Barkdull
@Lux-Delux I've looked into XMLReader, and various other methods of reading XML files. What I've found is that XMLReader is indeed faster, but only on large files. Since HashOver uses...
It turns out I did my math wrong. The execution time above is for 10,000 files not 1,000. For 1,000 files the execution time for the XML is 0.03 seconds,...
@taophp It has been considered, but ultimately rejected. If all comments are in a single file, a single XML error or wrong file permission would bring down every comment, and...
@taophp Very interesting idea. While this may technically introduce the same issues I mentioned before (corrupt the archive file and you lose all the comments, or fail to update the...
@SikoSoft JSON is being considered, actually. I would recommend you read the "JSON" section of the "[Data storage format](https://github.com/jacobwb/hashover-next/issues/32)" issue. While it's true that JSON encoding/decoding is built into PHP...
@mro Yes and no. Technically speaking the XML files could indeed be used as-is. However, where enabled, the comment files will store sensitive user information, such as e-mail addresses and...
@Lux-Delux Protocol Buffers is definitely not out of the question, I really like the overall idea of it. However, Protocol Buffers don't seem to be well supported by PHP currently,...
@Lux-Delux I haven't found any obvious drawbacks yet. JSON support isn't really well tested, though, meaning certain input might throw errors, which would cause the browser to throw JavaScript syntax...
@Lux-Delux 404 errors are perfect behavior.
Hello, sorry for the long delay. Y'all please try again with the latest code, and if you are still having this problem, let me know and I will try my...