I recently discovered Mithril.js and wanted to give it a shot with an application that's slightly more complicated than the standard ToDo example. I decided on making a simple blogging software. The requirements for the software were as follows:
- A listing of all blog posts as the front page of the app
- The ability to add, edit, and remove posts.
- A combined Add/Edit Form for managing posts
- The usage of localstorage
- Accessing localstorage in a faux asynchronous manner to simulate REST type requests
What follows is the result.