Rafał Pitoń
Rafał Pitoń
This can be done with management command, so let's use that approach.
Please note that „early stages” is only valid for ember.js frontend. Backend for forums is done all the way to posting and lacks only attachments, reports, polls and e-mail notifications....
I wish performant implementation would be as simple as having relation to "parent" post. The Reddit for example has implementation splitting comments graph into branches that are tracked and cached...
The "different display mode" is very loaded thing to say when you consider having to load 2d against 3d list from relational database so say, display discussion's tree. :]
You can't do that in RDBMS without a) making posting costlier (and slower) or b) making heavy use of caching (or both). You could do that in one of those...
Yes and no. You can't just pull all posts from thread into memory and then build graph from them because thats not going to work for forums running with smaller...
Sadly its still weeks if not months before I'll feel confident enough with implementation of posting in Ember.js UI before I'll consider groundwork laid for other commiter to step up...
I'll let this one linger until The Great JavaScript Cleanup (tm) that I'm planning for atumn/winter, when I'll be exploring webpack's codesplitting facilities.
Will have to wait for #248
This is going to be tricky due to unavailability of HttpRequest object in management commands, which means there is a need to know site adress from else where and be...