Arkiv for kategori: ‘English posts’

« Forrige indlæg | Næste indlæg »

M-V-VM Building an ERP-system – part 2 of N – the model implementation

Wednesday, May 26th, 2010

As discussed in part 1, we need to implement the model somehow. The solution-source code shows the refactored result. There are 3 major implementation details that I will touch here:

  • Validation
  • Equality and Identity
  • Collections

M-V-VM Building an ERP-system – part 1 of N – the model design

Wednesday, May 26th, 2010

I’ve decided to post a series on how I would start out designing an ERP solution with focus on Model-View-ViewModel. To fully understand the reasoning, this first part mainly discusses the model in which I work. Many of the later choices should be clearer if you understand the reasoning behind it.

First of, there is no ‘one way’ to do M-V-VM – and how you use it, will determine, how (and if) you benefit from it. I design ERP-systems (Enterprise Resource Planning) which are typically rich on business-logic and have high demands for user-friendliness especially in dataentry screens. Thus, if I did UI-designing like I did back in the VBA-days, I would end up with a jumble of spaghetti-code with UI-concerns creeping into the cracks of my business-objects. So, the main focus for me is getting rid of all things not business in nature and isolating it in ViewModels.

Some thoughts on WPF and the Model-View-ViewModel pattern

Saturday, May 8th, 2010

Having started on the endeavour it is to create an ERP system (this time for real), I’ve put a lot of thought into the structure of the project. Having worked on our solution for transport for nearly 3 years has of course given me a lot of insights into what does not work, but also [...]

Visual Studio 2010 – first impressions

Sunday, April 18th, 2010

In a lot of ways, my employeer tends to be a first-mover when it comes to new versions of software. In that tradition, I decided to take Visual Studio 2010 and the .Net framework 4.0 for a spin. Executive summary: Do… upgrade… now… at least if you do WPF in LOB applications. I ended up [...]

Status på mine projekter i øjeblikket

Saturday, April 3rd, 2010

Det her er egentlig mest en chance for mig selv for at danne et overblik over mine igangværende projekter (så jeg kan grine af det om 10 år…). På arbejde er der ild i 3 forskellige projekter med varierende formål. Hovedprioriteten er vores brancheløsning, som kører i drift hos den første kunde, og som snart [...]

Adventures into the web of Silverlight

Friday, March 12th, 2010

My employer decided it was time to get our online booking solution up and running. So, I was put to work – having heard so much about Silverlight and RIA services, I decided to have a go at it. Having no experience with online programming besides simple html, I had to go with something that [...]

Performancetuning – what a b…

Tuesday, January 12th, 2010

We have gone through some major refactorings lately due to performance problems. And while our performance has drastically improved – we are now at a point where further optimizations will prove futile. The reasons are many – the time we spend on performance tuning is now approaching a diminishing return, complexity in code is approaching [...]

Tilbage til undervisning

Saturday, October 31st, 2009

Så er mit første kursus vel overstået. Det var en fornøjelse at prøve at undervise igen. Alt taget i betragtning gik det også godt. Deltagerne var positivt stemte og havde bortset et par mindre ting omkring kursusmaterialet ikke det store at indvende. Jeg var lidt nervøs før vi gik i gang – jeg havde kun [...]

Usability – the usual pit-falls

Saturday, September 26th, 2009

Everyone has seen them – every developer has fallen in at some point – the common pit-falls that are usability no-no’s. But how they are perceived varies. Developers with enough time under their belt will be at least partially blind to them – for some reason, active development will make you unable to judge usability [...]

Usability – where to start

Thursday, September 17th, 2009

I recently started re-aligning my preferences when coding. Up until now, I’ve been focused on learning the technology and reaching a competent level of understanding why the technology works the way it does. Also, I wanted to write better code. I’m in no way among the most competent in these areas, but it is mostly [...]

« Forrige indlæg | Næste indlæg »