Skip to content

Latest commit

 

History

History
104 lines (103 loc) · 3.66 KB

Tickets.org

File metadata and controls

104 lines (103 loc) · 3.66 KB

DOING Read Only Mode Version 1

Convert markup language into backend posts at startup

  • JSON/YAML metadata with markdown file posts as JAR resources?

Metadata

Decide metadata format and location?

I decided to use YAML for now
  • { id: 0, … content: { location: “resource”, url: “com/benpence/blog/posts/blah”, encoding: “markdown”, }, }

Unit test

Convert markdown resources to posts

Markdown to HTML utility

Read Markdown from resources

Unit test

Argument parsing library

Unit test

Primitives unit test

Create most-recent frontend page

Shows most recent N posts

Create layout in elm from static posts content

Use Scala PostApi as Post object template

Connect layout to server API

Render post content client side

Add more server support

Consolidate server API

Tag counts

Add TagStore in server
Add API endpoint for tags
Add frontend client method for tagcount

Individual post (client only)

Make web buttons use anchor

About page

Create static file

Add frontend client method

Render About content

Pagination server and client side

Add server support

Add frontend API support

Add buttons in UI for page 1

Connect frontend client API to UI

DOING elm 0.18 upgrade

Add frontend cache

Api.Client as part af Model. Client methods yield new client

Make server-side API changes for selective reading

Time/space-based expiration?

Add unit tests against events

State changes

Research how other people do view tests

Better handling of failed fetches

After thoughts

Reduce property-based FilesTest duration

Add revision number for posts, UI, API

Use “The Title: Revision 1.md” and “The Title: Revision 2.md” or something similar

Blog Server feature tests

Normalize frontend cache

Delay search results to reduce requests

Read Only Mode Version 2

Create persistent store

MySQL or SQLlite. Don’t actually add API write path

Research how/if Slick and Twitter Futures work together

Use Slick for just SQL generation or for DB access?

https://github.com/ikhoon/finatra-mysql-seed/blob/master/src/main/scala/com/github/ikhoon/persistence/slick/user/SlickUserRepository.scala https://github.com/slick/slick/blob/master/slick/src/main/scala/slick/jdbc/JdbcBackend.scala#L66

Research how Twitter Future concurrency works

Basic Slick SQL writing utility