by Kofi Sarfo
10. June 2009 01:33
We've spent the last few weeks reading, trying to get up to speed with .NET 3.5 and looking at some code. Meanwhile we've not been writing anything besides snippets for learning generics, LINQ and WCF. No ASP.NET MVC. No WPF. No Silverlight. No worries. It's time to build something.
So the concept is reviews for the Twitterati. Reviews of 120 Characters or less. Tweeviews if you like. Key characteristics should be that it's simple, clean and intuitive.
Key technical features:
- ASP.NET Webforms (initially with AJAX)
- SQL Server
Functional areas:
- Category
- Review
- Thumb up or down (as opposed to 4/5 stars)
- Reviewer
- Reviewed object (restaurant, etc)
Not sure whether we call those things above entities.
Old school Microsoft approach is database design first. Data-centric rather than domain driven. I think we're still stuck in that world. Will be worth reconsidering this application and how it might have been done differently using NHibernate, Rhino Mocks, etc. Ayendeified. It ought to be an adjective.
What's interesting (for me) about this is that we've never written a publicly accessible API. We've done Web Services for both inter and intra application domain hookups (not in the .NET sense but rather as an interface between disparate applications on the same platform as well as between different platforms). We used Web Services, for example, in the Advert Framework* for FireText. No problems with SOAP. It didn't really need to be WS-* as it never made use of transactions as originally intended. Still, it was fun playing with the PHP SOAP implementation :)
Extra bits:
- URL shortening API
- Twitter API
- Some reporting & filtering type UI
First pass, writing this as quickly as I can using tried/tested approach. Second attempt, a rewrite using shiny newish technology. The idea being then able to compare the old versus new, discern what real advantages the new offers and get some refactoring practice. This should be interesting...
Notes:
* It was subsequently rewritten in PHP because the engineer I handed the code to didn't fancy learning C# but a story for another time...
by Kofi Sarfo
1. June 2009 04:38
I'm missing another superlative for Stack Overflow. Whilst trying to decide between BlogEngine.Net and SubText for this blog - using Google as is how every but every decision is made now - the following became apparent:
- BlogEngine.NET code is likely to provide the more interesting read
- SubText is going to be rewritten to use ASP.NET MVC
- One is more stable than the other, supposedly
In other news I attended a London .NET user group talk at Microsoft last Thursday (ASP.NET Webforms versus ASP.NET.MVC) in which I learnt that I fall into the second category of developer: those who want to build apps so that they can charge a client. Eight weeks without a client can do that to you. The argument had the expected key themes:
- Why must we suffer View State?
- Web development should be about being -
- pragmatic (Webforms)
- elegant and of highest quality possible via Test Driven Design/Development (MVC)
- ASP.NET MVC currently lacks the cushion (view designer, etc)
- Does anyone like the ASP.NET Page Life Cycle?
It's been a while since I did any web development so I was going to write a web site firrst using ASP.NET old school (.Net Framework 1.2) and do the same again using ASP.NET MVC with as much of .Net Framework 3.5, Nant, NUnit, Rhino Mocks and NHibernate that I might be able to fit in sensibly. I've yet to settle on a preferred IoC implementation. Between this talk and Jon Skeet's
C# in Depth (
Amazon) perhaps I have enough of the pieces to put this together and more than enough time to play with jQuery besides. I'm told there's more to AJAX than UpdatePanel.
Notes:
Stack Overflow: Who is using BlogEngine.Net for their blog? Does it run well? Will it scale? :P
Mason Lyngby: Switched from SubText to BloggingEngine.NET
by Kofi Sarfo
1. June 2009 04:38
I'm missing another superlative for Stack Overflow. Whilst trying to decide between BlogEngine.Net and SubText for this blog - using Google as is how every but every decision is made now - the following became apparent:
- BlogEngine code is likely to provide the more interesting read
- SubText is going to be rewritten to use ASP.NET MVC
- One is more stable than the other, supposedly
In other news I attended a London .NET user group talk at Microsoft last Thursday (ASP.NET Webforms versus ASP.NET.MVC) in which I learnt that I fall into the second category of developer: those who want to build apps so that they can charge a client. Eight weeks without a client can do that to you. The argument had the expected key themes:
- Why must we suffer View State?
- Web development should be about being -
- pragmatic (Webforms)
- elegant and of highest quality possible via Test Driven Design/Development (MVC)
- ASP.NET MVC currently lacks the cushion (view designer, etc)
It's been a while since I did any web development so I was going to write a web site firrst using ASP.NET old school (.Net Framework 1.2) and do the same again using ASP.NET MVC with as much of .Net Framework 3.5, Nant, NUnit, Rhino Mocks and NHibernate that I might be able to fit in sensibly. I've yet to settle on a preferred IoC implementation. Between this talk and Jon Skeet's
C# in Depth (
Amazon) perhaps I have enough of the pieces to put this together and more than enough time to play with jQuery besides. I'm told there's more to AJAX than UpdatePanel.
Notes:
Stack Overflow: Who is using BlogEngine.Net for their blog? Does it run well? Will it scale? :P
Mason Lyngby: Switched from SubText to BloggingEngine.NET