I'm looking to see if I can design a HtmlHelper extension method that will generate the Html for different types of widgets I want to produce.
Each different type of widget implements functionality to get and prepare any data it needs to render.
Can anyone suggest any patterns I could refer to for approaches to take? I know there are probably frameworks available that will do this for me, but I thought I'd give it a try anyway. Any points of advice?
Thanks