Geeks With Blogs

News Google

Nick Harrison Blog<Nick>.Next() June 2010 Entries
Reflection Linqiness
I have recently started playing around with linq syntax. It can produce some very beautiful syntax. Of course, it can probably also produce equally ugly ones. I recently played around and built this one lines for retrieving the values for all of the readable properties in a object. var values = (from prop in value.GetType().GetProperti... where prop.CanRead select new { Name = prop.Name, Value = prop.GetValue(value, null) }); This allows us a single statement to retrieve name / value list for all ......

Posted On Tuesday, June 29, 2010 12:55 PM

Back to Basics: Wiring up a Web Application
As we have pieced together the components of a web application we have explored how best to structure the markup, and how to pull business logic out of the UI by following the Model View Presenter Pattern. Now let's turn our attention to the Model as we pull all the pieces together and explore what a well behaved model might look like. The Model will be the piece that handles storing and retrieving our data. Just as we did with the markup and view, we want to provide a separation of concerns and ......

Posted On Sunday, June 27, 2010 8:42 AM

Merging Waterfall and Agile – Getting the Worst of Both Worlds
Many people have seen and appreciate the elegance and practicality of agile methodologies. Sadly there is still not widespread adoption. There is still push back from many directions and from many different sources. Some people don't understand how it is supposed to work. Some people don't believe that it could possibly work. Some people mistakenly believe that it is just code for a lazy project team trying to wiggle out of structure Some people mistakenly believe that it can work only with a very ......

Posted On Thursday, June 3, 2010 10:46 PM

Death March
It is a horrible sight to watch a project fail. There are few things as bad. Watching a project fail regardless of the reason is almost like sitting in a room with a "Dementor" from Harry Potter. It will literally suck all of the life and joy out of the room. Nearly every project that I have seen fail has failed because of political challenges or management challenges. Sometimes there are technical challenges that bring a project to its knees, but usually projects fail for less technical reasons. ......

Posted On Wednesday, June 2, 2010 4:16 PM

Automatic Generalization
I have been interested in functional programming since college. I played around a little with LISP back then, but I have not had an opportunity since then. Now that F# ships standard with VS 2010, I figured now is my chance. So, I was reading up on it a little over the weekend when I came across a very interesting topic. F# includes a concept called "Automatic Generalization". As I understand it, the compiler will look at your method and analyze how you are using parameters. It will automatically ......

Posted On Wednesday, June 2, 2010 9:03 AM

Copyright © Nick Harrison | Powered by: