I am working on a large database project (see article on news aggregator for trading) and don’t want to a) use stored procedures and b) don’t want to have to code loads of NHibernate mapping files and logic. I looked at various different technologies for code generation and chose CodeSmith mainly because I still have [...]
Archive for the ‘2. Application Development’ Category
Using CodeSmith and Plinqo templates to generate NHibernate ORM layer
Posted in Automated Code Generation, NHibernate, ORM, tagged codesmith, NHibernate, plinqo on February 28, 2012 | Leave a Comment »
Building a FIX engine in .NET
Posted in 1. Financial, FIX Engine, Problems and Solutions, Traders Tools, tagged .NET, Automated trading, Broker, c#, FIX on January 15, 2012 | 1 Comment »
What is FIX The Financial Information Exchange Protocol is defined on the homepage of the protocol standards web site as “The Financial Information eXchange (FIX) Protocol is a messaging standard developed specifically for the real-time electronic exchange of securities transactions.” However, I think this definition is very limited. The protocol does not just define a messaging standard [...]
Simple Producer – Consumer Queue in .NET 4 part 2
Posted in 2. Application Development, Design Patterns, Threading, tagged .NET4, c#, producer consumer, threading on January 8, 2012 | Leave a Comment »
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 [...]
Unit testing for managed memory leakage
Posted in Design Patterns, Memory Management, Problems and Solutions, TDD, Threading, tagged c#, garbage collection, GC - Memory Management, jet brains, performance, unit testing, weak references on December 31, 2011 | Leave a Comment »
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 [...]
Simple Producer – Consumer Queue in .NET 4 part 1
Posted in Back to basics - C#, Threading, tagged c#, producer consumer, threading on December 29, 2011 | 1 Comment »
Another back to basics post for reference material . I will follow this post with how to improve this basic pattern with .NET 4 objects. In building a real time news aggregator which requires a producer – consumer queue to provide up to the second news feeds for a trading engine, I have updated my [...]
Building a news aggregator module for a trading platform –The architecture
Posted in 1. Financial, 2. Application Development, Agile, Architecture, Design Patterns, Problems and Solutions, Threading, Traders Tools, World View, WPF, tagged agile, architecture, c#, news aggregator, producer consumer, software design, WPF on December 16, 2011 | Leave a Comment »
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 [...]
Building a news aggregator module for a trading platform -Introduction
Posted in 2. Application Development, Agile, Architecture, Cool Tools, Problems and Solutions, TDD, Traders Tools, tagged agile, communication, development team, iterations, lifecycle, news aggregator, TDD, trading, uat on December 12, 2011 | 1 Comment »
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, [...]
Making WPF Converters easier to use
Posted in Design Patterns, Problems and Solutions, WPF, tagged Adapter, IMultivalueConverter, IValueConverter, WPF on December 5, 2011 | Leave a Comment »
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 [...]
WPF Datagrid
Posted in WPF, tagged DataGrid, WPF on December 3, 2011 | Leave a Comment »
This is a very short post. I just wanted to point to this great site and especially this tutorial on the WPF DataGrid. http://www.wpftutorial.net/DataGrid.html Its a great reference, and I’m including a post here so I can find it again easily and share with others.