Arkiv for kategori: ‘* Coding’

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

Adventures into Python

Monday, July 19th, 2010

When in Rome… After installing Linux – it was kinda anti-climatic. Everything was installed without me doing anything – and using the browser and the small utilities quickly was… meh. So, new project – learn a programming language that would run on Linux. Enter a lot of confusion. I had no idea what-so-ever where to [...]

Hello world – MonoDevelop

Sunday, July 18th, 2010

I had to try… Positive impression so far. Just made a simple console application. Everything is lightning fast – even if I’m sitting on a 0.99 GHz ATOM CPU, 1 GB Ram and a very small hard-drive – I was amazed that it would even start – but this speed? I wouldn’t have thought it [...]

Approximately TestDriven

Saturday, July 17th, 2010

As it might shine through in my previous posts – I have a pragmatic view on TDD. I understand why tests are important – I do tests, but I don’t test everything – maybe I approach 15% test-coverage. I chose to make ERP-systems my speciality – and I land at lousy 15% coverage? Many would [...]

Prototyping vs. doing ‘real’ developement

Wednesday, July 14th, 2010

I’m currently making a prototype where I have to show how the final application will look. That means, I have to build basically everything, I would normally build for the ‘real’ application (data, styling and command-logic). This is not my preferred way of working – normally I would build it incrementally – one functionality at [...]

The gobbo got a new job!

Friday, July 9th, 2010

Come 1st of August, I start a new job at NotaPlan ApS as a C#/WPF developer. I will be joining a few different projects in a tight team of 4 – and overall, I hope I can add some experience in business-logic – and of course my NHibernate and WPF skills will be put to [...]

How people always try to do things the hard way with WPF

Tuesday, July 6th, 2010

I lurk a lot on StackOverflow – it sometimes strikes me how hard people try to make their problems. Instead of using a simple solution, they will over-engineer it until it becomes impossible to do what they’re trying to accomplish. If you are trying to bind to the parent control via templatebinding and do a [...]

M-V-VM Building an ERP-system – part 10 of N – OrderLines

Sunday, June 6th, 2010

I’ve saved the goodies for the last post. We are now ready to edit an order after post 9 – and we want to do it in style. We want to present the user with a really nice interface for fast input. We could have done it the old-fashioned way with an ‘Add’ button for adding an orderline in a new window, but hey, we got a shiny ‘new’ DataGrid in 4.0 – so let’s put that for a spin:

M-V-VM Building an ERP-system – part 9 of N – Orders and handling null

Sunday, June 6th, 2010

We are now turning towards a somewhat more involved example after a little break in part 8 – the orders. We’ll make a bit more complex filter for the list of orders while keeping it paged – the IOrdersViewModel is so akin to ICustomersViewModel that I’ll jump to the differences in the IOrderFilter:

M-V-VM Building an ERP-system – part 8 of N – Rounding up customers

Friday, June 4th, 2010

Okay, we have successfully created a small application in part 7 where the user can add, edit and remove customers. Not bad considering the small amount of code in the solution. Still we have a lot of classes involved and this alone creates a lot of complexity. We are paying the price for a very stable and easy-to-maintain solution down the road. I hope this will be easy to see when we start implementing entity number two – the order.

M-V-VM Building an ERP-system – part 7 of N – Views

Friday, June 4th, 2010

Okay – part 6 was ViewModels – now it is time for the eye-candy and unleashing the power of the ViewModels. All views (save one) will implement the IView<TViewModel> interface which has a single method: void SetViewModel(TViewModel viewmodel). I’ll explain later why there are no more methods…

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