<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: WebConsole &#8211; Take command (line) with AJAX</title>
	<atom:link href="http://www.phpied.com/ajax-web-console/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/ajax-web-console/</link>
	<description>Stoyan&#039;s blog about &#60;a href=&#34;/category/xhtml&#34; class=&#34;tag-minor&#34;&#62;(x)html(5)&#60;/a&#62;, &#60;a href=&#34;/category/ajax&#34; class=&#34;tag-major&#34;&#62;ajax&#60;/a&#62;, &#60;a href=&#34;/category/bookmarklets&#34; class=&#34;tag-major&#34;&#62;bookmarklets&#60;/a&#62;, &#60;a href=&#34;/category/browsers&#34; class=&#34;tag-minor&#34;&#62;browsers&#60;/a&#62;, &#60;a href=&#34;/category/css&#34; class=&#34;tag-normal&#34;&#62;css&#60;/a&#62;, &#60;a href=&#34;/category/firebug&#34; class=&#34;tag-minor&#34;&#62;firebug&#60;/a&#62;, &#60;a href=&#34;/category/javascript&#34; class=&#34;tag-numero-uno&#34;&#62;javascript&#60;/a&#62;, &#60;a href=&#34;/category/json&#34; class=&#34;tag-normal&#34;&#62;json&#60;/a&#62;, &#60;a href=&#34;/category/mdb2&#34; class=&#34;tag-minor&#34;&#62;mdb2&#60;/a&#62;, &#60;a href=&#34;/category/mysql&#34; class=&#34;tag-normal&#34;&#62;mysql&#60;/a&#62;, &#60;a href=&#34;/category/pear&#34; class=&#34;tag-numero-uno&#34;&#62;pear&#60;/a&#62;, &#60;a href=&#34;/category/performance&#34; class=&#34;tag-major&#34;&#62;performance&#60;/a&#62;, &#60;a href=&#34;/category/php&#34; class=&#34;tag-numero-uno&#34;&#62;php&#60;/a&#62;, &#60;a href=&#34;/category/phpbb&#34; class=&#34;tag-major&#34;&#62;phpbb&#60;/a&#62;, &#60;a href=&#34;/category/tools&#34; class=&#34;tag-normal&#34;&#62;tools&#60;/a&#62;, &#60;a href=&#34;/category/yslow&#34; class=&#34;tag-minor&#34;&#62;yslow&#60;/a&#62;, &#60;a href=&#34;/category/yui&#34; class=&#34;tag-normal&#34;&#62;yui&#60;/a&#62;, &#60;a href=&#34;/category/writing&#34; class=&#34;tag-minor&#34;&#62;writing&#60;/a&#62;, &#60;a href=&#34;/category/music&#34; class=&#34;tag-major&#34;&#62;music&#60;/a&#62;,... &#60;a href=&#34;/category/life-and-everything&#34; class=&#34;tag-normal&#34;&#62;life and everything&#60;/a&#62;.</description>
	<lastBuildDate>Fri, 10 Feb 2012 22:15:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: 4 foot divan beds</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-75530</link>
		<dc:creator>4 foot divan beds</dc:creator>
		<pubDate>Sat, 08 Jan 2011 07:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-75530</guid>
		<description>i believe that that was actually interesting. Good put up!?-</description>
		<content:encoded><![CDATA[<p>i believe that that was actually interesting. Good put up!?-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-232</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Sat, 12 Nov 2005 12:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-232</guid>
		<description>Hi Stoyan,

This comment is just to let you know I&#039;ve transformed my PHP / xajax presentation into an extensive blog posting. It includes all examples with sourcecode that I used during the presentation. I&#039;m very interested in your comments!

You can get it all here:

http://www.i-marco.nl/weblog/archive/2005/11/12/easy_ajax_for_the_masses_with_

Cheers!

Marco</description>
		<content:encoded><![CDATA[<p>Hi Stoyan,</p>
<p>This comment is just to let you know I&#8217;ve transformed my PHP / xajax presentation into an extensive blog posting. It includes all examples with sourcecode that I used during the presentation. I&#8217;m very interested in your comments!</p>
<p>You can get it all here:</p>
<p><a href="http://www.i-marco.nl/weblog/archive/2005/11/12/easy_ajax_for_the_masses_with_" rel="nofollow">http://www.i-marco.nl/weblog/archive/2005/11/12/easy_ajax_for_the_masses_with_</a></p>
<p>Cheers!</p>
<p>Marco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-229</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Tue, 08 Nov 2005 12:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-229</guid>
		<description>Hi Nirmal,
I&#039;ve never thought of passing extra parameters to the callback function, I assumed the responseText and responseXML would be enough. But you&#039;re right, it would be better if you could pass such parameters. I&#039;m afraid you&#039;ll have to modify my code to suit your purposes, as it currently doesn&#039;t support this.
You can probably use &quot;arguments&quot; variable to pass a dynamic number of parameters. I mean something like:
function test(){
    alert(arguments[0]);
}
test(1,2,3);

Another option is to add a forth parameter to makeHttpRequest that will be an array and just carry on this array in the call to the content function. The array would allow you to use as many parameters as you need.

In any event, check the second example in the article, because it&#039;s designed to be reusable. The first one that you quoted is more of a quick refresher. The second aims at making the request-making function (makeHttpRequest) agnostic of the content processing one (alertContents).</description>
		<content:encoded><![CDATA[<p>Hi Nirmal,<br />
I&#8217;ve never thought of passing extra parameters to the callback function, I assumed the responseText and responseXML would be enough. But you&#8217;re right, it would be better if you could pass such parameters. I&#8217;m afraid you&#8217;ll have to modify my code to suit your purposes, as it currently doesn&#8217;t support this.<br />
You can probably use &#8220;arguments&#8221; variable to pass a dynamic number of parameters. I mean something like:<br />
function test(){<br />
    alert(arguments[0]);<br />
}<br />
test(1,2,3);</p>
<p>Another option is to add a forth parameter to makeHttpRequest that will be an array and just carry on this array in the call to the content function. The array would allow you to use as many parameters as you need.</p>
<p>In any event, check the second example in the article, because it&#8217;s designed to be reusable. The first one that you quoted is more of a quick refresher. The second aims at making the request-making function (makeHttpRequest) agnostic of the content processing one (alertContents).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nirmal Kumar Shukla</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-228</link>
		<dc:creator>Nirmal Kumar Shukla</dc:creator>
		<pubDate>Tue, 08 Nov 2005 07:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-228</guid>
		<description>Hi Stoyan:
It is a very good work and to the point.
But i want to call alertContents in a slight different way.

http_request.onreadystatechange = alertContents; 

Does it allow to pass, some arguments to alertContents()
like:
function makeRequest(url,one,two,three) { 

       http_request.onreadystatechange = alertContents(one,two,three); 
       http_request.open(&#039;GET&#039;, url, true); 
       http_request.send(null); 

   } 

   function alertContents(one,two,three) { 
    //some processing with these arguments
    //one,two,three
 
   } 










</description>
		<content:encoded><![CDATA[<p>Hi Stoyan:<br />
It is a very good work and to the point.<br />
But i want to call alertContents in a slight different way.</p>
<p>http_request.onreadystatechange = alertContents; </p>
<p>Does it allow to pass, some arguments to alertContents()<br />
like:<br />
function makeRequest(url,one,two,three) { </p>
<p>       http_request.onreadystatechange = alertContents(one,two,three);<br />
       http_request.open(&#8216;GET&#8217;, url, true);<br />
       http_request.send(null); </p>
<p>   } </p>
<p>   function alertContents(one,two,three) {<br />
    //some processing with these arguments<br />
    //one,two,three</p>
<p>   }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-207</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Wed, 19 Oct 2005 02:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-207</guid>
		<description>If you allow me to quote Timon from my daughter&#039;s favourite Lion King:
&lt;blockquote&gt;that&#039;s crazy talk, crazy talk I&#039;m tellin ya...&lt;/blockquote&gt; ;)

I&#039;m sure you have more visitors than me, if you feel peeky and want to compare stats, visit this site with /stats appended to the domain name, I didn&#039;t bother to protect the stats for now.</description>
		<content:encoded><![CDATA[<p>If you allow me to quote Timon from my daughter&#8217;s favourite Lion King:</p>
<blockquote><p>that&#8217;s crazy talk, crazy talk I&#8217;m tellin ya&#8230;</p></blockquote>
<p> <img src='http://www.phpied.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I&#8217;m sure you have more visitors than me, if you feel peeky and want to compare stats, visit this site with /stats appended to the domain name, I didn&#8217;t bother to protect the stats for now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-205</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Tue, 18 Oct 2005 14:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-205</guid>
		<description>Well thanks Stoyan, I&#039;m flattered once again. You&#039;re one of the few I guess. I get so little visitors that I sometimes wonder why I&#039;m doing it at all!

I&#039;ll let you know when my examples are online!</description>
		<content:encoded><![CDATA[<p>Well thanks Stoyan, I&#8217;m flattered once again. You&#8217;re one of the few I guess. I get so little visitors that I sometimes wonder why I&#8217;m doing it at all!</p>
<p>I&#8217;ll let you know when my examples are online!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-204</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Tue, 18 Oct 2005 03:57:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-204</guid>
		<description>Woww, Marco, you&#039;ll have an AJAX/PHP talk, nice! Good luck with the presentation and I&#039;ll wait for after the talk when you find the time to translate it in English.
(And yeah, with the risk of repeating myself, your blog &lt;em&gt;is&lt;/em&gt; a piece of art!)

Sathish, it&#039;s true it&#039;s a very dynamic area, good luck in your learning and experimenting and have fun ;)</description>
		<content:encoded><![CDATA[<p>Woww, Marco, you&#8217;ll have an AJAX/PHP talk, nice! Good luck with the presentation and I&#8217;ll wait for after the talk when you find the time to translate it in English.<br />
(And yeah, with the risk of repeating myself, your blog <em>is</em> a piece of art!)</p>
<p>Sathish, it&#8217;s true it&#8217;s a very dynamic area, good luck in your learning and experimenting and have fun <img src='http://www.phpied.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sathish</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-201</link>
		<dc:creator>sathish</dc:creator>
		<pubDate>Mon, 17 Oct 2005 13:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-201</guid>
		<description>I am very eagar to learn to this new technology it vety interest one 
it veryt fast and dynamic
</description>
		<content:encoded><![CDATA[<p>I am very eagar to learn to this new technology it vety interest one<br />
it veryt fast and dynamic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-200</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Sun, 16 Oct 2005 19:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-200</guid>
		<description>I haven&#039;t seen the PEAR package yet to be honest. Will check it out!
However I did check out some other things and actually fiddled with it. I tried &lt;a href=&quot;http://prototype.conio.net/&quot; rel=&quot;nofollow&quot;&gt;Prototype.js&lt;/a&gt; which is pure javascript but very powerful and easy to use with PHP. The live search and instant comment-previews on my blog were done with it. (they do need some tweaking though). I did the hardened-trackback thingy on my blog with the raw XmlHttpRequest object. It&#039;s all not that hard really but like I said, writing Javascript is a debugging hell and therefore too time consuming in my opinion.

If you haven&#039;t seen it you should really try &lt;a href=&quot;http://xajax.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;xajax&lt;/a&gt;. It&#039;s the best available library for PHPers in my opinion. This weekend I prepared a presentation on Ajax and PHP which I&#039;ll deliver at a PHP conference November 10. I created all examples using xajax because of it&#039;s PHP-mindedness and it&#039;s extreme ease of use. It&#039;s completely OO too! 

After November 10 I&#039;ll translate the whole presentation into English and make a lenghty post on my blog showcasing the four demo&#039;s I created. If you&#039;re interested in seeing what I did somewhat earlier feel free to leave me a mail. I just don&#039;t want to post it before the keynote that&#039;s all ;) </description>
		<content:encoded><![CDATA[<p>I haven&#8217;t seen the PEAR package yet to be honest. Will check it out!<br />
However I did check out some other things and actually fiddled with it. I tried <a href="http://prototype.conio.net/" rel="nofollow">Prototype.js</a> which is pure javascript but very powerful and easy to use with PHP. The live search and instant comment-previews on my blog were done with it. (they do need some tweaking though). I did the hardened-trackback thingy on my blog with the raw XmlHttpRequest object. It&#8217;s all not that hard really but like I said, writing Javascript is a debugging hell and therefore too time consuming in my opinion.</p>
<p>If you haven&#8217;t seen it you should really try <a href="http://xajax.sourceforge.net/" rel="nofollow">xajax</a>. It&#8217;s the best available library for PHPers in my opinion. This weekend I prepared a presentation on Ajax and PHP which I&#8217;ll deliver at a PHP conference November 10. I created all examples using xajax because of it&#8217;s PHP-mindedness and it&#8217;s extreme ease of use. It&#8217;s completely OO too! </p>
<p>After November 10 I&#8217;ll translate the whole presentation into English and make a lenghty post on my blog showcasing the four demo&#8217;s I created. If you&#8217;re interested in seeing what I did somewhat earlier feel free to leave me a mail. I just don&#8217;t want to post it before the keynote that&#8217;s all <img src='http://www.phpied.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/ajax-web-console/#comment-199</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Sun, 16 Oct 2005 19:07:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/take-command-with-ajax/#comment-199</guid>
		<description>Hey Marco, thanks!

Well, I&#039;m not quite sure what your question was. If you&#039;re asking about the different AJAX libraries, I haven&#039;t really fiddled with any of them, so I have no first-hand experience, seems like you know much more than I do. I was curious about the way the XMLHTTP request works (who wasn&#039;t? after Gmail ;)), so I looked at the very basics.

Speaking of AJAX libs, have you looked at the PEAR package - &lt;a href=&quot;http://pear.php.net/package/HTML_AJAX&quot; rel=&quot;nofollow&quot;&gt;HTML_Ajax&lt;/a&gt;? I&#039;d be interested to hear your opinion.
</description>
		<content:encoded><![CDATA[<p>Hey Marco, thanks!</p>
<p>Well, I&#8217;m not quite sure what your question was. If you&#8217;re asking about the different AJAX libraries, I haven&#8217;t really fiddled with any of them, so I have no first-hand experience, seems like you know much more than I do. I was curious about the way the XMLHTTP request works (who wasn&#8217;t? after Gmail <img src='http://www.phpied.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ), so I looked at the very basics.</p>
<p>Speaking of AJAX libs, have you looked at the PEAR package &#8211; <a href="http://pear.php.net/package/HTML_AJAX" rel="nofollow">HTML_Ajax</a>? I&#8217;d be interested to hear your opinion.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

