Scott Cate's WebLog

You just don't know what
you don't know.

community

frenz

my book(s)

my products

Florida.NET User Group a Success -- Thanks Dave Noderer

Last night I successfully presented the MVP (Model View Presenter) pattern for the Florida.NET User Group. Dave Noderer runs the group (or helps run the group) and was very hospitable for the few days I was in town. Thanks Dave for the transportation, and local resources/eateries/knowledge you provided. Good Times.

As for the presentation, I think it went very well. All the evaluations were glowing, and of the 60+ evals turned in, the vast majority we're 100% (5's in this case, on a 1-5 rating).

For all the attendees, here is the source code that we created last night.

http://www.ScottCate.com/Downloads/MiramarFAQ.zip

Attachment: MiramarFAQ.zip
Posted: Sep 13 2006, 03:32 AM by scott cate | with 6 comment(s)
Filed under: , ,

Comments

Renil said:

From where I can find the Database with this application?

# March 30, 2007 5:29 AM

scott cate said:

The database wasn't included, because it's a SQL express catalog.

The table schema was pretty simple. In fact if you open the dataset (xsd file). you'll see the schema layout, and should be able to reproduce it easily.

If anyone else asks, I'll produce a *.SQL file

-=- Scott Cate

# March 30, 2007 5:28 PM

Zeus said:

thanks for the code..how ever i have  a question. In your project you have some files auto generated by some tool i.e. default.aspx.designer.cs ....can you tell me how you did it ? which tool you used ? and whay you did that ?

thanksu

# April 4, 2007 10:19 AM

scott cate said:

When creating a new "webform" 3 files are created.

formName.aspx

formName.aspx.cs

formName.aspx.design.cs

These files were created automatically for me, because I'm using Visual Studio, and I've set up a "Web Application Project (WAP)". I think a standard Web Site, will not give you the added files.

Read more abotu WAP here, on Scott Guthrie's site.

http://weblogs.asp.net/scottgu/archive/2006/05/08/VS-2005-Web-Application-Project-V1.0-Released.aspx

# April 4, 2007 10:38 AM

user said:

I have been trying to pick up on MVP and doing some comparison with it and MVC.  I like your example because it is the design pattern in its simplest form.  However, in endeavours to learn more about MVP I noticed your example differs from others.  In your example you have a Win/Web <-> View <-> Presenter relationship.  Is not the Win/Web layer actually the View layer?  Should it be Win/Web(view) <-> Presenter <-> Model?  If not, would you be willing to elaborate on this for the sake of a person trying to better understand this pattern?

Thanks!

Some reference links I found: www.flickr.com/.../96462127

ameleta.spaces.live.com/.../cns!5F6316345A821420!163.entry

# July 17, 2007 9:07 AM

scott cate said:

Your description of Win/Web <-> View isn't accurate.

Win/Web Implements an Interface, which is the view. Then the view (the Win/Web form) get's passed into the presenter.

So this is a better description.

(Win/Web == View) <-> Presenter relationship

# July 17, 2007 12:43 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)