<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns="http://my.netscape.com/rdf/simple/0.9/">
<channel>
    <title>Eduzine©</title>
    <link>http://eduzine.edujini-labs.com/</link>
    <description>Articles from Edujini Team</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:" />

    <image rdf:resource="http://www.edujini-labs.com/images/newmasthead.gif" />

    <items>
      <rdf:Seq>
        <rdf:li resource="http://eduzine.edujini-labs.com/archives/39-guid.html" />
</rdf:Seq>
    </items>
</channel>

<image rdf:about="http://www.edujini-labs.com/images/newmasthead.gif">
        <url>http://www.edujini-labs.com/images/newmasthead.gif</url>
        <title>RSS: Eduzine© - Articles from Edujini Team</title>
        <link>http://eduzine.edujini-labs.com/</link>
        <width></width>
        <height></height>
    </image>
<item rdf:about="http://eduzine.edujini-labs.com/archives/39-guid.html">
    <title>Model View Controller for Android</title>
    <link>http://eduzine.edujini-labs.com/archives/39-Model-View-Controller-for-Android.html</link>
    <description>

&lt;p&gt;This weekend, Gaurav released his initial implementation of the MVC pattern for Android at &lt;a href=&quot;http://blogs.mastergaurav.com/2010/08/14/model-view-controller-mvc-for-android/&quot; target=&quot;_blank&quot;&gt;http://blogs.mastergaurav.com/2010/08/14/model-view-controller-mvc-for-android/&lt;/a&gt;. This opens up several possibilities for anybody looking to create an application on Android.&lt;/p&gt; 
&lt;p&gt;The implementation, even though is an initial early push, 
has a robust infrastructure. Here's an initial analysis and outline of 
the implementation:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The implementation, 
quite similar in nature to Struts (and he's inspired by Struts for the 
same), has a front controller and implements Command Pattern.&lt;/li&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://android-mvc.git.sourceforge.net/git/gitweb.cgi?p=android-mvc/android-mvc;a=blob_plain;f=android-mvc/codebase/eclipse/src/com/mastergaurav/android/mvc/controller/Controller.java;hb=8b0b074&quot;&gt;Controller&lt;/a&gt; is implemented as &lt;a target=&quot;_blank&quot; href=&quot;http://developer.android.com/reference/android/app/Application.html&quot;&gt;Application&lt;/a&gt; specialization that does all housekeeping.&lt;/li&gt;&lt;li&gt;Command is modeled using &lt;a target=&quot;_blank&quot; href=&quot;http://android-mvc.git.sourceforge.net/git/gitweb.cgi?p=android-mvc/android-mvc;a=blob_plain;f=android-mvc/codebase/eclipse/src/com/mastergaurav/android/mvc/command/ICommand.java;hb=8b0b074&quot;&gt;ICommand&lt;/a&gt;
 interface. Noting that a large part of the commands will be network, 
database, file-system or related operations that may take a long time to
 complete, it provides response using callback listener for asynchronous
 implementation&lt;/li&gt;&lt;li&gt;All commands are managed using &lt;a target=&quot;_blank&quot; href=&quot;http://android-mvc.git.sourceforge.net/git/gitweb.cgi?p=android-mvc/android-mvc;a=blob_plain;f=android-mvc/codebase/eclipse/src/com/mastergaurav/android/mvc/command/CommandQueueManager.java;hb=8b0b074&quot;&gt;CommandQueueManager&lt;/a&gt; which internally is managed using a simplified &lt;a href=&quot;http://android-mvc.git.sourceforge.net/git/gitweb.cgi?p=android-mvc/android-mvc;a=blob_plain;f=android-mvc/codebase/eclipse/src/com/mastergaurav/android/mvc/command/ThreadPool.java;hb=8b0b074&quot; target=&quot;_blank&quot;&gt;ThreadPool&lt;/a&gt; of &lt;a href=&quot;http://android-mvc.git.sourceforge.net/git/gitweb.cgi?p=android-mvc/android-mvc;a=blob_plain;f=android-mvc/codebase/eclipse/src/com/mastergaurav/android/mvc/command/CommandThread.java;hb=8b0b074&quot; target=&quot;_blank&quot;&gt;CommandThread&lt;/a&gt; instances.&lt;br /&gt;
&lt;/li&gt;&lt;li&gt;The public interface of interacting with this complex infrastructure is &lt;a href=&quot;http://android-mvc.git.sourceforge.net/git/gitweb.cgi?p=android-mvc/android-mvc;a=blob_plain;f=android-mvc/codebase/eclipse/src/com/mastergaurav/android/mvc/command/CommandExecutor.java;hb=8b0b074&quot; target=&quot;_blank&quot;&gt;CommandExecutor&lt;/a&gt;, internally made use of by the Controller.&lt;/li&gt;&lt;li&gt;Modeling request, response and listeners are available in the package &lt;a href=&quot;http://android-mvc.git.sourceforge.net/git/gitweb.cgi?p=android-mvc/android-mvc;a=tree;f=android-mvc/codebase/eclipse/src/com/mastergaurav/android/mvc/common;h=56ab2edff67b4514860e3850d3895446b7ea5cbf;hb=8b0b074&quot; target=&quot;_blank&quot;&gt;com.mastergaurav.android.mvc.common&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;To keep developer use extensible, input-commands and output-activities, they are purely numeric in nature.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Keep a close watch on the project... holds good potential!&lt;/p&gt;
    </description>
        <dc:publisher>Eduzine©</dc:publisher>
    <dc:creator>gvaish@edujini.com (Eduzine)</dc:creator>
    <dc:subject>Android</dc:subject>
    <dc:date>2010-08-15T20:22:27Z</dc:date>
    <wfw:comment>http://eduzine.edujini-labs.com/wfwcomment.php?cid=39</wfw:comment>
    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://eduzine.edujini-labs.com/rss.php?version=1.0&amp;type=comments&amp;cid=39</wfw:commentRss>
</item>
</rdf:RDF>
