Feeds:
Posts
Comments

Archive for the ‘Architecture’ Category

Please first read Part one of the simple producer – consumer queue in .net4. In part 1 we defined a standard producer – consumer queue, however, there was nothing that particularly made this stand out from a queue written in a previous version of .Net. In this post, I am going to upgrade the queue [...]

Read Full Post »

It might seem a strange thing to do. Firstly can there be managed memory leakage? And secondly how can you unit test for this? I’ll put this into context and then all will become clear. I came across this interesting problem recently when playing around with a set of streaming real time data and attaching [...]

Read Full Post »

In my recent post introducing the news aggregator I detailed what we are currently building. In this post, I will discuss some very high level architecture and some considerations around how to build the application. My first draft at architecture is to just get the different functional parts of the program identified. Then later we [...]

Read Full Post »

I am working on a project where I going to build a news aggregator which takes certain keywords and searches a predefined set of websites, company statements etc for stories or blog posts that have that keyword in it. The keywords are mostly a combination of company names or stock ticker codes and mood indicators, [...]

Read Full Post »

When binding data to WPF controls it is good practice to use a IValueConverter or IMultiValueConverter or use the adaptor pattern which is what I do for the equivalent when using MVC for the web, to change the values from your domain objects to something you can bind to which makes sense for the Gui [...]

Read Full Post »

Over the years I have changed the style of my HTML coding considerably. Back in the day (pre 2000) every one including me coded everything using tables. Tables rocked and made it quickly possible to layout pages. Pages were mostly cut up images straight from Photoshop. It was the web developer’s job to create a [...]

Read Full Post »

I recently wrote a post about how to set up CW’s IOC container for applications. This post covered the most basic implementation to get an IOC container up and running. It is now time to cover a proper architecture for using IOC specifically for web applications / sites. The main problem with the previous implementation [...]

Read Full Post »

Testing Microsoft’s web forms (asp.net) UI. Microsoft’s web form architecture is not particularly good for testing. The event driven architecture of ‘code behind’ means lots of logic gets stored in C# code that is tightly bound to the HTML code. This means you can’t write purely C# unit tests for it. The best solution is [...]

Read Full Post »

Sometimes you just have to send files from one place to another. As this blog is about finding the perfect web architecture it seems fair enough to include one of the oldest web protocols of all. FTP. Almost every system I have worked on has included subsidiary programs that feed data in or out of the main [...]

Read Full Post »

After looking around for a decent book purely on TDD and Unit testing I realised there is a surprising lack of industry standardisation on this extremely popular topic. There are lots of tips and tricks but as of yet I have not found a complete works or treatise covering the subject. I don’t propose to [...]

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.