Monday, November 22, 2010

Finding the Team with MVC

Our new MVC based stats engine was lacking some basic functionality. Pagination! Yes something so simple was missing. But not much longer.

Our app maintains over 150,000 racing stats ranging from 1955 to 2010 and covering some 5,000 races. So when it comes to finding a driver or an owner to update their bio or head-shot was, well painful. On the LAN it would take Firefox about three minutes to load. That's awful, pitiful, not unacceptable for any cutting-edge application. Why was it this way. Two reasons, short staffed and behind schedule.

That's the past, today is the now. With the help of Michael Ceranski's post on Phonebook Style Paging in ASP.NET MVC I was able to apply code necessary to make the app race. Now we're loading some 4,000 active drivers in just a split second, but now it's done via a typical 0-9 A-Z paging system.

My only changes from Michael were adding the numerical selections. It's quick, easy, and the perfect solution to my needs.

No comments:

Post a Comment