<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Programming Ideas, Logics, Tips and Tricks &#187; client</title>
	<atom:link href="http://www.sajithmr.me/tag/client/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sajithmr.me</link>
	<description></description>
	<lastBuildDate>Sat, 07 Apr 2012 16:30:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>XAJAX</title>
		<link>http://www.sajithmr.me/xajax</link>
		<comments>http://www.sajithmr.me/xajax#comments</comments>
		<pubDate>Wed, 03 Jun 2009 16:00:24 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[php source code]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[call]]></category>
		<category><![CDATA[capitalize]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[xajax]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/?p=432</guid>
		<description><![CDATA[Basically using xajax &#8220;You can directly call php functions from your javascript code&#8221; Xajax will do the rest.  For example, if you are going to write a javascript function Capitalize which captilaze your textbox content when you press a button. Here is the pure html/javascript code for that: ============================================= &#60;script&#62; function Capitalize() {      [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://xajaxproject.org/" target="_blank"><img class="alignnone size-medium wp-image-433" title="xajax_logo" src="http://www.sajithmr.com/wp-content/uploads/2009/06/xajax_logo-300x179.png" alt="" width="300" height="179" /></a></p>
<p>Basically using xajax &#8220;You can directly call php functions from your javascript code&#8221;</p>
<p>Xajax will do the rest. </p>
<p>For example, if you are going to write a javascript function Capitalize which captilaze your textbox content when you press a button.</p>
<p>Here is the pure html/javascript code for that:</p>
<p>=============================================</p>
<p><strong><span style="color: #99cc00;">&lt;script&gt;</span></strong></p>
<p><span> </span><strong>function</strong> Capitalize()</p>
<p><span> </span>{</p>
<p>      var t = document.getElementById(&#8216;cap&#8217;).value;</p>
<p>      document.getElementById(&#8216;update&#8217;).innerHTML = t.toUpperCase() ;</p>
<p><span> </span>}</p>
<p><span style="color: #99cc00;"><strong>&lt;/script&gt;</strong></span></p>
<p> </p>
<p><span style="color: #0000ff;">&lt;input type=&#8221;text&#8221; id=&#8221;cap&#8221; name=&#8221;cap&#8221; /&gt;</span></p>
<p><span style="color: #0000ff;">&lt;input type=&#8221;button&#8221; id=&#8221;capbutton&#8221; value=&#8221;Capitalize&#8221; onclick=&#8221;Capitalize()&#8221; /&gt;</span></p>
<p><span style="color: #0000ff;">&lt;div id=&#8221;update&#8221;&gt;&lt;/div&gt;</span></p>
<p>==============================================</p>
<p>Now see the difference when we use xajax, we can write this Capitalize function in php code and can call from javascript.</p>
<p><strong>function</strong> Capitalize($value)</p>
<p>{</p>
<p>    $objResponse = new xajaxResponse();</p>
<p>    $objResponse-&gt;assign(&#8220;update&#8221;,&#8221;innerHTML&#8221;,strtoupper($value));</p>
<p>    return $objResponse;</p>
<p><span> </span></p>
<p>}</p>
<p>and you can call from your button&#8217;s onclick function:</p>
<p><span style="color: #ff6600;"> onclick=&#8221;xajax_Capitalize(document.getElementById(&#8216;cap&#8217;).value)&#8221; </span></p>
<p>Here the same functionality we moved from client to server. Thus the point is you can simply call all the functions you written in php (Server Side) from javascript code via onClick, onMouseOver or window.onLoad etc.</p>
<p>You can get the full source code of Capitalize example here:</p>
<p><a href="http://www.sajithmr.com/downloads/capitalize.zip">http://www.sajithmr.com/downloads/capitalize.zip</a></p>
<p>To download and for documentation go: </p>
<p><a href="http://xajaxproject.org/">http://xajaxproject.org/</a></p>
<p>Thanks</p>
<p>Sajith</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/xajax/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Project Team &#8211; Funny Quotes</title>
		<link>http://www.sajithmr.me/the-project-team-funny-quotes</link>
		<comments>http://www.sajithmr.me/the-project-team-funny-quotes#comments</comments>
		<pubDate>Sun, 30 Nov 2008 14:28:21 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[forward]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[marketting]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[quality]]></category>
		<category><![CDATA[tester]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/?p=377</guid>
		<description><![CDATA[Recently some quotes struck my mind from a forwared email. It is basically , i think, 100% true , even though described in as a  funny way. See: Project Manager is a Person who thinks nine Women can deliver a baby in One month Developer is a Person who thinks it will take 18 months [...]]]></description>
			<content:encoded><![CDATA[<p>Recently some quotes struck my mind from a forwared email. It is basically , i think, 100% true , even though described in as a  funny way.</p>
<p>See:</p>
<ol>
<li><strong>Project Manager</strong> is a Person who thinks nine Women can deliver a baby<br />
in One  month</li>
<li><strong>Developer</strong> is a Person who thinks it will take 18 months to deliver a Baby.</li>
<li><strong>Onsite Coordinator </strong>is one who thinks single Woman can deliver nine<br />
babies in  one month</li>
<li><strong>Client</strong> is the one who doesn`t know why he wants a baby</li>
<li><strong>Marketing Manager</strong> is a person who thinks he can deliver a baby even<br />
if no  <span id="lw_1228054037_0">man  and woman</span> are available</li>
<li><strong>Resource Optimization Team</strong> thinks they don`t Need a man or<br />
woman;They`ll  produce a child with zero resources</li>
<li><strong>Documentation Team</strong> thinks they don`t care whether the child is<br />
delivered,  they`ll just document 9 months.</li>
<li><strong>Quality <span id="lw_1228054037_1">Auditor</span> </strong> is the person who is never happy with the PROCESS to<br />
produce a baby.And  lastly&#8230;&#8230;</li>
<li><strong>Tester </strong>is a person who always tells his wife that this is not the Right baby</li>
</ol>
<p><span style="color: #c0c0c0;"><em>Courtesy: Some Forwared Email</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/the-project-team-funny-quotes/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

