Blogs

News

Favorite Posts

ctodx

Discussions, news and rants from the CTO of Developer Express, Julian M Bucknall

Pedal to the metal implementing an MVP app

     

Mark sent me this link of a customer using CodeRush and Refactor! Pro to write an MVP (Model-View-Presenter) implementation of an e-mail viewer.

It's a long-ish screencast -- there's a lot of code and classes to cover -- but the presenter, Kim Major of Renaissance Computer Systems, really knows his CodeRush and Refactor! Pro well. Unfortunately the only audio is music (a hip version of a classical piece: Pachelbel's Canon and Gigue in D major) so there's no commentary, and, even though I knew and recognized the refactorings being used, I sometimes had to pause in order to recognize what just happened. In the end, you really got to see how the MVP pattern can help to structure and improve your design, especially when he switched from a hard-coded provider of emails to Outlook with a couple of code changes. Neat-o.

It's also a great example of how to use our IDE productivity tools to write code quickly and accurately. I must point out though that Kim is obviously working from a script. If you videoed me doing the same thing, I'd be more hesitant and slow as I worked out the design in my head as I typed on the keyboard. Nevertheless, it's a good screencast on how design patterns can improve your code (I was yelling at the screen "Make it an interface, dammit" when he did exactly that) and a screencast that neatly highlights our IDE tools.

Thanks to Kim and to Renaissance Computer Systems for the screencast.

Published Sep 25 2007, 04:29 PM by Julian Bucknall (DevExpress)
Technorati tags: screencast, CodeRush, Refactor
Bookmark and Share

Comments

 

Julian Bucknall (DevExpress) said:

It didn't take long for Mark to comment :)

community.devexpress.com/.../196000.aspx

Cheers, Julian

September 26, 2007 12:43 PM
 

.NET Geek said:

A couple of weeks ago I did a presentation on how I use CodeRush and Refactor! Pro to improve my coding

September 27, 2007 4:02 PM
 

Kim Major said:

September 27, 2007 4:06 PM

About Julian Bucknall (DevExpress)

Julian is the Chief Technology Officer at Developer Express. You can reach him directly at julianb@devexpress.com. You can also follow him on Twitter with the ID JMBucknall.
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.