Happy Friday to you Iâ€™m looking forward to my employerâ€™s (Strategic Data Systems) Christmas party tommorow night. Itâ€™s always a fun time.
SquareUp by Twitter
Here is a description:
The Square hardware is a small, inexpensive card reader that plugs into the audio jack of a compatible device, including a mobile phone (it’s starting with the iPhone and currently has job postings up for BlackBerry and Android engineers). It processes credit card payments, geotags their locations on a map, and e-mails a receipt to the buyer.
I think itâ€™s a great idea â€“ pretty cool stuff.
Visual NHibernate Beta
At first I thought this might be â€˜freeâ€™ But itâ€™s not. However, I must say, itâ€™s looking very nice. Based on some NH google lists the developer(s) are very responsive to adding features and bug fixes. That was good to see. One of the â€˜complaintsâ€™ that I hear sometimes about NHibernate (vs. like EF, L2S, or commercial ORMs) is that itâ€™s complex to get up and running if your not familiar with how mapping files, etcâ€¦ work. So Visual NHibernate provides a visual designer and mapping tool for creating and editing NHibernate projects.
Ryan Cromwell – Castle Windsor
Not sure if I blogged on this before (yeahâ€¦ I know I can searchâ€¦) but I really like working with Castle Windsorâ€™s Inversion of control container. Ryan Cromwell (fellow contractor at Strategic Data Systems) provides a couple of good blog posts on itâ€™s usage. I was recently asked about factory facility for Windsor, and I was able to refer that person to Ryanâ€™s post (see â€˜Injecting WCF Channel as Dependency..â€™ below)
Strategy Pattern with Castle Windsor (he includes a sample project â€“ thanks Ryan!)
Injecting a WCF Channel as Dependency via Windsor â€“ this shows off the Factory facility for Windsor.
By the way â€“ a plug for Ryan: He is our TFS specialist and can help setup, provide guidance, etcâ€¦ for TFS. If your looking for someone to do that for you â€“ he is definitely the man to get! I should add, he is a heck of a WPF programmer as well â€“ he does some really fine work!
MVC Turbine â€“ Plugin for ASP.NET MVC
MVC Turbine is a plugin for ASP.NET MVC that has IoC baked in and auto-wires controllers, binders, view engines, http modules, etc. that reside within your application. Thus you worry more about what your application should do, rather than how it should do it.
This is very good to see from my perspective. One of the features I really enjoyed while experimenting with Grails was how easy it was to have everything injected under the covers without needing to get into the weeds (in Grails case â€“ Spring). MVC Turbine offers this same functionality for the ASP.NET MVC programming.
Turbine is not exclusive to a particular IoC container. Here is a feature list:
- Visual Studio 2008 Solution Templates for IoCs
- Castle Windsor
- New runtime framework that allows extensibility
- Blades (components) that are auto-registered and loaded at runtime.
- Introduced the Core Blades to setup the basic runtime of an MVC application:
- MvcBlade — wiring for MVC related components (Controllers, View Engines, etc).
- WebBlade — wiring for System.Web components (IHttpModule, etc.).
- RoutingBlade — wiring for the IRouteConfigurator implementation.
- RotorContext that works with the Blades to setup the runtime.
- Auto-registration of View Engines (VE)
- Auto-registratrion of MVC Filters to support constructor injection.
- Added new InjectableFilter attribute to associate a filter to an action.
- Added support for IActionFilter, IAuthorizationFilter, IErrorFilter and IResultFilter
- InferredViewResult handles inferred actions and reports HTTP 404 for missing actions.
- Works with ASP.NET MVC in Mono
Service Orientation Requires Data Orientation
More and more the conversations are around SOA. This one article at InfoQ stuck out to me regarding â€˜service dataâ€™
Most of todayâ€™s SOA literature and implementations concentrate on defining business aligned services and rarely discuss the role and impact enterprise data has in the context of SOA
How to Uninstall â€“ or make Message Stop loading up on Windows 7?
How to uninstall/remove Messenger on Windows 7 ? My dad just got a new computer with Windows 7. Anytime he starts it up, it wants him to sign in to Messenger. He doesnâ€™t use Messenger, and doesnâ€™t want to use Messenger.
What I find irritating is there isnâ€™t any â€˜donâ€™t show this on startupâ€™ or â€˜turn this offâ€™ within the Messenger pop-up. At best you have to go out to the internet and start looking for hacks or ways to turn this off.
Microsoft â€“ I donâ€™t mind if you want to promote your own chat program in your OS, but please be kind enough to make it easy to turn off for non-computer expert users.
Caliburn SL Nav Walkthrough/Intro
Iâ€™ve blogged in the past regarding â€˜Caliburnâ€™ by Rob Eisenberg. Just a reminder:
Designed to aid in the development of WPF and Silverlight applications, Caliburn implements a variety of UI patterns for solving real-world problems. Patterns that are enabled by the framework include MVC, MVP, Presentation Model (MVVM), Commands and Application Controller.
Rob is in the process of â€˜releasing various starter kits/samples for Caliburnâ€™. His first sample just recently released is :
Using jQuery to Scroll Just in Time for Paging Records..like Bing
Rob Conery blogs about using jQuery to scroll down a list of records with â€˜just in time scrollingâ€™ for paging. Pretty cool â€“ I have seen this feature used in different application. I suspect this will become the defacto standard in paging lists. Check out his how to here.
Quote of the day… ‘Don’t work offline’. Iâ€™ll keep the source of that quote unnamed, but I did think it was rather funny. I hope TFS improves itâ€™s offline capabilities. This is very reminiscent of Visual SourceSafe â€“ which I really didnâ€™t like much. SVN, Git, etcâ€¦ all have pretty good offline capabilities. While we are at it â€“ I do hope TFS also integrates with explorer so if you edit a file outside of studio that it picks it up. (Maybe you can, but I havenâ€™t seen it).
UPDATE Iâ€™ve been corrected that TFS does provide explorer integration with the TFS power tools.
(My only response thoughâ€¦ I was told this has been around since 2005â€¦ seems almost 5 years later this would be an installation option for TFS for Visual Studio ? Guess you just have â€˜knowâ€™ this is available – lol)
I am setting up my â€˜Googleâ€™ realm of Wave, Gmail, Docs, Reader, etcâ€¦ so farâ€¦ Iâ€™m loving it. Just recently I received an email with Excel spreadsheet. Opened it up in Gmail, which prompted to use Google docs ! Worked out great. And to share that document with my wife, I didnâ€™t have to forward that document around. Just share it exclusively to her. All stored up securely on the Google cloud.
I did notice in the Excel to Google Doc conversion that lookups arenâ€™t exactly the same, so it didnâ€™t properly convert the lookup lists. I hope they fix that. I really see the world approaching of using this approach more and more. With the cloud storage, feature rich word processor, spreadsheet and slide creation capabilityâ€¦ who needs an expensive desktop copy of Office!
Steveâ€™s Final â€˜Thoughts of the Dayâ€™ – (or rather â€˜Stirring the ORM Pot in the .NET worldâ€¦â€™)
Douglass Starnes has a series on different data model approaches with asp.net mvc, showing how to setup them up and use them.
In part II of the series he makes this comment:
In the ASP.NET MVC space I see three ORMs being used most commonly. By far the favorite outside of Microsoft is NHibernate. Inside of Microsoft there are two competing offerings: LINQ to SQL and Entity Framework.
This view/perspective – is it a correct one ? Is Microsoft competing against NHibernate OSS .NET projects created by it’s own community ? Or is Microsoft just giving more options ? Microsoft doesn’t need to include NHibernate in any of it’s products â€“ too many legal traps Iâ€™m sure. What if it didn’t create it’s own ORM and merely demo’d features using NHibernate in it’s examples ? I’m all for competition to make products better, but in this case, is MS having 2 ORM’s that are catching up in functionality, but still lagging behind NHibernate and other .NET ORM’s in the market a wise thing ? Is that how you see it ? I went to use EF in a project, but because it didn’t handle an ‘append only’ with ‘hilo’ id generation – and because it wasn’t poco based – where the entities are the domain objects – it was finally deemed impossible to use. Meanwhile, we prototyped NHibernate and were able to implement everything needed in the Legacy system. Personally, I want to pick the best of breed, not pick something just because of ‘who’ makes it.
I donâ€™t want to distract from his series, but that comment seems to be a prevailing one in the .net community. What I wonder is â€˜doesnâ€™t Microsoft understand that is how it will be perceivedâ€™ â€“ and if soâ€¦ is their position to outdo the products, or do they consider this a core piece of the .NET framework to provide ORM solutions ?
I keep pointing to jQuery and ASP.NET MVC â€“ they provide jQuery in the project templates for ASP.NET MVC. How does that compare to including NHibernate support â€“ or even just promoting it without including it ?
Personally I can think of 3 examples of where they could make a difference:
1. Provide a Linq provider just like they did for EF and L2S (yes, there are Nhibernate linq providers in work â€“ there is a basic one available now)
2. Provide a NHibernate DomainService out of the box for RIA.NET
3. Provide support for NHibernate out of the box for ADO.NET Data Services.
All three could be extensions that are referenced but included in each release.
Last thoughtâ€¦ I was told to just â€˜get something doneâ€™ basicallyâ€¦ hack it. No tests, no real design, just get it done now. Do you think that is ok ? How does that compare to craftsmanship ? I donâ€™t think I have to craft the perfect 100% solution, but how it gets built â€“ ie. with a test, with some design/OO principles in place â€“ shouldnâ€™t we push back a bit to not just create â€˜junkâ€™ ? I am noticing this trend in many industries. Just â€˜build the carâ€™, doesnâ€™t have to last, we need it cheap and now to compete. At what point does quality matter ? How would you feel if the rollercoaster your going to ride is built with that mentality? Or the bridge ? Or the airplane ? Or how about the breaks on your car? Why isnâ€™t software engineers able to defend their craft in these situations ? I guess itâ€™s all about the $$$ ? There is â€˜agileâ€™ â€¦ then there is â€˜craftsmanshipâ€™â€¦
Well, that is enough for the day â€“ everyone have a great weekend!