<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>itlivewire dev blog &#187; mvc</title>
	<atom:link href="http://itlivewire.com/devblog/tag/mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://itlivewire.com/devblog</link>
	<description>Just another web development blog...</description>
	<lastBuildDate>Mon, 23 Jan 2012 17:55:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MVC Model View Controller</title>
		<link>http://itlivewire.com/devblog/2008/06/20/mvc-model-view-controller/</link>
		<comments>http://itlivewire.com/devblog/2008/06/20/mvc-model-view-controller/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 18:00:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://itlivewire.com/devblog/?p=3</guid>
		<description><![CDATA[The main aim of the MVC architecture is to separate the business logic and application data from the presentation data to the user. Reasons why we should use the MVC design pattern. They are resuable : When the problems recurs, there is no need to invent a new solution, we just have to follow the [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #000080;">The main aim of the MVC architecture  is to separate the business logic and application data from the presentation data to the user.</span></p>
<p><span style="color: #000080;">Reasons why we should use the MVC design pattern.</span></p>
<ol>
<li><span style="color: #000080;">They are <strong>resuable</strong> : When the problems recurs,     there is no need to invent a new solution, we just have to follow the     pattern and adapt it as necessary.</span></li>
<li><span style="color: #000080;">They are <strong>expressive</strong>: By using the MVC design     pattern our application becomes more expressive.
<p></span><br />
<span style="color: #000080;">1).Â  <strong>Model:</strong> The model object knows about all the data that need to be displayed. It is model who is aware about all the operations that can be applied to transform that object. It only represents the data of an application. The model represents enterprise data and the business rules that govern access to and updates of this data. Model is not aware about the presentation data and how that data will be displayed to the browser. </span><br />
<span style="color: #000080;">2). <strong> View :</strong> The view represents the presentation of the application. The view object refers to the model. It uses the query methods of the model to obtain the contents and renders it. The view is not dependent on the application logic. It remains same if there is any modification in the business logic. In other words, we can say that it is the responsibility of the of the view&#8217;s to maintain the consistency in its presentation when the model changes. </span><br />
<span style="color: #000080;">3). <strong>Controller:</strong> Whenever the user sends a request for something then it always go through the controller. The controller is responsible for intercepting the requests from view and passes it to the model for the appropriate action. After the action has been taken on the data, the controller is responsible for directing the appropriate view to the user. InÂ  GUIs, the views and the controllers often work very closely together.</span></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://itlivewire.com/devblog/2008/06/20/mvc-model-view-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

