My First Silverlight App
I like to learn by doing. So after watching the ScottGu video on the
Silverlight website I decided to learn Silverlight by creating a Naughts and Crosses game (Tic Tac Toe). You can see my initial attempt here.
So I suppose its pretty crappy to look at, but hey, I'm no designer. And its my first app, so what do you expect??? I didn't want to post it until I could go back and make it better. It needs serious refactoring, there's missing functionality, and its probably doing things the "wrong way".
But Scott Barnes encouraged me to publish it now so I have. The idea now is to display the flawed project, and then post each iteration as it improves. At the end of each iteration, I'll post details about the changes and what improved. The focus won't just be about Silverlight specific functionality. For example, the way the CROSS control is loaded is purely hardcoded. Ideally there should be a dynamic way to load different CROSS Xaml files depending on user selection, such that a designer could just add a new Cross object from Expression Designer into a /Cross/ folder.
Hopefully as we progress on this project we'll come to realise some new design patterns for creating functionality that is friendly to designers and developers both, something that might not be so well defined because such integration hasn't existed before now.
So I am completely open to suggestions about how we progress from here. Oh, and to contributions too.
Silverlight website I decided to learn Silverlight by creating a Naughts and Crosses game (Tic Tac Toe). You can see my initial attempt here.
So I suppose its pretty crappy to look at, but hey, I'm no designer. And its my first app, so what do you expect??? I didn't want to post it until I could go back and make it better. It needs serious refactoring, there's missing functionality, and its probably doing things the "wrong way".
But Scott Barnes encouraged me to publish it now so I have. The idea now is to display the flawed project, and then post each iteration as it improves. At the end of each iteration, I'll post details about the changes and what improved. The focus won't just be about Silverlight specific functionality. For example, the way the CROSS control is loaded is purely hardcoded. Ideally there should be a dynamic way to load different CROSS Xaml files depending on user selection, such that a designer could just add a new Cross object from Expression Designer into a /Cross/ folder.
Hopefully as we progress on this project we'll come to realise some new design patterns for creating functionality that is friendly to designers and developers both, something that might not be so well defined because such integration hasn't existed before now.
So I am completely open to suggestions about how we progress from here. Oh, and to contributions too.
Labels: patterns, ScottBarnes, ScottGu, Silverlight