Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Model-View-Presenter Pattern - input validation

Reply
Thread Tools

Model-View-Presenter Pattern - input validation

 
 
George Washington
Guest
Posts: n/a
 
      10-21-2009
To all,

In your opinion, where should input validation be performed? In the view? In
the Presenter?

Sincerely,

George Washington
 
Reply With Quote
 
 
 
 
Lars-Erik
Guest
Posts: n/a
 
      10-22-2009
I'd say view and service or business layer.
By view I mean asp.net markup like validator controls.
The presenter presumably forwards events to service or business layer
methods which should always do validation anyway.

--
Lars-Erik


"George Washington" wrote:

> To all,
>
> In your opinion, where should input validation be performed? In the view? In
> the Presenter?
>
> Sincerely,
>
> George Washington

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ and design Pattern (Composite design Pattern ) Pallav singh C++ 0 01-22-2012 10:26 PM
C++ and design Pattern (Composite design Pattern ) Pallav singh C++ 0 01-22-2012 10:25 PM
May I have a example of design pattern of "composite", I still feel fuzzy after reading book of Addison-Wesley's"design pattern " jones9413@yahoo.com C++ 1 08-31-2007 04:09 AM
documents related to factory design pattern and Abstract foctory pattern. sunny C++ 1 12-07-2006 04:26 AM
boolean endsWith(String s, Pattern pattern) lepikhin@gmail.com Java 17 11-16-2005 10:31 AM



Advertisments