Click here to Skip to main content
15,894,630 members
Articles / Programming Languages / C#

View, View Controller, Model Controller, Model (VVCMCM) Pattern

Rate me:
Please Sign up or sign in to vote.
3.00/5 (1 vote)
18 Mar 2012CPOL11 min read 18.7K   200   16  
The MVC Pattern was first conceptualized assuming all the three actors were present at one place. Since Web Applications have both a client and a server this needs to be applied differently without technology bias.
//attach the controller
$(document).ready(function()
{
    //attach Search Event handler
    $('button#btnSearch').click(EntityViewController.Search);
    
    //attach Search Post Event handler
    $('button#btnPostSearch').click(EntityViewController.SearchByPost);



});

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)


Written By
Architect Riversand Technologies Inc
India India
Head of Engineering at Riversand Technologies Inc.

Comments and Discussions