Model-View-Presenter Pattern - input validation

Discussion in 'ASP .Net Security' started by George Washington, Oct 21, 2009.

  1. To all,

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

    Sincerely,

    George Washington
    George Washington, Oct 21, 2009
    #1
    1. Advertising

  2. George Washington

    Lars-Erik Guest

    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
    Lars-Erik, Oct 22, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff Rush
    Replies:
    0
    Views:
    213
    Jeff Rush
    Oct 11, 2006
  2. Replies:
    0
    Views:
    1,167
  3. Piotr Nowak

    Model View Presenter ?

    Piotr Nowak, Jul 9, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    457
    Eliyahu Goldin
    Jul 9, 2007
  4. Jeff
    Replies:
    4
    Views:
    379
  5. Ryan Davis
    Replies:
    3
    Views:
    80
    Gregory Brown
    Jan 17, 2007
Loading...

Share This Page