Geeks With Blogs
Greg Young Greg.ToString() January 2006 Entries
IE 7 beta 2 publicly available

Posted On Tuesday, January 31, 2006 2:17 PM

Decoroxy - Dynamic Decorator
I am leaning towards re-implementing my dynamic proxy as open source (BSD license of course). As with any open source project my biggest problem was not a shortage of ideas but in finding a really cool name that I could also have the domain for :) In this process I have come across something odd. In AOP Ido not actually use dynamic proxies! I use Dynamic Decorators. Proxy Decorator from The Proxy Pattern is similar in structure to the ......

Posted On Tuesday, January 31, 2006 12:20 PM

XP and Creational Patterns (Risk Mitigation)
Some random grumblings that I have come upon this week. (Yes Jimmy I am still thinking about those comments; what I really need is a GA (geeks anonymous) meeting) Extreme Programming: “ So always do the simplest thing that could possibly work.“ Does this really work when dealing with creational patterns in a design? To put this into context I will give a concrete example, the placement of factories to abstract the creation of objects. Let's propose for a minute that we follow this advice, ......

Posted On Saturday, January 28, 2006 3:08 PM

Tools every C# developer should know about
Here are the items I must have, they are the things I install whenever I get a new machine A persistence layer i.e. Gentle.Net nHibernate A Prevalence layer Bamboo http://bbooprevalence.sourc... PrevLayer Unit testing framework nUnit Build tool Nant A tool with XML documentation integration nDoc (sparx also provides one for models) ......

Posted On Thursday, January 26, 2006 11:51 AM

Dynamic Proxy and Attributes
Sorry for spamming but I have had a few posts stuck in my head for a few weeks and I am sitting at my desk in a position I have resigned waiting out my time. Obviously I will not be receiving any new projects and all old projects are on wait of other resources = Bored Greg. Continuing with the dynamic proxy I created a DSL for runtime based aspect assignment. One thing that I did which was a bit different than anything I had seen done before was that I allowed attributes to map aspects. In the assignment ......

Posted On Tuesday, January 24, 2006 1:01 PM

Dynamic Proxy Quandries
In the creation of my dynamic proxy I ran into some “interesting” fringe conditions.... I started off as all do needing a very simple interceptor generator, this is btw very easily done if anyone is thinking about attempting it. I later decided to add mixin support which was a bit more interesting. That said lets get into some background information to help explain the issues. Mixins for those who are not aware involves the dynamic aggregation (either at compile, link, or runtime) of ......

Posted On Tuesday, January 24, 2006 12:25 PM

Master Page Coupling Ctd.
I few days ago I made a post about the possible coupling I saw within master pages as compared to a dynamic control based parent. This is due to the child defining the container where it resides on the parent. Perhaps I was not clear enough of about my thoughts so I am going to try to explain them a bit further. Using any form of dynamic control placement (master pages or parent loading and placing dynamic controls) one uses metadata in order to figure out how to layout the screen, in other words ......

Posted On Tuesday, January 24, 2006 7:49 AM

IE Dev Toolbar
This thing is just cool.... Best add on for IE I have seen in a long time. It should definately be in your toolkit if you develop any form of web application. You will notice that in the picture, I have tables + divs outlined. I also have the classes of various elements being shown, and I am in process of looking through the DOM. A few other really useful bits of functionality are quick access to change IE settings (such as disabling scripting) and the ability to clear cache only for the current ......

Posted On Wednesday, January 18, 2006 2:17 PM

Master Page Coupling
After having done now two applications using master pages they still feel very odd to me. In fact that feel very ... backwards. I have been developing ASP.NET apps using dynamic control placement based templating for quite some time now (oddly enough I do my windows forms apps the same way). Its great, I have things such as a tab strip control which loads plugins, automatic menu creation, etc. In this model it is parent who is told to run the child, the parent then decides how and where to display ......

Posted On Thursday, January 12, 2006 6:13 PM

Linear regression
Linear regression is often used in trying to generalize data, correlate data, and find outliers. Something I had written some time ago in C# though it also includes VB.NET translation... It can easily be dropped into a datasethelper class and will regress two columns within a dataset returning major variables including Pearson's R PLEASE NOTE THIS IS NOT PRODUCTION CODE AND IS HERE AS AN EXAMPLE. public ......

Posted On Tuesday, January 10, 2006 3:41 PM

I noticed that the last post I made did not aggregate, most likely because I posted it then deleted it then reposted it. Thread.Abort is evil. Especially in the case of dealing with unmanaged resources as chances are they will never be released. A common pattern for dealing with unmanaged resources is to make a managed wrapper. This way if the resource is forgotten about, the object can release the resource when it is garbage collected. Thread.Abort offers some intresting problems with this as you ......

Posted On Thursday, January 5, 2006 10:18 AM

Copyright © Greg Young | Powered by: