• Home
  • About
  • BestBloggingIdeas
  • DotNetLearningSource
  • FORUM
  • Joblinks
  • Latest News
  • Policy
  • POSTS
  • SimplySqlServer.Com && SimplyAspDotNet.Com
  • Sitemap

Join Ours Forum

Asp.Net,C#,Ajax,Sql server,silverlight,Javascript codes exambles articles,Programming exambles

RSS Feed
  • Bounty Huge Roll [Amazon Frustration-Free Packaging]
  • XML Introduction to XML VHS Video Training, 1 hr., 32 minutes.
  • The Basic Overview of Windows Mobile Development Asp.Net C#
  • Overview of Sql server extended properties Asp.Net C#
  • How to Use Sql Server Extended properties using visual studio Asp.Net C#
  • Adobe Dreamweaver Templates Accelerate Web Development
  • Top Tips for Web Design Projects
  • How to Achieve a Good Web Design Structure
  • To Use Or Not To Use Website Templates
  • Five Tips to a Successful Website
  • Top 10 Articles,


    Silverlight Datagrid Select Update Delete Insert Asp.Net C#

    Differences Similarities Benefits Between Typed Datasets and Untyped Datasets asp.net c#

    Linq to Sql Introduction Entities Ado.Net C# SqlClasses Attributes Linq Mapping

    Linq Programming/How Linq Works?/Linq Implementation In Asp.Net C# Ado.Net

    Performing Developing Using Investigating Asp.Net 2.0 Ajax Application Development Asp.Net C#

    Hosting/Install Wcf Services in a Windows Service Asp.Net C#

    Connecting Silverlight to Wcf Asp.Net C#

    Silverlight Data Grid Data Binding WCF Asp.Net C#

    Invoking/Accessing/Calling WCF Service Without Adding/Creating Proxy/Reference Asp.Net C#

    Performing Doing Creating Insert Update Delete sql data Using Linq Database Asp.Net C#

    Overview of MVC architecture MVC advantages and using in asp.net c#

    Posted by on July 28, 2010 Leave a comment (2) Go to comments

    Introduction:
    In this article,i am going explain about the architecture of model-view-pattern,
    and how we can use this pattern in asp.net applications.

    Main:

    Why MVC?

    Model-view-controller, or MVC in short, is a design pattern used in software engineering.
    The main purpose of this design pattern is to isolate business logic from the user interface,
    in order to focus on better maintainability, testability, and a cleaner structure to the application.

    The MVC pattern consists of three key parts: the model, the controller, and the view.

    Model

    The model consists of some encapsulated data along with its processing logic, and is
    isolated from the manipulation logic, which is encapsulated in the controller. The presentation logic
    is located in the view component.

    The model object knows all of the data that needs to be displayed. It can also define some operations
    that manipulate this encapsulated data. It knows absolutely nothing about the graphical user interface—it
    has no clue about how to display data or respond to actions that occur in the GUI. An example of a model
    would be a calculator. A calculator contains data (a numeric value), some methods to manipulate this data
    (add, subtract, multiply, and divide), and a method to retrieve the current value from this model.

    View

    The view object refers to the model. It uses read-only methods of the model to query and retrieve data.
    It can look like an HTML page, a Windows GUI, or even the LED display of a physical calculator. In our
    example of the calculator, the view is the display of the calculator, which receives model data (the
    current calculation result) from the controller.

    Controller

    The controller object is the interaction glue of the model and the view. It knows that
    the model expects actions such as add, subtract, multiply, and divide, and also knows that the GUI will
    send some events that may require these operations to be called. In the calculator example, clicking on
    the “+” button on the view will trigger the controller to call the add method on the model and re-render
    the view with the data updated if necessary.

    we can say controler simply controlling the user actions,

    mvc
    Main Advantages while comparing asp.net web forms,

    Complexity of application logic is made easier to manage because of the separation of an application into model, view, and controller.

    It allows for easier parallel development; each developer can work on a separate component of the MVC pattern.

    It provides good support for TDD, mocking, and unit testing frameworks. TDD enables you to write tests for an application first,
    after which the application logic is developed. TDD, mocking, and unit testing,

    It does not use ViewState or server-based forms, which allows you to have full control over the application’s behavior and HTML markup.

    It uses RESTful interfaces for URLs, which is better for SEO (Search Engine Optimization). REST is short for REpresentational State Transfer—the concept of using URLs as the link to a resource, which can be a controller action method, rather than to physical files on the web server.

    A typical page size is small, because no unnecessary data is transferred in the form of hidden ViewState data.

    It integrates easily with client-side JavaScript frameworks such as jQuery or ExtJS.

    Conclusion:
    Hope this helps,
    Happy coding.

    ASP.NET
    ← creating menus using xaml wpf asp.net c# silverlight navigation
    creating/first asp.net mvc web application c# asp.net model view pattern →

    Learn Easily Using Video Tutorials


    How to choose the right Java IDE – explained Eclipse NetBeans BlueJ

    Developing/Creating/Performing/Configuring Java Applications Using Eclipse IDE

    Step By Step Guide for Download/Install Configure Eclipse IDE for Java

    Editing data with the GridView control Asp.Net C#

    Registering/Configuring Web Controls globally in web.config file asp.net c#

    Registering/Configuring Web Controls globally in web.config file asp.net c#

    Best way to prepare asp.net Interview - Success Stories

    Download Important Questions and PPT's:

    Sql Server Important Questions Online free download

    Dotnet Important Questions Online free download

    Exploring Linq to Sql Process Flow

    Learn how to perform silverlight programming

    Learn OOPs concepts in better and well manner

    Learn Ajax in better and well manner

    Leave a comment

    2 Comments.

    1. Titus Pinckard July 29, 2010 at 9:54 pm

      Excellent content. Thanks for posting.

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    *

    *


    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Trackbacks and Pingbacks:

    • Overview of MVC architecture MVC advantages and using in asp.net … » WB Tips - Pingback on 2010/07/29/ 15:45

    Enter your email address:

    Delivered by FeedBurner

    • Recent Posts

      • Bounty Huge Roll [Amazon Frustration-Free Packaging]
      • XML Introduction to XML VHS Video Training, 1 hr., 32 minutes.
      • The Basic Overview of Windows Mobile Development Asp.Net C#
      • Overview of Sql server extended properties Asp.Net C#
      • How to Use Sql Server Extended properties using visual studio Asp.Net C#
    • Search by Tags!

      Application AspNet Basic between Black Bluetooth Build Business Collection Consultants Design Development Downloading effective Excel Experts Generics Implement Installing Interview Logic Management Microsoft Minutes Object Outlook Professional Programmer Programming Project Projects Questions Ready Select Server Services Silverlight Source Strings Studio Through using Visual Website Wordpress
    • Archives

      • August 2011
      • June 2011
      • May 2011
      • April 2011
      • March 2011
      • February 2011
      • December 2010
      • November 2010
      • October 2010
      • September 2010
      • August 2010
      • July 2010
      • June 2010
      • May 2010
      • April 2010
      • March 2010
      • February 2010
      • January 2010
      • December 2009
      • November 2009
      • October 2009
      • September 2009

    Copyright © 2012 NetProgrammingHelp.com

    Δ Top