Skepticats Tracker
LnBlog
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
enhancement_small.png
icon_project.png LnBlog / Closed Enhancement #88 Factor out serialization for entries
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
icon_info.png This issue has been closed with status "Fixed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Enhancement
  • Category
    Not determined
  • Targetted for
    Not determined
  • Status
    Fixed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
  • Time spent
    No time spent
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

Related to bug #82, we need to factor the serialization out of the domain objects. Right now things like the "article path" and other details are not being serialzied when a draft entry is saved. We need a single object that is responsible for retrieving and persisting the entire object state to disk.

Ideally, the workflow would go something like this:
1. Extract POST data
2. Set data in object
3. Pass object to "saver" and invoke an action based on the request
- Save as draft - just saves serialized object
- Publish as article - saves serialized object, moves to articles path, update article-specific files
- Publish as entry - saves serialized object, moves to regular blog entry path, update blog-entry-specific files