Geeks With Blogs

News

Len Smith's Facebook profile


nIgnuSharp.NET //len smith is a software developer in ann arbor, mi May 2009 Entries
Automocking and BDD style tests with NUnit
I’m currently using context/specification style tests. While I think frameworks like J.P.Boodhoo’s are beautiful, I prefer something that works with ReSharper, TD.NET and CI without extra hurdles. I also want something my team, with limited exposure to *Unit frameworks, can easily pick up. I’d prefer not to have the ceremony and misleading terminology of “Test” attributes, but its a trade-off I’m willing to make to more easily to integrate with team members and third party tools. I put my testing ......

Posted On Sunday, May 31, 2009 5:43 PM

NHibernate and jQuery slides and code from Chicago Code Camp
Here’re the code and slides from my talks on NHibernate and jQuery. And some links mentioned during my talks: NHibernate: NHibernate Documentation NHibernate Mailing List NHibernate in Action NHForge NHibernate Dimecasts Summer of NHibernate NHProf ActiveWriter (for codgenning mappings) jQuery: jQuery UI Next version of my jQuery slideshow RubyMine jQuery Plugin Repository ......

Posted On Sunday, May 31, 2009 4:46 PM

Converting HQL to NHibernate LINQ
I was playing around with converting some HQL and Criteria queries to LINQ, and the result is pretty slick:All I had to do was reference NHibernate.Linq and I went from: public IList<Stay> GetCurrentStays() { string hql = @"FROM Stay WHERE CheckinDate <= :now AND (CheckoutDate IS NULL OR CheckoutDate >= :now)"; var query = getQuery(hql); query.SetDateTime("now", DateTime.Now); return query.List<Stay>(); } to: public IList<Stay> GetCurrentStays() { var query = from stay in ......

Posted On Thursday, May 28, 2009 5:46 PM

Speaking at Chicago Code Camp – May 30th
This Saturday I’ll be speaking at Chicago Code Camp which to my initial dismay is not actually in Chicago but an hour or so north. This is probably best since I’ll feel less nerdy for talking about technology all weekend instead of checking out the city. I’ll be giving two presentation: jQuery Magic Get Rolling with NHibernate If you haven’t signed up yet, there’s still time ......

Posted On Wednesday, May 27, 2009 1:24 PM

Creating software in two days: GiveCamp Retrospective Part 1
At Lansing GiveCamp I was chosen to lead a team tasked with creating a guest registration system for Ronald McDonald House of Mid-Michigan. Ronald McDonald House wanted to get off their current system, paper, to streamline their processes and report on their data. The event started around 7:00PM on Friday and ended with 3:00PM on Sunday. That’s 44 hours. At first it seemed too simple and I wondered if Microsoft Access wouldn’t have been sufficient for their needs. That is until Jay Harris met with ......

Posted On Sunday, May 24, 2009 8:33 AM

Copyright © Len Smith | Powered by: GeeksWithBlogs.net