Click here to Skip to main content
12,077,731 members (48,738 online)
Click here to Skip to main content

Tagged as

Stats

149.7K views
2.4K downloads
118 bookmarked
Posted

Differences between MVC and MVP for Beginners

, 23 Nov 2011 CPOL
This article aims to describe MVC and MVP in simple terms
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace MVPTester
{
    public abstract class ModelBase
    {
        public abstract void Save(string username, string email);
        public abstract string Get(string username);
        public abstract bool ValidateEmail(string email);
        public abstract bool IsEntryExisting(string username);
       
        public event EventHandler ModelChanged;

        protected void Fire_ModelChanged(object sender, EventArgs e)
        {

            ModelChanged(sender, e);
        }

        
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

John T.Emmatty
Software Developer (Senior) WEPA
India India
My aim is to write articles in plain English without any convoluted or periphrastic statements.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.160212.1 | Last Updated 23 Nov 2011
Article Copyright 2011 by John T.Emmatty
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid