Skip to content

Day Review 10

Day Review 10 (Apr 18 Fri) of my tiny experiment with Plus Minus Next. Develop JSON parsing for Ghost API resources for Swift domain models.

2025-04-18 Review

This is the day review for Friday, April 18.

Visit reviews for related time periods:

## Summary

Reflect on what happened today using Plus Minus Next.

Highlight

Identify day summary for Week Review.

  • Develop JSON parsing for Ghost API resources for Swift domain models.

Plus ➕

What went well?

  • Created Swift domain models as well as SwiftData entity models based on the JSON data from Ghost Content API.
  • Parsed JSON data from Ghost API, and addressed issues related to optional fields, and nested objects.
  • Created additional Swift models to import JSON data from a Ghost Export file.

Minus -

What didn't go so well?

  • I'm still not working on my PKM stuff since this is taking most of my time right now.

Next →

What will I focus on next?

  • Refactor and enhance Swift app with additional features like SplitNavigationView.
  • Investigate Node.js proxy server with SwiftUI front-end for managing Ghost website.
  • Add additional capabilities for Ghost Admin API such as create, update, and delete actions.

Last Light

Capture thoughts about today.

Thoughts

What do I think and feel about today's activities?

  • There were some challenges resolving differences from parsing JSON responses into domain models, and trying to use them also an SwiftData entity models
  • The solution was to have both Post and PostEntity models with mapping between them, which offers better architecture layering.

Questions

Any questions for research or exploration?

  • Revisit some previous Swift projects to identify code that I can reuse again, or at least find examples and techniques that will be helpful.
  • Think about user interface design and navigation scenarios for typical Ghost workflows.

Actions

What can I do next?

  • Add Swift testing to the project for Ghost APIs, JSON parsing, Swift domain models, and SwiftData database operations.
  • Create some test Ghost sample data for SwiftUI previews and SwiftData testing.