Blog Moved ....

ScottCate.com

community

frenz

my book(s)

my products

Dear PhillyDotNet.org attendees,

Congratulations on being part of such a great local community. What a great group you have going! I had a great time with my presentation last night, and form the feedback I got, everyone seemed to enjoy it.

For the code. If you were one of about 20 people who stayed after and asked questions. You saw me add a data grid to the Web Project, and bind it against an the database using the MVP pattern. If you didn't stay then the code is very simple. I created a new Presenter named RetrieveFaqListPresenter, and a new Interface Contract called IRetrieveFaqlistView. Now the Web page we created implements both of those interfaces, and has a data grid on it.

After I got back to my hotel, I made another simple change. Since now we have two presenters going to the database, they both shouldn't be calling the same code, so the Presentation project has a new Singleton object, called FaqHelper, who has the simple job of fetching data.

If you're interested in getting to the next step, I challenge you to redo this presentation in your own typing, and if you're feeling up to it, create a windows form with a grid, that binds to our new View/Presenter.

The code we created in the demo, and that I slightly modified after is available here.

Also, in the root of this zip file, is a .sql file that will let you create the FAQ table we were working with.

For those that were lucky enough to win software licenses, I have to ship your emails off to the vendors, and I usually give them a week turn around.

Thank you so much for having me – you have a really great user group, and a great facility for the group, and great group leadership.

Comments

Mike Cullina said:

Bill Wolff does a great job with the group.  Rob Keiser and others do a fine job helping.

The presentation was outstanding - with regard to both delivery and content.

thanks very much,

Mike Cullina

# January 18, 2007 4:15 PM

Todd Davis said:

Thanks for the great presentation Scott. While the model you presented is something we already follow, I still managed to pick up a few things of value, such as the use and purpose of the "readonly" keyword in C#, and a clearer way to define what an interface and a delegate are.

I appreciate the time spent helping others, when it would have been much easier to stay in Arizona and not freeze your butt off!

# January 19, 2007 9:40 AM

Vinayak G said:

Hey Scott,

Thanks for the great presentation, it was one of the best I've attended.

You were excellent.

Vinayak

# January 21, 2007 5:36 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)