<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: AJAX MVC (so to speak)</title>
	<link>http://www.phpied.com/ajax-mvc/</link>
	<description>Stoyan's blog about (x)html, ajax, bookmarklets, browsers, css, firebug, javascript, json, mdb2, mysql, pear, performance, php, phpbb, tools, yslow, yui, writing, music,... life and everything.</description>
	<pubDate>Mon, 12 May 2008 00:09:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: dishearten</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-64217</link>
		<pubDate>Sat, 19 Apr 2008 16:29:06 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-64217</guid>
					<description>Hi. Congratulations for your article very useful. But I have a question, Working with Object Oriented Programming, it is possible to retrieve objects from the server. Which is the best way to achieve (An example if possible).</description>
		<content:encoded><![CDATA[<p>Hi. Congratulations for your article very useful. But I have a question, Working with Object Oriented Programming, it is possible to retrieve objects from the server. Which is the best way to achieve (An example if possible).
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Justin</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-63827</link>
		<pubDate>Tue, 26 Feb 2008 07:30:56 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-63827</guid>
					<description>We're in the process of launching a true JavaScript MVC framework called ... what else but JavaScriptMVC ( http://javascriptmvc.com ).  It has everything you'd expect in an MVC framework:

Include - can include and compress files cross domain.

Model - Integrated Jester REST library.

Controller - Best in class event delegation library.  Function names are combination css selectors and event names. 

View - Integrated EJS library (embeddedjs.com)

And, we've got things like gears, history, and remote scripting integrated as well.</description>
		<content:encoded><![CDATA[<p>We're in the process of launching a true JavaScript MVC framework called &#8230; what else but JavaScriptMVC ( <a href='http://javascriptmvc.com' rel='nofollow'>http://javascriptmvc.com</a> ).  It has everything you'd expect in an MVC framework:</p>
<p>Include - can include and compress files cross domain.</p>
<p>Model - Integrated Jester REST library.</p>
<p>Controller - Best in class event delegation library.  Function names are combination css selectors and event names. </p>
<p>View - Integrated EJS library (embeddedjs.com)</p>
<p>And, we've got things like gears, history, and remote scripting integrated as well.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Sing Chyun</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-63218</link>
		<pubDate>Sat, 17 Nov 2007 02:21:37 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-63218</guid>
					<description>Hi,

Nice concepts you have here! Almost a year after your posting, there's a paper on using AJAX to implement the business controller:

http://wisdomofganesh.blogspot.com/2007/10/life-above-service-tier.html

And the corresponding discussion at The Server Side:

http://www.theserverside.com/news/thread.tss?thread_id=47213</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Nice concepts you have here! Almost a year after your posting, there's a paper on using AJAX to implement the business controller:</p>
<p><a href='http://wisdomofganesh.blogspot.com/2007/10/life-above-service-tier.html' rel='nofollow'>http://wisdomofganesh.blogspot.com/2007/10/life-above-service-tier.html</a></p>
<p>And the corresponding discussion at The Server Side:</p>
<p><a href='http://www.theserverside.com/news/thread.tss?thread_id=47213' rel='nofollow'>http://www.theserverside.com/news/thread.tss?thread_id=47213</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Nuntius</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-61780</link>
		<pubDate>Thu, 02 Aug 2007 22:22:21 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-61780</guid>
					<description>First of all thanks for the example it clears things up for me about how others are working with MVC. My criticism of this particular methodology would be that all of your 'module parts' are abstract. How do you manage them as one piece should you want to reuse the whole module? While I agree with the core part of the concept I am wondering about how difficult it would be to manage. 

I think my approach is more of a &quot;MVC Fusebox&quot;. In my scenario you operate on with the AJAX and &quot;business&quot; controller as an AJAX engine. Then when you drop in a module and make a menu reference it is live. I would be interested to hear your thoughts on this approach.</description>
		<content:encoded><![CDATA[<p>First of all thanks for the example it clears things up for me about how others are working with MVC. My criticism of this particular methodology would be that all of your 'module parts' are abstract. How do you manage them as one piece should you want to reuse the whole module? While I agree with the core part of the concept I am wondering about how difficult it would be to manage. </p>
<p>I think my approach is more of a "MVC Fusebox". In my scenario you operate on with the AJAX and "business" controller as an AJAX engine. Then when you drop in a module and make a menu reference it is live. I would be interested to hear your thoughts on this approach.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Le weblogue de SeB &#187; Archive du blog &#187; Appliquer le modèle MVC en Ajax</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-50156</link>
		<pubDate>Sat, 10 Mar 2007 23:46:53 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-50156</guid>
					<description>[...] Ajaxian vient de relater un article de PHPied sur la mise en application du modèle MVC avec Ajax. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Ajaxian vient de relater un article de PHPied sur la mise en application du modèle MVC avec Ajax. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: phpied.com &#187; Blog Archive &#187; AJAX-MCV in Russian</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-49120</link>
		<pubDate>Thu, 01 Feb 2007 01:11:46 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-49120</guid>
					<description>[...] Boris of http://www.ajaxplanet.ru/ has translated my article on the little AJAX/MVC framework I came up with, this is trully flattering, thanks a lot! [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Boris of <a href='http://www.ajaxplanet.ru/' rel='nofollow'>http://www.ajaxplanet.ru/</a> has translated my article on the little AJAX/MVC framework I came up with, this is trully flattering, thanks a lot! [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: MezZzeR</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-48969</link>
		<pubDate>Thu, 25 Jan 2007 07:33:53 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-48969</guid>
					<description>While your solution for outputting the resultset may seem simple, here's a far more elegant and simplistic solution:

&lt;pre style=&quot;font-weight: normal&quot;&gt;

var str = &quot;&amp;#60;table&amp;#62;&quot;;

for (var i in data)
{
    str += &quot;&amp;#60;tr&amp;#62;&amp;#60;td&amp;#62;&quot; + data[i] + &quot;&amp;#60;/td&amp;#62;&amp;#60;/tr&amp;#62;&quot;;
}

str += &quot;&amp;#60;/tr&amp;#62;&quot;;

var contentPanel = document.getElementById('content');
contentPanel.innerHTML = str.toString();
&lt;/pre&gt;

If your business module were to return an actual result set from the database, you can easily retrieve the row's column value by doing this: data[i].columnName.

Here's a practical example:

&lt;pre style=&quot;font-weight: normal&quot;&gt;
/*
OUTPUT OF TABLE
——————————–
id &amp;#124; last name &amp;#124; first name &amp;#124;
——————————–
1 &amp;#124; smith &amp;#124; john
2 &amp;#124; sisko &amp;#124; benjamin
3 &amp;#124; janeway &amp;#124; katherine
*/
var str = &quot;&amp;#60;table&amp;#62;&amp;#60;tr&amp;#62;&amp;#60;td&amp;#62;id&amp;#60;/td&amp;#62;&amp;#60;td&amp;#62;last name&amp;#60;/td&amp;#62;&amp;#60;td&amp;#62;first name&amp;#60;/td&amp;#62;&amp;#60;/tr&amp;#62;&quot;;

for (var i in data)
{
    str += &quot;&amp;#60;tr&amp;#62;&amp;#60;td&amp;#62;&quot; + data[i].id + &quot;&amp;#60;/td&amp;#62;&amp;#60;td&amp;#62;&quot; + data[i].lastName + &quot;&amp;#60;/td&amp;#62;&amp;#60;td&amp;#62;&quot; + data[i].firstName + &quot;&amp;#60;/td&amp;#62;&amp;#60;/tr&amp;#62;&quot;;
}

str += &quot;&amp;#60;/table&amp;#62;&quot;;

var contentPanel = document.getElementById('content');
contentPanel.innerHTML = str.toString();
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>While your solution for outputting the resultset may seem simple, here's a far more elegant and simplistic solution:</p>
<pre style="font-weight: normal">

var str = "&lt;table&gt;";

for (var i in data)
{
    str += "&lt;tr&gt;&lt;td&gt;" + data[i] + "&lt;/td&gt;&lt;/tr&gt;";
}

str += "&lt;/tr&gt;";

var contentPanel = document.getElementById('content');
contentPanel.innerHTML = str.toString();
</pre>
<p>If your business module were to return an actual result set from the database, you can easily retrieve the row's column value by doing this: data[i].columnName.</p>
<p>Here's a practical example:</p>
<pre style="font-weight: normal">
/*
OUTPUT OF TABLE
——————————–
id | last name | first name |
——————————–
1 | smith | john
2 | sisko | benjamin
3 | janeway | katherine
*/
var str = "&lt;table&gt;&lt;tr&gt;&lt;td&gt;id&lt;/td&gt;&lt;td&gt;last name&lt;/td&gt;&lt;td&gt;first name&lt;/td&gt;&lt;/tr&gt;";

for (var i in data)
{
    str += "&lt;tr&gt;&lt;td&gt;" + data[i].id + "&lt;/td&gt;&lt;td&gt;" + data[i].lastName + "&lt;/td&gt;&lt;td&gt;" + data[i].firstName + "&lt;/td&gt;&lt;/tr&gt;";
}

str += "&lt;/table&gt;";

var contentPanel = document.getElementById('content');
contentPanel.innerHTML = str.toString();
</pre>
]]></content:encoded>
				</item>
	<item>
		<title>by: AJAX MVC &#124; DISEÑO WEB</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-39417</link>
		<pubDate>Wed, 22 Nov 2006 18:26:42 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-39417</guid>
					<description>[...] Buscando, buscando, he encontrado éste artículo de phpied.com. La solución que propone es interesante, pero como él mismo dice es una mera prueba de concepto. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Buscando, buscando, he encontrado éste artículo de phpied.com. La solución que propone es interesante, pero como él mismo dice es una mera prueba de concepto. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Stoyan</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-16263</link>
		<pubDate>Thu, 05 Oct 2006 16:16:26 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-16263</guid>
					<description>Well, it's not too special, but I like it myself ;)

(Russian dating spam deleted. I got soo much spam comments, I deleted the spam about 20 hours ago and now I had 258 comments held for moderation and probably 50 that made it through the filters. Damn!)</description>
		<content:encoded><![CDATA[<p>Well, it's not too special, but I like it myself <img src='http://www.phpied.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>(Russian dating spam deleted. I got soo much spam comments, I deleted the spam about 20 hours ago and now I had 258 comments held for moderation and probably 50 that made it through the filters. Damn!)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Amy Stephen</title>
		<link>http://www.phpied.com/ajax-mvc/#comment-16255</link>
		<pubDate>Thu, 05 Oct 2006 15:51:42 +0000</pubDate>
		<guid>http://www.phpied.com/ajax-mvc/#comment-16255</guid>
					<description>Stoyan - the only thing I understand on this whole page is the &quot;russian dating&quot; spam right above me. I'll have to return and print this out and study. It looks wonderfully geeky!</description>
		<content:encoded><![CDATA[<p>Stoyan - the only thing I understand on this whole page is the "russian dating" spam right above me. I'll have to return and print this out and study. It looks wonderfully geeky!
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
