Skepticats Tracker
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
icon_project.png LnBlog / Closed Enhancement #88 Factor out serialization for entries
Go to the next issue (open or closed)
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
  • Category
    Not determined
  • Targetted for
    Not determined
  • Status
  • 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
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates

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