The Web UI

Time for the web UI! I’m building this using ASP.NET 5 and ASP.NET MVC 6 for the controller side and React, Redux, Immutable and TypeScript for the view layer. I’m not a fan of node.js, but I do like the web view being defined in one place so running React on the server side appeals to me. I could run it fully in the browser but servers tend to be faster than clients, especially mobile clients.

Api controllers

The backend Api servers are going to use the WebAPI component of ASP.NET 5 to make a RESTful api. Since I’m using entity framework for the database layer this is a remarkably simple piece of code, especially since most of it will be automatically generated. Right now I’ll focus on the basic create/read/update/delete (CRUD) methods, later on I’ll get to some more interesting logic when it’s time for automatic transaction posting and budget forecasting.

I promised code, so it’s time to get coding! I’m going to start with the api server, then implement the UI on top of that. The backend is going to be built using ASP.NET 5 and WebAPI for the web layer. The database is going to be sqlite and I’ll be using Entity Framework 7 for the database access layer. These choices are mostly because they’re the defaults in ASP.

I don’t like deciding too much up front, but understanding what you’re trying to do helps. I tend to focus more on the logic side rather than the UI - since I’m not that great at UI work - so I’ll start from the data model and work up. What I want out of this To figure out the data model I need to figure out what I want out of this.

​It’s been a while since I posted anything here, so I’ve decided to find a topic to motivate me. This post is the first in a series about my personal finance / budgeting system. I’m creating this for several reasons, one of course is to track my budget, but that’s not the main reason. I’m building the application with an interesting architecture. I don’t think it’s novel, but it is new to me.

When it hurts...

Since the rise of comments on news websites I’ve seen more than a few asking how someone chronically ill can take holidays, or that they “look well enough to me”. Here’s my story. Update from 2016 Whatever it is appears to have gone away. I haven’t been affected for over 8 months now. My doctor has no more information, but since it’s gone away there’s nothing more they can do anyway.

This is something that’s caught myself out over the years, and I’m sure a lot of other people have done the same. When writing code or documentation, or even an email we leave out details we think are “obvious”. What we don’t think of is our own specialist knowledge - the invisible knowledge we have of our environment, or our context. These days I work on accounting software, but in addition to my software development degree many years ago I also started an accounting degree using my elective papers.

sitharus

Super bio with markdown support COOL

New Zealand