To continue from the Super Tuesday post â€“ here are some more highlights from this week:
First off, letâ€™s get things started rightâ€¦ today is the best football game of the year â€“ Ohio State vs. Michigan
OH! IO! Go Bucks 🙂
Value Objects Presentation
Dan Bergh Johnsson gives an enlightening presentation on â€˜value objectsâ€™. Soundsâ€¦ boringâ€¦ ? Not at all. This is a real eye opener. I had to sigh a few times as he spoke thinking â€˜I need to go start refactoring some code!â€™.
Give your programming career a favor and watch his presentation over at InfoQ.
Dan Bergh Johnsson refreshes the listenersâ€™ memory on using value objects showing by example how their good use can revolutionize a programâ€™s architecture, simplifying it, making it more readable and testable, in a word, better.
Been following the news on Chrome OS ??? Well, itâ€™s all very interesting! Here are some favorite links:
Help Build Chrome OS: http://blog.chromium.org/2009/11/hello-open-source-developers-would-you.html
Google OS Concept Video :http://www.youtube.com/watch?v=hJ57xzo287U
My take on this new Operating System:
1. â€œJustâ€ Chromeâ€¦ hmmmâ€¦ not sure about this value.
2. Android + Chrome ? Now weâ€™re talking. This is the way they should proceed IMO. Android would add value.
UPDATE: Looks like my #2 is right on targetâ€¦.read about ..convergeâ€¦ :)
Google’s co-founder, Sergey Brinâ€¦said "Android and Chrome are likely to converge over time."
ASP.NET MVC 2 Beta Released:
My favorite .NET web framework has been updated to version 2 beta. From Phil Haackâ€™s link above:
Here are some highlights of whatâ€™s new in ASP.NET MVC 2.
- RenderAction (and Action)
- Expression Based Helpers (TextBoxFor, TextAreaFor, etc.)
- Client Validation Improvements (validation summary)
- Add Area Dialog
- Empty Project Template
- And More!
ASP.NET MVC 2 Beta also includes an explicit go-live clause within the EULA.
To go along with this release is a good write up custom validation in asp.net mvc 2. A snippet of what this post covers:
cover building a custom validation attribute using the base classes available in
System.ComponentModel.DataAnnotations. ASP.NET MVC 2 has built-in support for data annotation validation attributes for doing validation on a server. For details on how data annotations work with ASP.NET MVC 2, check out Bradâ€™s blog post.
Great stuff Phil! This is a 3rd part of Phil Haackâ€™s series on asp.net mvc beta 2. This team continues to impress me on their progress. As David Hayden has said â€˜"hopefully you have spent the past year learning and mastering the ASP.NET MVC Framework, because Webforms is officially dead"â€™ :) (LOL)
P&P Web Client Developer Guidance
Iâ€™m going to start following the Web Client guidance project from the Patterns and Practices team. Some of their â€˜anticipated benefitsâ€™ (from CodePlex site) include:
- Provides infrastructure for developing and maintaining ASP.NET and AJAX applications
- Provides guidance on MVC 2, jQuery, and AJAX library
- Responsive applications
- Flexible architecture that allows change
- Separated presentation including unit testing view logic
- Application modules are developed, tested and deployed separately
- User Interface components are dynamically composed
- Guidance on how to improve Web client security
- Allows incremental adoption of the components
This is a bold list, but a good list of future features. Iâ€™m going to urge this team to make these a reality. As some know from my past post, I consider â€˜Grailsâ€™ to be the defacto standard right now for a web application framework. That said, personally Iâ€™d like to see this team start to take on their model of convention over configuration, etcâ€¦ and provide guidance that implements practices â€“ such as IoC for injecting services into the controllers, a loosely coupled architecture, testing structures created â€“ build/test routines, ease of switching back and forth from test/dev/production in builds â€“ simplified setups for developers with consistent project layouts. I think their list again, is bold, but good. I look forward to seeing this progress.
Yesâ€¦ I actually used this â€“ and it worked out well. We enjoy the benefits of Chrome, and a customer that uses IE. Where it helped was we are using Reporting Services in certain pages. These pages did not include the frame to get the printing functionality of IE. Meanwhile, the rest of the application enjoyed the Chrome features, all looking as if itâ€™s in IE. (Note: this was an intranet web app)
Davey Brionâ€™s Introducing the â€˜Agathaâ€™ Project
What is Agatha ? Agatha is a new â€˜Response/Request Service Layerâ€™ RRSL. http://davybrion.com/blog/2009/11/requestresponse-service-layer-series/
These are the posts that this series consists of:
This is an open source project. He summarized a list of items in his concluding post.
Udi Dahan (NServiceBus) on Search and Messaging:
One question that I get asked about quite a bit with relation to messaging is about search. Isnâ€™t search inherently request/response? Doesnâ€™t it have to return immediately? Wouldnâ€™t messaging in this case hurt our performance?
Learn more about Search and Messaging â€“ as I lean toward SOA/EDM/ESB architecture, these are critical pieces to understand, in particular the Command/Query pattern:
See Udiâ€™s post on â€˜Command Query Separation and SOAâ€™.
Steve Sanderson on ‘Selective Unit Testing â€“ Costs and Benefits’
Here is a snippet to get you started:
So why am I writing this? Two reasons:
- Because I think we can go further and understand the underlying forces that make unit testing worthwhile (or not) for any given unit of code.
- Because a minority of developers still believes that they should aim for 100% unit test coverage, and that if they donâ€™t follow the TDD code-first process, then theyâ€™ve failed as a professional. Iâ€™m not satisfied with that view.