docelic / fluence

WYSIWYG wiki powered by Crystal, markdown, and Git
GNU General Public License v3.0
48 stars 1 forks source link

Save content to pages #33

Closed docelic closed 6 years ago

docelic commented 6 years ago

Currently, Page objects are pretty much disposable. One mostly creates them just to convert a page name into a Page object and then access page-specific functions.

We need to change this so that these objects can also be non-disposable and contain the complete page content in them. Then, PAGES index would be a collection of pages all of which have the content embedded and don't require disk access.

docelic commented 6 years ago

Probably not worth doing since maybe using disk access (instead of doing some inconvenient operations via the index, like it's currently done) would be better. So in that sense, no need to aim for "diskless" operation.