<?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>BLOGS@DiGiTSS</title>
	<atom:link href="http://blogs.digitss.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.digitss.com</link>
	<description>DiGiTSS Team&#039;s Programming experience with PHP, MySQL, Ajax, Javascript, jQuery, C# and Microsoft technologies</description>
	<lastBuildDate>Sat, 13 Aug 2011 06:26:51 +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>Implementing Quick Table Search using jQuery filter</title>
		<link>http://blogs.digitss.com/javascript/jquery-javascript/implementing-quick-table-search-using-jquery-filter/</link>
		<comments>http://blogs.digitss.com/javascript/jquery-javascript/implementing-quick-table-search-using-jquery-filter/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 05:35:38 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=619</guid>
		<description><![CDATA[Before sometime I had written a post on jQuery case-insensitive expression filter. Now today we will learn about how to put simple filter for our HTML table using jQuery and it's case-insensitive expression.]]></description>
			<content:encoded><![CDATA[<p>Before sometime I had written a post on <a href="http://blogs.digitss.com/javascript/jquery-javascript/jquery-case-insensitive-contains-expression/" target="_blank">jQuery case-insensitive expression</a> filter. Now today we will learn about how to put simple filter for our <em>HTML table</em> using <strong>jQuery</strong> and it's <em>case-insensitive expression</em>.</p>
<p>It's takes just few lines of Javascript / jQuery code to implement quick filter for an HTML table, here you go:</p>
<p><strong>The HTML</strong></p>
<pre>&nbsp;
&lt;label for=&quot;kwd_search&quot;&gt;Search:&lt;/label&gt;
&lt;input type=&quot;text&quot; id=&quot;kwd_search&quot; value=&quot;&quot;/&gt;
&lt;table id=&quot;my-table&quot; border=&quot;1&quot; style=&quot;border-collapse:collapse&quot;&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Sports&lt;/th&gt;
&lt;th&gt;Country&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Sachin Tendulkar&lt;/td&gt;
&lt;td&gt;Cricket&lt;/td&gt;
&lt;td&gt;India&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tiger Woods&lt;/td&gt;
&lt;td&gt;Golf&lt;/td&gt;
&lt;td&gt;USA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maria Sharapova&lt;/td&gt;
&lt;td&gt;Tennis&lt;/td&gt;
&lt;td&gt;Russia&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&nbsp;</pre>
<p><span id="more-619"></span><br />
<strong>The Javascript</strong></p>
<pre class="javascript">&nbsp;
<span style="color: #009900; font-style: italic;">// When document is ready: this gets fired before body onload &lt;img src='http://blogs.digitss.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /&gt;</span>
$<span style="color: #66cc66;">&#40;</span>document<span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">ready</span><span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
	<span style="color: #009900; font-style: italic;">// Write on keyup event of keyword input element</span>
	$<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;#kwd_search&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">keyup</span><span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		<span style="color: #009900; font-style: italic;">// When value of the input is not blank</span>
		<span style="color: #000066; font-weight: bold;">if</span><span style="color: #66cc66;">&#40;</span> $<span style="color: #66cc66;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">val</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> != <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #009900; font-style: italic;">// Show only matching TR, hide rest of them</span>
			$<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;#my-table tbody&gt;tr&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">hide</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			$<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;#my-table td:contains-ci('&quot;</span> + $<span style="color: #66cc66;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">val</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> + <span style="color: #3366CC;">&quot;')&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">parent</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;tr&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #000066; font-weight: bold;">else</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #009900; font-style: italic;">// When there is no input or clean again, show everything back</span>
			$<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;#my-table tbody&gt;tr&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #009900; font-style: italic;">// jQuery expression for case-insensitive filter</span>
$.<span style="color: #006600;">extend</span><span style="color: #66cc66;">&#40;</span>$.<span style="color: #006600;">expr</span><span style="color: #66cc66;">&#91;</span><span style="color: #3366CC;">&quot;:&quot;</span><span style="color: #66cc66;">&#93;</span>,
<span style="color: #66cc66;">&#123;</span>
    <span style="color: #3366CC;">&quot;contains-ci&quot;</span>: <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>elem, i, match, array<span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #66cc66;">&#40;</span>elem.<span style="color: #006600;">textContent</span> || elem.<span style="color: #006600;">innerText</span> || $<span style="color: #66cc66;">&#40;</span>elem<span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">text</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> || <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">toLowerCase</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">indexOf</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>match<span style="color: #66cc66;">&#91;</span><span style="color: #CC0000;">3</span><span style="color: #66cc66;">&#93;</span> || <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">toLowerCase</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> &gt;= <span style="color: #CC0000;">0</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;</pre>
<p>That's all it takes to put a quick filter using <strong>jQuery</strong>, see a <a title="jQuery quick filter for HTML Table" href="http://blogs.digitss.com/demo/jquery-table-search.html" target="_blank">live working demo here</a>.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/javascript/jquery-javascript/jquery-case-insensitive-contains-expression/" rel="bookmark" title="April 20, 2011">jQuery case-insensitive Contains Expression..!</a></li>
<li><a href="http://blogs.digitss.com/javascript/jquery-javascript/jquery-fancy-custom-radio-and-checkbox/" rel="bookmark" title="April 8, 2010">jQuery Fancy Custom Radio-button and Checkbox</a></li>
<li><a href="http://blogs.digitss.com/javascript/jquery-tablesorter-plugin-a-friend-in-need/" rel="bookmark" title="February 28, 2008">jQuery tablesorter plugin &#8211; a friend in need&#8230;</a></li>
<li><a href="http://blogs.digitss.com/technology/hacking-jquery-thickbox/" rel="bookmark" title="April 27, 2008">Hacking jQuery Thickbox..!</a></li>
<li><a href="http://blogs.digitss.com/programming/printing-data-table-vertically-why-and-how/" rel="bookmark" title="January 3, 2011">Printing data table vertically..! Why? and How?</a></li>
</ul>
<p><!-- Similar Posts took 6.419 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/javascript/jquery-javascript/implementing-quick-table-search-using-jquery-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google launched new +1 Button</title>
		<link>http://blogs.digitss.com/news/google-launched-new-1-button/</link>
		<comments>http://blogs.digitss.com/news/google-launched-new-1-button/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 18:38:06 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=611</guid>
		<description><![CDATA[Google has answered Facebook with their newest product in the shelf "Google +1 Button". With this new +1 Button your visitors can promote article, blog post, website or product on your website by simply clicking and +1 Button.]]></description>
			<content:encoded><![CDATA[<div id="attachment_612" class="wp-caption alignleft" style="width: 74px"><strong><a href="http://blogs.digitss.com/wp-content/uploads/2011/06/icon.png"><img class="size-full wp-image-612" title="Google +1 Button" src="http://blogs.digitss.com/wp-content/uploads/2011/06/icon.png" alt="Google +1 Button" width="64" height="54" /></a></strong><p class="wp-caption-text">+1 Button</p></div>
<p><strong>Google</strong> has answered <strong>Facebook</strong> with their newest product in the shelf "<a title="The Google +1 Button" href="http://www.google.com/+1/button/" target="_blank"><strong>Google +1 Button</strong></a>". With this new +1 Button your visitors can promote article, blog post, website or product on your website by simply clicking and +1 Button.</p>
<p><strong>Google's +1 Button</strong> is more important and will beat <strong>Facebook Like</strong> in popularity because it will influence the search result and yes that makes a difference, big time. If you own a website for your personal blog, product or anything and being in search result is important for you, than don't wait to put "this" button on your website. Since it's launch I have seen lot of implementations.</p>
<p>To vote <strong>+1 up</strong>, user or visitor just need a Google profile/account, a standard one. Till date when I am writing this some of the Google Apps users are not able to use this feature but I am sure it will change in future as Google will migrate them and make all products available to them. For now you might get an error like "<em>Oops... you need a Google profile to use this feature.Google Profiles is not available for your organization.</em>"</p>
<p>Placing a <strong>Google +1 Button</strong> on website is very simple and easy and there are not 2 ways like Facebook had either go for iFrame version of JS and markup. Just include JS and place a &lt;g:plusone&gt;&lt;/g:plusone&gt; and that's it you're done. There are choice for button size too, so you can choose one which fits your website design and spacing. Refer <a title="Add +1 to your pages to help your site stand out " href="http://www.google.com/webmasters/+1/button/" target="_blank">Google +1 for Webmasters</a> to get started. I am sure no webmaster can afford to dislike +1 Button.</p>
<p>It's kind of Google Friend Connect but not exactly, influence on search results and it's appearance in search result makes the difference. It also shows up all +1d links on a users profile in a separate tab.</p>
<p>Checkout this video to understand Google +1 Button in more detail:<br />
<object style="height: 390px; width: 640px;"><param name="movie" value="http://www.youtube.com/v/OAyUNI3_V2c?version=3" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed type="application/x-shockwave-flash" width="640" height="390" src="http://www.youtube.com/v/OAyUNI3_V2c?version=3" allowfullscreen="true" allowscriptaccess="always"></embed></object><br />
and yes don't forget to +1d Blogs@DiGiTSS if you like our posts. <img src='http://blogs.digitss.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/news/facebook-launches-registration-tool/" rel="bookmark" title="December 17, 2010">Facebook launches Registration Tool</a></li>
<li><a href="http://blogs.digitss.com/news/google-updates-google-apps-maximum-number-of-users-for-standardfree-edition/" rel="bookmark" title="April 29, 2011">Google updates Google App&#8217;s maximum number of users for Standard/Free Edition</a></li>
<li><a href="http://blogs.digitss.com/news/google-vs-content-farms-and-spammers/" rel="bookmark" title="April 1, 2011">Google vs Content Farms and Spammers</a></li>
<li><a href="http://blogs.digitss.com/news/goo-gl-url-shortener-from-google/" rel="bookmark" title="October 16, 2010">goo.gl &#8211; URL Shortener from Google</a></li>
<li><a href="http://blogs.digitss.com/news/google-caffeine-the-new-search-engine-index/" rel="bookmark" title="September 20, 2010">Google Caffeine: The new Search engine index</a></li>
</ul>
<p><!-- Similar Posts took 62.354 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/news/google-launched-new-1-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t wait for Good News to get out and make the positive wave..!</title>
		<link>http://blogs.digitss.com/business/dont-wait-for-good-news-to-get-out-and-make-the-positive-wave/</link>
		<comments>http://blogs.digitss.com/business/dont-wait-for-good-news-to-get-out-and-make-the-positive-wave/#comments</comments>
		<pubDate>Sun, 08 May 2011 19:09:19 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=607</guid>
		<description><![CDATA[If you (your organization/company) have good news about your product, clients using the product or any other good and positive news which can impact positively on your brand image or your sales and ultimately the bottom line one should try and do a press-release asap.

And you should not stop just by releasing press-notes, put that on your home page with highlights, write a blog post, update on social media channels and make a good positive wave.]]></description>
			<content:encoded><![CDATA[<div id="attachment_608" class="wp-caption alignleft" style="width: 207px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/05/good-news.jpg"><img class="size-full wp-image-608" title="Get the Good News out sooner" src="http://blogs.digitss.com/wp-content/uploads/2011/05/good-news.jpg" alt="Get the Good News out sooner" width="197" height="255" /></a><p class="wp-caption-text">Get the Good News out sooner</p></div>
<p>If you (your organization/company) have good news about your product, clients using the product or any other good and positive news which can impact positively on your brand image or your sales and ultimately the bottom line one should try and do a press-release asap.</p>
<p>And you should not stop just by releasing press-notes, put that on your home page with highlights, write a blog post, update on social media channels and make a good positive wave.</p>
<p>I have observed sometimes we try to perfect the word going out, including marketing materials or the way we want to push that on websites. But it should not take long time because as the time passes it may loose the value and even if not value you might already have lose a customer just because that news/update was not on the website and it would have made a positive impact on the perspective buyer.</p>
<p>Assume that you have got some certification or achieved some milestone with your product which is highly recognized (in your domain or industry) and you're taking some time (due to the process of getting things/materials approved from people who are busy with their own things). Now here with delay of each day you possibly are loosing your perspective buyers for which that news would have mattered to change their decision in your favor. <img src='http://blogs.digitss.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-607"></span></p>
<p>For example: if designing a flash banner with flashy content and pictures takes time, get it out with just some colorful text on your product/company's website. It would help you get the things going and for those buyers to whom that news (read some milestone/feature or certification) is important, it does not matter whether it's flashy presentation or just a colored text.</p>
<p>When there is a "<strong>Good News</strong>", just let it go. Don't wait to prepare it to the perfection, just do it whatever you can do now.! later on no one is going to stop you and replace current with the better or best you have prepared after efforts of few days.</p>
<p>Basically now a days for IT, ITES and Tech or non-IT business their website plays important role and so one should preferably get designed in a way (I mean it should be built on top of <strong>CMS</strong> - <em>Content Management System</em>) that, it can be updated by management/marketing people without knowing much about it's internals.</p>
<p>This post is outcome of what I learned from one of the indecent happened in my current organization. What's your thought on this? Did you experienced anything? Your thoughts are welcome as comments.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/news/google-launched-new-1-button/" rel="bookmark" title="June 9, 2011">Google launched new +1 Button</a></li>
<li><a href="http://blogs.digitss.com/business/hiring-a-ceo-vs-promoting-a-ceo/" rel="bookmark" title="May 25, 2009">Hiring a CEO vs Promoting a CEO</a></li>
<li><a href="http://blogs.digitss.com/business/7-things-you-must-know-about-your-customer/" rel="bookmark" title="August 15, 2010">7 Things You Must Know About Your Customer</a></li>
<li><a href="http://blogs.digitss.com/blogging/why-blogging/" rel="bookmark" title="July 5, 2009">Why blogging?</a></li>
<li><a href="http://blogs.digitss.com/news/google-updates-google-apps-maximum-number-of-users-for-standardfree-edition/" rel="bookmark" title="April 29, 2011">Google updates Google App&#8217;s maximum number of users for Standard/Free Edition</a></li>
</ul>
<p><!-- Similar Posts took 11.789 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/business/dont-wait-for-good-news-to-get-out-and-make-the-positive-wave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google updates Google App&#8217;s maximum number of users for Standard/Free Edition</title>
		<link>http://blogs.digitss.com/news/google-updates-google-apps-maximum-number-of-users-for-standardfree-edition/</link>
		<comments>http://blogs.digitss.com/news/google-updates-google-apps-maximum-number-of-users-for-standardfree-edition/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 18:10:01 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=604</guid>
		<description><![CDATA[Today I have received an announcement from Google Apps team that maximum # of users for Standard edition (which is free) has been reduced to 10. Previously that number was 50 (really generous), with which many businesses don't really need to go and buy the Premier Edition which would cost $50/year per user (email account). Especially when they really don't want to go for signing up SLA for up-time and all that.]]></description>
			<content:encoded><![CDATA[<div id="attachment_605" class="wp-caption alignleft" style="width: 221px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/04/google_apps.jpg"><img class="size-full wp-image-605" title="Google Apps" src="http://blogs.digitss.com/wp-content/uploads/2011/04/google_apps.jpg" alt="Google Apps" width="211" height="225" /></a><p class="wp-caption-text">Google Apps</p></div>
<p>Today I have received an announcement from <strong><a title="Google Apps Home" href="http://www.google.com/apps/intl/en/business/index.html" target="_blank">Google Apps</a></strong> team that maximum # of users for <strong>Standard edition</strong> (which is free) has been reduced to 10. Previously that number was 50 (really generous), with which many businesses don't really need to go and buy the <strong>Premier Edition</strong> which would cost $50/year per user (email account). Especially when they really don't want to go for signing up SLA for up-time and all that.</p>
<p>Now when <strong>Google</strong> has reduced back this # from 50 to 10, I am sure <strong>Google Apps</strong> will be big-time <em>earning son</em> (product) for <strong>Google</strong>. Because lot of businesses today are dependent on excellent set of tools provided by Google which includes <a title="Google Calendar" href="http://www.google.com/calendar" target="_blank"><strong>Google Calendar</strong></a> as <em>Scheduler/Reminder</em>, <a title="Google Docs" href="http://docs.google.com" target="_blank"><strong>Google Docs</strong></a> as an <em>Online Office Suite</em> which includes spreadsheet, drawing and presentation tools and <strong>Google Site</strong> with which one can build Company Intranet websites for various purpose.</p>
<p>Luckily for those who have signed up earlier they will be able to create more than 10 users, up to what Google has promised them.<span id="more-604"></span></p>
<p>Here is the copy of email we have received for the change in policy:</p>
<blockquote><p>Hello,</p>
<p>We recently announced upcoming changes to the maximum number of users  for Google Apps. We want to let you know that, as a current customer,  the <span style="text-decoration: underline;">changes will not affect you</span>.</p>
<p>As  of May 10, any organisation that signs up for a new account will be  required to use the paid Google Apps for Business product in order to  create more than 10 users. We honor our commitment to all existing  customers and will allow you to add more than 10 users to your account  for <a href="http://apps.digitss.com/" target="_blank">apps.digitss.com</a> at no additional charge, based on the limit in place when you joined us.</p>
<p>Sincerely,</p>
<p>The Google Apps Team</p>
<p>Email  preferences: You have received this mandatory email service  announcement to update you about important changes to your Google Apps  account.</p>
<p>Google Inc. | 1600 Amphitheatre Parkway | Mountain View, CA 94043</p>
<p>© 2011 Google Inc. Google and the Google logo are registered trademarks of Google Inc.</p>
</blockquote>
<p>Where you lucky enough to sign up before this policy change? <img src='http://blogs.digitss.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/news/google-launched-new-1-button/" rel="bookmark" title="June 9, 2011">Google launched new +1 Button</a></li>
<li><a href="http://blogs.digitss.com/news/google-vs-content-farms-and-spammers/" rel="bookmark" title="April 1, 2011">Google vs Content Farms and Spammers</a></li>
<li><a href="http://blogs.digitss.com/news/whats-new-with-iphone-os-4-0/" rel="bookmark" title="April 11, 2010">What&#8217;s new with iPhone OS 4.0</a></li>
<li><a href="http://blogs.digitss.com/news/goo-gl-url-shortener-from-google/" rel="bookmark" title="October 16, 2010">goo.gl &#8211; URL Shortener from Google</a></li>
<li><a href="http://blogs.digitss.com/news/google-adsense-v3-new-adsense-interface/" rel="bookmark" title="November 13, 2010">Google adsense v3 &#8211; new adsense interface</a></li>
</ul>
<p><!-- Similar Posts took 10.185 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/news/google-updates-google-apps-maximum-number-of-users-for-standardfree-edition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Truncate last N lines of a file using PHP</title>
		<link>http://blogs.digitss.com/php/truncate-last-n-lines-of-a-file-using-php/</link>
		<comments>http://blogs.digitss.com/php/truncate-last-n-lines-of-a-file-using-php/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 17:03:52 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=600</guid>
		<description><![CDATA[For one of my project I needed to remove certain footer / tail-end lines from the file to make it clean as it was containing some summary of records within the file. Because if I do that it can be directly loaded into database by LOAD DATA command. To remove lines from the end of file you can use following snippet of code:]]></description>
			<content:encoded><![CDATA[<p>For one of my project I needed to remove certain footer / tail-end lines from the large-file to make it clean as it was containing some summary of records within the file. Because if I do that it can be directly loaded into database by <a title="Export/Import CSV files with MySQL – No external tool required" href="http://blogs.digitss.com/database/mysql/export-import-csv-files-with-mysql-no-external-tool-required/" target="_blank">LOAD DATA</a> command.</p>
<p>Usually one can read file into an array using PHP's <strong>file</strong> function but that's okay when size of file is in few hundred KB, if your file-size is running in to few MB to few hundred MB we need to find and use some efficient way to play with them. Because with large file reading as an array we can (and certainly will) run into memory outage issue.</p>
<p>To remove lines from the end of file you can use following snippet of code:</p>
<pre class="php">&nbsp;
<span style="color: #808080; font-style: italic;">// Function to truncate last N lines from the file</span>
<span style="color: #000000; font-weight: bold;">function</span> truncate_last_n_lines_of_file<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$file</span>, <span style="color: #0000ff;">$lines_to_remove</span>, <span style="color: #0000ff;">$chunk</span> = <span style="color: #cc66cc;">1024</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">// Open file in read+write mode</span>
	<span style="color: #0000ff;">$handle</span> = @<a href="http://www.php.net/fopen"><span style="color: #000066;">fopen</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$file</span>, <span style="color: #ff0000;">&quot;a+&quot;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #0000ff;">$lines_found</span> = <a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
	<span style="color: #808080; font-style: italic;">// Check if it's a valid file handle</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$handle</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #808080; font-style: italic;">// size of file</span>
		<span style="color: #0000ff;">$max_length</span> = <span style="color: #0000ff;">$file_size</span> = <a href="http://www.php.net/filesize"><span style="color: #000066;">filesize</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$file</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/intval"><span style="color: #000066;">intval</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$file_size</span><span style="color: #66cc66;">&#41;</span> == PHP_INT_MAX<span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #0000ff;">$max_length</span> = PHP_INT_MAX;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #808080; font-style: italic;">// loop through file as long as we are not done with truncating required files</span>
		<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$length</span> = <span style="color: #cc66cc;">0</span>; <span style="color: #0000ff;">$length</span> &lt; <span style="color: #0000ff;">$max_length</span>; <span style="color: #0000ff;">$length</span> += <span style="color: #0000ff;">$chunk</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$max_length</span> - <span style="color: #0000ff;">$length</span><span style="color: #66cc66;">&#41;</span> &gt; <span style="color: #0000ff;">$chunk</span><span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#123;</span>
				<span style="color: #0000ff;">$seek_size</span> = <span style="color: #0000ff;">$chunk</span>;
			<span style="color: #66cc66;">&#125;</span>
			<span style="color: #b1b100;">else</span>
			<span style="color: #66cc66;">&#123;</span>
				<span style="color: #0000ff;">$seek_size</span> = <span style="color: #0000ff;">$max_length</span> - <span style="color: #0000ff;">$length</span>;
			<span style="color: #66cc66;">&#125;</span>
&nbsp;
			<span style="color: #808080; font-style: italic;">// read data in chunk</span>
			<a href="http://www.php.net/fseek"><span style="color: #000066;">fseek</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$handle</span>, <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$length</span> + <span style="color: #0000ff;">$seek_size</span><span style="color: #66cc66;">&#41;</span> * <span style="color: #cc66cc;">-1</span>, SEEK_END<span style="color: #66cc66;">&#41;</span>;
			<span style="color: #0000ff;">$data</span> = <a href="http://www.php.net/fread"><span style="color: #000066;">fread</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$handle</span>, <span style="color: #0000ff;">$seek_size</span><span style="color: #66cc66;">&#41;</span> . <span style="color: #0000ff;">$data</span>;
&nbsp;
			<span style="color: #808080; font-style: italic;">// Loop thorugh chunk to see if we are done with truncate</span>
			<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$i</span> = <span style="color: #0000ff;">$chunk</span>; <span style="color: #0000ff;">$i</span> &gt; <span style="color: #cc66cc;">0</span>; <span style="color: #0000ff;">$i</span>--<span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#123;</span>
				<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$data</span><span style="color: #66cc66;">&#91;</span><span style="color: #0000ff;">$i</span><span style="color: #cc66cc;">-1</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">&#41;</span>
				<span style="color: #66cc66;">&#123;</span>
					<span style="color: #0000ff;">$lines_found</span><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #0000ff;">$i</span>;
				<span style="color: #66cc66;">&#125;</span>
				<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/count"><span style="color: #000066;">count</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$lines_found</span><span style="color: #66cc66;">&#41;</span> == <span style="color: #0000ff;">$lines_to_remove</span><span style="color: #cc66cc;">+1</span><span style="color: #66cc66;">&#41;</span>
				<span style="color: #66cc66;">&#123;</span>
					<a href="http://www.php.net/ftruncate"><span style="color: #000066;">ftruncate</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$handle</span>, <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$max_length</span><span style="color: #66cc66;">&#41;</span> - <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$seek_size</span> - <span style="color: #0000ff;">$lines_found</span><span style="color: #66cc66;">&#91;</span><span style="color: #0000ff;">$lines_to_remove</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
					<span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">true</span>;
				<span style="color: #66cc66;">&#125;</span>
			<span style="color: #66cc66;">&#125;</span>
			<a href="http://www.php.net/fclose"><span style="color: #000066;">fclose</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$handle</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">false</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;</pre>
<p><span id="more-600"></span></p>
<p>How to use?</p>
<pre class="php"><span style="color: #808080; font-style: italic;">// To remove last 10 lines from the file</span>
truncate_last_n_lines_of_file<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./data.txt&quot;</span>, <span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span>;</pre>
<p>If you find this useful and come across some problem let me know or if you get a fix or do value addition, please add up as a comment.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/php/reading-mssql-blog-column-data-with-php/" rel="bookmark" title="April 1, 2011">Reading MSSQL BLOG column data with PHP</a></li>
<li><a href="http://blogs.digitss.com/programming/printing-data-table-vertically-why-and-how/" rel="bookmark" title="January 3, 2011">Printing data table vertically..! Why? and How?</a></li>
<li><a href="http://blogs.digitss.com/php/php-downloading-a-file-from-secure-website-https-using-curl/" rel="bookmark" title="October 25, 2008">PHP &#8211; Downloading a File from Secure website (https) using CURL</a></li>
<li><a href="http://blogs.digitss.com/php/php-performance-improvement-tips/" rel="bookmark" title="August 9, 2008">PHP: Performance Improvement Tips</a></li>
<li><a href="http://blogs.digitss.com/php/curl-php/posting-or-uploading-files-using-curl-with-php/" rel="bookmark" title="March 6, 2011">Posting or Uploading Files using cURL with PHP</a></li>
</ul>
<p><!-- Similar Posts took 9.822 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/php/truncate-last-n-lines-of-a-file-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple / Plain Ajax &#8211; without any JavaScript library</title>
		<link>http://blogs.digitss.com/javascript/simple-plain-ajax-without-any-javascript-library/</link>
		<comments>http://blogs.digitss.com/javascript/simple-plain-ajax-without-any-javascript-library/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 09:35:28 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=597</guid>
		<description><![CDATA[Yes, we are in the world of AJAX where we don't live without jQuery, Prototype or Mootools but when it comes to explaining someone that how raw ajax works, you need an example of plain AJAX which we have been using 5 years back when these libraries were either just born and were not as famous as today. Because my favorite jQuery has become a de facto standard when it comes to DOM manipulation or AJAX.

Recently I have to give an example to one of my friend on how raw AJAX works and here I am sharing that sample with my blog readers as a reference.]]></description>
			<content:encoded><![CDATA[<p>Yes, we are in the world of <strong>AJAX</strong> where we don't live without <strong>jQuery</strong>, <strong>Prototype</strong> or <strong>Mootool</strong>s but when it comes to explaining someone that how raw ajax works, you need an example of plain AJAX which we have been using 5 years back when these libraries were either just born and were not as famous as today. Because my favorite jQuery has become a <em>de facto standard</em> when it comes to <strong>DOM manipulation</strong> or <strong>AJAX</strong>.</p>
<p>Recently I have to give an example to one of my friend on <em>how raw AJAX works</em> and here I am sharing that sample with my blog readers as a reference.</p>
<p><span style="text-decoration: underline;"><strong>Raw AJAX Example</strong></span>:</p>
<p><strong><span style="text-decoration: underline;"><em>The Problem Statement</em></span></strong>: We want to SUM 2 values and we want to achieve that using server-side scripting as we don't want to do that using JavaScript due to some ABC reason.</p>
<p><strong><span style="text-decoration: underline;"><em>The HTML</em></span>:</strong></p>
<pre>Raw AJAX Example Demo
&nbsp;
Val 1: 
&lt;input id=&quot;val1&quot; name=&quot;val1&quot; type=&quot;text&quot; /&gt;
 + 
Val 2: 
&lt;input id=&quot;val2&quot; name=&quot;val2&quot; type=&quot;text&quot; /&gt;
&lt;input onclick=&quot;doSum()&quot; type=&quot;button&quot; value=&quot;=&quot; /&gt;
&lt;input id=&quot;sum&quot; name=&quot;sum&quot; type=&quot;text&quot; /&gt;</pre>
<p><strong><span style="text-decoration: underline;"><em>The Javascript</em></span>:</strong></p>
<pre class="javascript"><span style="color: #003366; font-weight: bold;">function</span> doSum<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> url = <span style="color: #3366CC;">&quot;simple_ajax_server.php&quot;</span>;
	<span style="color: #003366; font-weight: bold;">var</span> data = <span style="color: #3366CC;">&quot;val1=&quot;</span> + document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;val1&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">value</span> + <span style="color: #3366CC;">&quot;&amp;amp;val2=&quot;</span> + document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;val2&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">value</span>;
	<span style="color: #003366; font-weight: bold;">var</span> method = <span style="color: #3366CC;">'POST'</span>;
	<span style="color: #003366; font-weight: bold;">var</span> async = <span style="color: #003366; font-weight: bold;">true</span>;
	<span style="color: #003366; font-weight: bold;">var</span> xmlHttpRequst = <span style="color: #003366; font-weight: bold;">false</span>;
&nbsp;
	<span style="color: #009900; font-style: italic;">// Mozilla/Safari/Non-IE</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>window.<span style="color: #006600;">XMLHttpRequest</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
        xmlHttpRequst = <span style="color: #003366; font-weight: bold;">new</span> XMLHttpRequest<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
    <span style="color: #66cc66;">&#125;</span>
    <span style="color: #009900; font-style: italic;">// IE</span>
    <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>window.<span style="color: #006600;">ActiveXObject</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
        xmlHttpRequst = <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;Microsoft.XMLHTTP&quot;</span><span style="color: #66cc66;">&#41;</span>;
    <span style="color: #66cc66;">&#125;</span>
&nbsp;
	<span style="color: #009900; font-style: italic;">// If AJAX supported</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #66cc66;">&#40;</span>xmlHttpRequst != <span style="color: #003366; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #009900; font-style: italic;">// Open Http Request connection</span>
		xmlHttpRequst.<span style="color: #000066;">open</span><span style="color: #66cc66;">&#40;</span>method, url, async<span style="color: #66cc66;">&#41;</span>;
		<span style="color: #009900; font-style: italic;">// Set request header (optional if GET method is used)</span>
		xmlHttpRequst.<span style="color: #006600;">setRequestHeader</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'Content-Type'</span>, <span style="color: #3366CC;">'application/x-www-form-urlencoded'</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #009900; font-style: italic;">// Callback when ReadyState is changed.</span>
		xmlHttpRequst.<span style="color: #006600;">onreadystatechange</span> = <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>xmlHttpRequst.<span style="color: #006600;">readyState</span> == <span style="color: #CC0000;">4</span><span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#123;</span>
				document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;sum&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">value</span> = xmlHttpRequst.<span style="color: #006600;">responseText</span>;
			<span style="color: #66cc66;">&#125;</span>
		<span style="color: #66cc66;">&#125;</span>
		xmlHttpRequst.<span style="color: #006600;">send</span><span style="color: #66cc66;">&#40;</span>data<span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #000066; font-weight: bold;">else</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #000066;">alert</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;Please use browser with Ajax support.!&quot;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre>
<p><strong><em># How does it work?</em></strong><br />
As you can see in above JavaScript example code that, first we need to initialize XMLHttpRequest object. For IE and non-IE there is a different way to initialize that object. IE being Microsoft product supports XMLHTTPRequest object creation using ActiveX while rest of the browser does it the common way.<br />
If you're successful creating the HTTP-Request object then you open the connection to URL/URI with which you want to interact to perform desired operation; with method either POST or GET. 3rd optional parameter to open method indicates whether you want to make async request or sync request.<br />
<strong><em># What is sync / async?</em></strong><br />
Due to the behavior of JavaScript when you perform any operation in JavaScript statements start executing in parallel. So if you go the async way your next line of code will start getting executed irrespective of whether request is completed or not?<br />
<strong><em># When to use sync?</em></strong> When you have to perform some operation which is dependent on the result of AJAX request and you can't define them in request-handler function (one which is defined as onreadystatechange) than you must use sync request.<br />
<strong><em># When to use async?</em></strong> When you're loading some static content which is for information purpose and there is no dependent operation to be performed on the data being received from the AJAX request at that time you have to use async.<br />
If you omit that argument it defaults to true meaning an asynchronous request to the server.</p>
<p><em><strong># What is readyState?</strong></em><span id="more-597"></span><br />
Here is the list of possible values and meaning of each value of XMLHttpObject's property <em>readyState</em>, for more reference refer <a title="w3.org docs" href="http://www.w3.org/TR/2006/WD-XMLHttpRequest-20060405/" target="_blank">w3.org</a> docs.</p>
<table style="border-collapse: collapse;" border="1">
<tbody>
<tr>
<td>0</td>
<td>Uninitialized</td>
<td>The initial value.</td>
</tr>
<tr>
<td>1</td>
<td>Open</td>
<td>The open() method has been successfully called.</td>
</tr>
<tr>
<td>2</td>
<td>Sent</td>
<td>The UA successfully completed the request, but no data has yet been received.</td>
</tr>
<tr>
<td>3</td>
<td>Receiving</td>
<td>Immediately before receiving the message body (if any). All HTTP headers have been received.</td>
</tr>
<tr>
<td>4</td>
<td>Loaded</td>
<td>The data transfer has been completed.</td>
</tr>
</tbody>
</table>
<h3>Raw AJAX Example Demo</h3>
<p><strong><em><span style="text-decoration: underline;">The PHP/Server-side</span></em>:</strong></p>
<pre class="php"><span style="color: #0000ff;">$val1</span> = <span style="color: #66cc66;">&#40;</span>int<span style="color: #66cc66;">&#41;</span><span style="color: #0000ff;">$_POST</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'val1'</span><span style="color: #66cc66;">&#93;</span>;
<span style="color: #0000ff;">$val2</span> = <span style="color: #66cc66;">&#40;</span>int<span style="color: #66cc66;">&#41;</span><span style="color: #0000ff;">$_POST</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'val2'</span><span style="color: #66cc66;">&#93;</span>;
&nbsp;
<a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a> <span style="color: #0000ff;">$val1</span> + <span style="color: #0000ff;">$val2</span>;</pre>
<p>If you can see in open method we are making a post request on simple_ajax_server.php file. In that file we have simply written above content.</p>
<p>See this example <a title="Simple Ajax Demo" href="http://blogs.digitss.com/demo/simple_ajax.html" target="_blank">live in action</a>.</p>
<p><span style="text-decoration: underline;"><em><strong>Generalizing JavaScript</strong></em></span>: <a title="Plain_Ajax.js" href="http://blogs.digitss.com/demo/plain_ajax.js" target="_blank">plain_ajax.js</a></p>
<pre class="javascript"><span style="color: #009900; font-style: italic;">// Common function to initialize XML Http Request object</span>
<span style="color: #003366; font-weight: bold;">function</span> getHttpRequestObject<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #009900; font-style: italic;">// Define and initialize as false</span>
	<span style="color: #003366; font-weight: bold;">var</span> xmlHttpRequst = <span style="color: #003366; font-weight: bold;">false</span>;
&nbsp;
	<span style="color: #009900; font-style: italic;">// Mozilla/Safari/Non-IE</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>window.<span style="color: #006600;">XMLHttpRequest</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
        xmlHttpRequst = <span style="color: #003366; font-weight: bold;">new</span> XMLHttpRequest<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
    <span style="color: #66cc66;">&#125;</span>
    <span style="color: #009900; font-style: italic;">// IE</span>
    <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>window.<span style="color: #006600;">ActiveXObject</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
        xmlHttpRequst = <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;Microsoft.XMLHTTP&quot;</span><span style="color: #66cc66;">&#41;</span>;
    <span style="color: #66cc66;">&#125;</span>
	<span style="color: #000066; font-weight: bold;">return</span> xmlHttpRequst;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #009900; font-style: italic;">// Does the AJAX call to URL specific with rest of the parameters</span>
<span style="color: #003366; font-weight: bold;">function</span> doAjax<span style="color: #66cc66;">&#40;</span>url, method, async, responseHandler, data<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #009900; font-style: italic;">// Set the variables</span>
	url = url || <span style="color: #3366CC;">&quot;&quot;</span>;
	method = method || <span style="color: #3366CC;">&quot;GET&quot;</span>;
	async = async || <span style="color: #003366; font-weight: bold;">true</span>;
	data = data || <span style="color: #003366; font-weight: bold;">null</span>;
&nbsp;
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #66cc66;">&#40;</span>url == <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #000066;">alert</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;URL can not be null/blank&quot;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span>;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #003366; font-weight: bold;">var</span> xmlHttpRequst = getHttpRequestObject<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
	<span style="color: #009900; font-style: italic;">// If AJAX supported</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #66cc66;">&#40;</span>xmlHttpRequst != <span style="color: #003366; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #009900; font-style: italic;">// Open Http Request connection</span>
		<span style="color: #000066; font-weight: bold;">if</span><span style="color: #66cc66;">&#40;</span>method == <span style="color: #3366CC;">&quot;GET&quot;</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			url = url + <span style="color: #3366CC;">&quot;?&quot;</span> + data;
			data = <span style="color: #003366; font-weight: bold;">null</span>;
		<span style="color: #66cc66;">&#125;</span>
		xmlHttpRequst.<span style="color: #000066;">open</span><span style="color: #66cc66;">&#40;</span>method, url, async<span style="color: #66cc66;">&#41;</span>;
		<span style="color: #009900; font-style: italic;">// Set request header (optional if GET method is used)</span>
		<span style="color: #000066; font-weight: bold;">if</span><span style="color: #66cc66;">&#40;</span>method == <span style="color: #3366CC;">&quot;POST&quot;</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			xmlHttpRequst.<span style="color: #006600;">setRequestHeader</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'Content-Type'</span>, <span style="color: #3366CC;">'application/x-www-form-urlencoded'</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #009900; font-style: italic;">// Assign (or define) response-handler/callback when ReadyState is changed.</span>
		xmlHttpRequst.<span style="color: #006600;">onreadystatechange</span> = responseHandler;
		<span style="color: #009900; font-style: italic;">// Send data</span>
		xmlHttpRequst.<span style="color: #006600;">send</span><span style="color: #66cc66;">&#40;</span>data<span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #000066; font-weight: bold;">else</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #000066;">alert</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;Please use browser with Ajax support.!&quot;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre>
<p><em># Same JavaScript can be generalized and written in following way</em>: (embed in html)</p>
<p><em># How to use?</em>: (include plain_ajax.js first and then embed following code;)</p>
<pre class="javascript"><span style="color: #003366; font-weight: bold;">var</span> displaySum = <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">readyState</span> == <span style="color: #CC0000;">4</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;sum&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">value</span> = <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">responseText</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> doSum<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> url = <span style="color: #3366CC;">&quot;simple_ajax_server.php&quot;</span>;
	<span style="color: #003366; font-weight: bold;">var</span> data = <span style="color: #3366CC;">&quot;val1=&quot;</span> + document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;val1&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">value</span> + <span style="color: #3366CC;">&quot;&amp;amp;val2=&quot;</span> + document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;val2&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">value</span>;
	<span style="color: #003366; font-weight: bold;">var</span> method = <span style="color: #3366CC;">'GET'</span>;
	<span style="color: #003366; font-weight: bold;">var</span> async = <span style="color: #003366; font-weight: bold;">true</span>;
	doAjax<span style="color: #66cc66;">&#40;</span>url, method, async, displaySum, data<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre>
<p>Example can be <a title="Download Simple Ajax Tutorial source-code" href="http://blogs.digitss.com/demo/simple_ajax.zip" target="_blank">downloaded here</a> or find it in my <a title="Gist Repository - for this example tutorial code" href="https://gist.github.com/936328" target="_blank">gist repository</a>.</p>
<p>&nbsp;<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/technology/hacking-jquery-thickbox/" rel="bookmark" title="April 27, 2008">Hacking jQuery Thickbox..!</a></li>
<li><a href="http://blogs.digitss.com/javascript/calculate-datetime-difference-simple-javascript-code-snippet/" rel="bookmark" title="April 4, 2010">Calculate Date/Time difference &#8211; Simple Javascript code snippet</a></li>
<li><a href="http://blogs.digitss.com/php/truncate-last-n-lines-of-a-file-using-php/" rel="bookmark" title="April 23, 2011">Truncate last N lines of a file using PHP</a></li>
<li><a href="http://blogs.digitss.com/php/curl-php/posting-or-uploading-files-using-curl-with-php/" rel="bookmark" title="March 6, 2011">Posting or Uploading Files using cURL with PHP</a></li>
<li><a href="http://blogs.digitss.com/php/php-downloading-a-file-from-secure-website-https-using-curl/" rel="bookmark" title="October 25, 2008">PHP &#8211; Downloading a File from Secure website (https) using CURL</a></li>
</ul>
<p><!-- Similar Posts took 7.084 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/javascript/simple-plain-ajax-without-any-javascript-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery case-insensitive Contains Expression..!</title>
		<link>http://blogs.digitss.com/javascript/jquery-javascript/jquery-case-insensitive-contains-expression/</link>
		<comments>http://blogs.digitss.com/javascript/jquery-javascript/jquery-case-insensitive-contains-expression/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 18:35:10 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=595</guid>
		<description><![CDATA[Most of the time to search through DOM and filter text we need a jQuery Expression/filter which gives us case-insensitive result. I believe it's required to have it as a part of jQuery base-library but anyway writing your own is very simple.

I have gone through some of other implementation before writing this but here this version is complete copy of jQuery library's "contains" filter except it is case-insensitive.]]></description>
			<content:encoded><![CDATA[<p>Most of the time to search through DOM and filter text we need a <strong>jQuery Expression/filter</strong> which gives us <strong>case-insensitive</strong> result. I believe it's required to have it as a part of <strong>jQuery</strong> base-library but anyway writing your own is very simple.</p>
<p>I have gone through some of other implementation before writing this but here this version is complete copy of jQuery library's "<strong>contains</strong>" filter except it is <strong>case-insensitive</strong>.</p>
<p>In below code when it's using <strong>$(elem).text()</strong> it's calling <strong>Sizzle.getText</strong> internally which is Utility function for retreiving the text value of an array of DOM nodes.</p>
<pre class="javascript">$.<span style="color: #006600;">extend</span><span style="color: #66cc66;">&#40;</span>$.<span style="color: #006600;">expr</span><span style="color: #66cc66;">&#91;</span><span style="color: #3366CC;">&quot;:&quot;</span><span style="color: #66cc66;">&#93;</span>,
<span style="color: #66cc66;">&#123;</span>
    <span style="color: #3366CC;">&quot;contains-ci&quot;</span>: <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>elem, i, match, array<span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #66cc66;">&#40;</span>elem.<span style="color: #006600;">textContent</span> || elem.<span style="color: #006600;">innerText</span> || $<span style="color: #66cc66;">&#40;</span>elem<span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">text</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> || <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">toLowerCase</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">indexOf</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>match<span style="color: #66cc66;">&#91;</span><span style="color: #CC0000;">3</span><span style="color: #66cc66;">&#93;</span> || <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">toLowerCase</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> &gt;= <span style="color: #CC0000;">0</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</pre>
<p>Here are some other nice <strong>jQuery Selectors</strong> and <strong>Expressions</strong>:<span id="more-595"></span></p>
<ul>
<li><a title="JQuery Plugin: Extra selectors for JQuery" href="http://www.softwareunity.com/jquery/JQueryMoreSelectors/" target="_blank">JQuery Plugin: Extra selectors for JQuery</a></li>
<li><a title="jQuery Custom [:] Expression Test" href="http://www.malsup.com/jquery/expr/" target="_blank">jQuery Custom [:] Expressions</a></li>
</ul>
<p>I thought let me use <a title="Gist is a simple way to share snippets and pastes with others. All gists are git repositories, so they are automatically versioned, forkable and usable as a git repository." href="https://gist.github.com" target="_blank">gist</a> to host this tiny piece of code, may be just to make it easy to share and live as long as possible..! <img src='http://blogs.digitss.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<script src="https://gist.github.com/932198.js"> </script><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/javascript/jquery-javascript/implementing-quick-table-search-using-jquery-filter/" rel="bookmark" title="August 13, 2011">Implementing Quick Table Search using jQuery filter</a></li>
<li><a href="http://blogs.digitss.com/javascript/jquery-javascript/jquery-1-4-released-jquery-ui-has-yet-to-achieve-compatibility-with-it/" rel="bookmark" title="January 24, 2010">jQuery 1.4 Released &#8211; jQuery UI has yet to achieve compatibility with it&#8230;</a></li>
<li><a href="http://blogs.digitss.com/programming/printing-data-table-vertically-why-and-how/" rel="bookmark" title="January 3, 2011">Printing data table vertically..! Why? and How?</a></li>
<li><a href="http://blogs.digitss.com/javascript/jquery-javascript/jquery-fancy-custom-radio-and-checkbox/" rel="bookmark" title="April 8, 2010">jQuery Fancy Custom Radio-button and Checkbox</a></li>
<li><a href="http://blogs.digitss.com/wordpress/wordpress-auto-login-for-friend-ally-websites/" rel="bookmark" title="February 2, 2010">WordPress Auto-Login for Friend/Ally Websites</a></li>
</ul>
<p><!-- Similar Posts took 5.675 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/javascript/jquery-javascript/jquery-case-insensitive-contains-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery or non-jQuery Calendar Schedulers</title>
		<link>http://blogs.digitss.com/javascript/jquery-or-non-jquery-calendar-schedulers/</link>
		<comments>http://blogs.digitss.com/javascript/jquery-or-non-jquery-calendar-schedulers/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 10:10:35 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Scheduler]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=585</guid>
		<description><![CDATA[If you're looking for Google-like Calendar for your next web-application than, here is list of jQuery/ non-jQuery but Javascript based Calendar Schedulers which you can use in your web-application to provide scheduling and/or even calendars.]]></description>
			<content:encoded><![CDATA[<div id="attachment_586" class="wp-caption alignleft" style="width: 262px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/04/Google-Calendar.png"><img class="size-full wp-image-586" title="Google Calendar" src="http://blogs.digitss.com/wp-content/uploads/2011/04/Google-Calendar.png" alt="Google Calendar" width="252" height="190" /></a><p class="wp-caption-text">Google Calendar</p></div>
<p>If you're looking for <strong>Google-like Calendar</strong> for your next web-application than, here is list of jQuery/ non-jQuery but Javascript based Calendar Schedulers which you can use in your web-application to provide <strong>scheduling</strong> and/or <strong>event calendars</strong>.</p>
<p><strong>1) </strong><span style="text-decoration: underline;"><strong>jQuery FullCalendar</strong></span>: <strong>FullCalendar</strong> is a <strong>jQuery plugin</strong> that provides a <em>full-sized</em>, <em>drag &amp; drop calendar</em> like the one below. It uses AJAX to fetch events on-the-fly for each month and is easily configured to use your own feed format (an extension is provided for <em>Google Calendar</em>). It is visually customizable and exposes hooks for user-triggered events (like clicking or dragging an event). It is open source and dual licensed under the MIT or GPL Version 2 licenses.</p>
<p>Just recently <strong>FullCalendar 1.5.1</strong> is released which is bundled with <strong>jQuery 1.5.2</strong>. It has all 3 <strong>Day</strong>, <strong>Week</strong> and <strong>Month</strong> view. You can see it's preview in screen-capture below:<span id="more-585"></span></p>
<div id="attachment_587" class="wp-caption alignleft" style="width: 401px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-FullCalendar.png"><img class="size-full wp-image-587" title="jQuery FullCalendar" src="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-FullCalendar.png" alt="jQuery FullCalendar" width="391" height="315" /></a><p class="wp-caption-text">jQuery FullCalendar</p></div>
<div style="clear: both;">Download: <a title="Download jQuery FullCalendar" href="http://arshaw.com/fullcalendar/download/" target="_blank">http://arshaw.com/fullcalendar/download/</a>&nbsp;</p>
<p>jQuery plugin repository: <a title="jQuery FullCalendar at jQuery Plugin Repository" href="http://plugins.jquery.com/project/fullcalendar" target="_blank">http://plugins.jquery.com/project/fullcalendar</a></p>
<p>Demo: <a title="See live demo of jQuery FullCalendar" href="http://arshaw.com/fullcalendar/" target="_blank">http://arshaw.com/fullcalendar/</a></p>
</div>
<p><strong>2) <span style="text-decoration: underline;">jQuery Frontier Calendar</span></strong>: Is a full month calendar plugin that looks like Google Calendar. Supports Drag and Drop, tooltips, iCal Event import, Customizable style via css file, resizable and well documented.</p>
<div id="attachment_588" class="wp-caption alignleft" style="width: 452px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-Frontier-Calendar.png"><img class="size-full wp-image-588" title="jQuery Frontier Calendar" src="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-Frontier-Calendar.png" alt="jQuery Frontier Calendar" width="442" height="278" /></a><p class="wp-caption-text">jQuery Frontier Calendar</p></div>
<div style="clear: both;">Negative point is it <strong>only supports Month view</strong>, so if you're looking for Day and Week view you will be disappointed else it has got good documentation.&nbsp;</p>
<p>Download: <a href="http://code.google.com/p/jquery-frontier-calendar/">http://code.google.com/p/jquery-frontier-calendar/</a></p>
<p>jQuery plugin repository: <a href="http://plugins.jquery.com/project/jqFrontierCal">http://plugins.jquery.com/project/jqFrontierCal</a></p>
<p>Demo: Interactive demo not available.</p>
</div>
<p><strong>3) j<span style="text-decoration: underline;">Query jMonthCalendar</span></strong>: jMonthCalendar is a full month calendar that supports events. You simply initialize the calendar with options and an events array and it can handle the rest. The plugin does have extension points that allow the developer to interact with the calendar when the display is about to change months, after the display has changed months and when the event bubbles are clicked on. jMonthCalendar now supports hover extension points, hover over an event and trigger an event like an alert(); By default the events would each have a URL supplied that would link to a details page.</p>
<p>Negative point again here is it comes with <strong>only Month view</strong> and since last 20 months project is silent.</p>
<p>Download: <a href="http://code.google.com/p/jmonthcalendar/downloads/list">http://code.google.com/p/jmonthcalendar/downloads/list</a></p>
<p>jQuery plugin repository: <a href="http://plugins.jquery.com/project/jMonthCalendar">http://plugins.jquery.com/project/jMonthCalendar</a></p>
<p>Demo: Interactive demo not available.</p>
<p><strong>4) <span style="text-decoration: underline;">jQuery Week Calendar</span></strong>: Excellent plugin if you're looking for just <strong>Week view</strong>, <strong>Work Day view</strong> and <strong>Day view</strong>. Good documentation and demonstration.</p>
<p>The jquery-week-calendar plugin provides a simple and flexible way of including a weekly calendar in your application. It is built on top of jquery and jquery ui and is inspired by other online weekly calendars such as google calendar. If you require a monthly calendar view, I highly recommend checking out the FullCalendar plugin by Adam Shaw.</p>
<ul>
<li>Display of calendar events within a weekly grid</li>
<li>Calendar events can be supplied as an array, url or function returning json</li>
<li>Calendar events can be dragged, dropped and resized</li>
<li>Lots of callbacks for customizing the way events are rendered plus callbacks for drag, drop, resize, mouseover, click etc</li>
<li>Automatically scrolls to current time</li>
<li>Extend the core calendar event data structure with your own data</li>
<li>Highly configurable, enabling variable timeslots, readonly calendars, display of partial days, custom date formatting, direct manipulation of individual events for create, update, delete of events and much more.</li>
</ul>
<div id="attachment_589" class="wp-caption alignleft" style="width: 430px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-week-calendar.png"><img class="size-full wp-image-589" title="jQuery week calendar" src="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-week-calendar.png" alt="jQuery week calendar" width="420" height="296" /></a><p class="wp-caption-text">jQuery week calendar</p></div>
<div style="clear: both;">Now it's not being maintained by original author and recommended repository on github is: <a href="https://github.com/themouette/jquery-week-calendar">https://github.com/themouette/jquery-week-calendar</a></div>
<p><strong>5) <span style="text-decoration: underline;">jQuery wdCalendar</span></strong>: It's a jQuery plugin supporting both <strong>Day</strong>, <strong>Week</strong> and <strong>Month view</strong>. Not well documented or decent api for extending but decent tool if you want to just get it plug-in to your application. But be sure that if you want to make some modification you gotta understand the code and hack into that without much helpful documentation. If you have to many overlapping events it will not arrange them all properly so one has to tweak the code as per the need because it's not being maintained well so far.</p>
<div id="attachment_590" class="wp-caption alignleft" style="width: 389px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-wdCalendar.png"><img class="size-full wp-image-590" title="jQuery wdCalendar" src="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-wdCalendar.png" alt="jQuery wdCalendar" width="379" height="247" /></a><p class="wp-caption-text">jQuery wdCalendar</p></div>
<p><strong>6)</strong> <span style="text-decoration: underline;"><strong>dhtmlxScheduler</strong></span>: Unlike rest of above plugins it's not jQuery based and another point is it's not free for commercial projects so unless you want to use it for your open-source project you gotta buy license for this.</p>
<p>Well documented and API. Comes with <strong>Day, Week, Month, Year and Agenda view</strong>. There is <strong>multiple resource view</strong> as well. By far the best one which highly customizable but licensing (paid) is required if you want to commercialize it.</p>
<p><strong>dhtmlxScheduler</strong> is a web-based JavaScript events calendar that provides a rich and intuitive scheduling solution similar to Microsoft Outlook Calendar, Apple's iCal, or Google Calendar. The events can be displayed in Day, Week, Month, Year, or Agenda views. Advanced drag-and-drop functionality allows users to change date and time of an event by easily moving or resizing event boxes. Very lightweight (about 20Kb gzipped) and fast-performing, the calendar uses Ajax to smoothly update and display the events schedule.</p>
<div id="attachment_592" class="wp-caption alignleft" style="width: 328px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/04/dhtmlxScheduler.png"><img class="size-full wp-image-592" title="dhtmlxScheduler - Ajax Events Calendar/Scheduler" src="http://blogs.digitss.com/wp-content/uploads/2011/04/dhtmlxScheduler.png" alt="dhtmlxScheduler - Ajax Events Calendar/Scheduler" width="318" height="240" /></a><p class="wp-caption-text">dhtmlxScheduler - Ajax Events Calendar/Scheduler</p></div>
<div style="clear: both;">Home: <a href="http://dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml">http://dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml</a></div>
<p>Other than this list if you can try <a title="Create astonishing iCal-like calendars with jQuery" href="http://www.stefanoverna.com/log/create-astonishing-ical-like-calendars-with-jquery" target="_blank">Create astonishing iCal-like calendars with jQuery</a> tutorial to do it yourself and if you can write Java you can always pick up the best of all <strong>Google's <a title="Google Web Toolkit - Cal component" href="http://code.google.com/p/gwt-cal/" target="_blank">gwt-cal</a></strong>.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/javascript/jquery-javascript/jquery-fancy-custom-radio-and-checkbox/" rel="bookmark" title="April 8, 2010">jQuery Fancy Custom Radio-button and Checkbox</a></li>
<li><a href="http://blogs.digitss.com/javascript/jquery-plugin-radio-button-with-checkbox-behavior-updated/" rel="bookmark" title="March 6, 2008">jQuery Plugin &#8211; Radio button with Checkbox Behavior &#8211; Updated</a></li>
<li><a href="http://blogs.digitss.com/javascript/jquery-javascript/jquery-1-4-released-jquery-ui-has-yet-to-achieve-compatibility-with-it/" rel="bookmark" title="January 24, 2010">jQuery 1.4 Released &#8211; jQuery UI has yet to achieve compatibility with it&#8230;</a></li>
<li><a href="http://blogs.digitss.com/javascript/jquery-javascript/jquery-magnet-multi-select-list-dg-magnet-combo/" rel="bookmark" title="January 25, 2011">jQuery Magnet Multi-Select List &#8211; DG Magnet Combo</a></li>
<li><a href="http://blogs.digitss.com/javascript/radio-button-with-checkbox-behavior/" rel="bookmark" title="February 25, 2008">Radio-button with Checkbox behavior</a></li>
</ul>
<p><!-- Similar Posts took 10.433 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/javascript/jquery-or-non-jquery-calendar-schedulers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Netbeans 7.0 RC1 Released</title>
		<link>http://blogs.digitss.com/news/netbeans-7-0-rc1-released/</link>
		<comments>http://blogs.digitss.com/news/netbeans-7-0-rc1-released/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 17:59:37 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Developer]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=581</guid>
		<description><![CDATA[Netbeans has been one of my favorite IDE for PHP, I have been using it in my day to day usage for most of my projects. I have been using Netbeans since 6.x. I know it's Java based IDE which needs powerful machine just like Eclipse. But some of the feature it offers are even not available in commercial competitors. One of the best feature is "Quick Search", the way it provides search through list of file is awesome. Something similar I have seen is in JetBrains PHPStorm but could not find it in Enterprise class Eclipse.]]></description>
			<content:encoded><![CDATA[<div id="attachment_582" class="wp-caption alignleft" style="width: 205px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/04/Netbeans_IDE_7.jpg"><br />
<img class="size-full wp-image-582" title="Netbeans IDE 7" src="http://blogs.digitss.com/wp-content/uploads/2011/04/Netbeans_IDE_7.jpg" alt="Netbeans IDE 7" width="195" height="232" /></a><p class="wp-caption-text">Netbeans IDE 7 RC1 Released</p></div>
<p><strong>Netbeans</strong> has been one of my favorite <strong>IDE</strong> for <strong>PHP</strong>, I have been using it in my day to day usage for most of my projects. I have been using <strong>Netbeans</strong> since 6.x. I know it's <strong>Java</strong> based <strong>IDE</strong> which needs powerful machine just like <strong><a title="Eclipse PDT" href="http://www.eclipse.org/pdt/" target="_blank">Eclipse</a></strong>. But some of the feature it offers are even not available in commercial competitors. One of the best feature is "<strong>Quick Search</strong>", the way it provides search through list of file is awesome. Something similar I have seen is in <strong><a title="JetBRAINS" href="http://www.jetbrains.com/" target="_blank">JetBrains</a> <a title="JetBrain's PHPStorm 2" href="http://www.jetbrains.com/phpstorm/" target="_blank">PHPStorm</a> </strong>but could not find it in <a title="Why NetBeans isn't an Enterprise Solution? - by Markus Eisele" href="http://www.dzone.com/links/r/why_netbeans_isnt_an_enterprise_solution_for_me.html" target="_blank">Enterprise class <strong>Eclipse</strong></a>.</p>
<p>I have been following and using and following progress on <strong>Netbeans 7</strong> since it's first beta release and I have noticed that it has improved lot as far as <strong><em>speed</em></strong> of <strong>IDE</strong> is concerned. Whenever your <strong>Netbeans 7</strong> <strong>IDE</strong> freezes for fraction of second or two it immediately opens up a window to report an issue. With each beta (1, 2) and now RC1 speed improvement and especially <em><strong>intelligent auto-complete</strong></em> speed has improved drastically (compared to 6.x).</p>
<p>Here is the quick view of features supported by <strong style="font-style: italic;">Netbeans 7 platform</strong>:<span id="more-581"></span></p>
<blockquote>
<h2>What's New in 7.0</h2>
<p>NetBeans IDE 7.0 features the following changes:</p>
<ul>
<li>Introduction of JDK 7 support including editor enhancements (syntax, hints)</li>
<li>Revamped support for WebLogic Application Server and GlassFish 3.1b43</li>
<li>Oracle Database improvements</li>
<li>HTML5 editing support</li>
<li>Maven 3 is supported and bundled with the IDE</li>
<li>Improved support for CDI, REST services, Java Persistence, and Bean Validation</li>
<li>PHP Rename Refactoring</li>
<li>Line wrapping</li>
<li>Improved detection of external changes (native file system listening)</li>
<li>Updates to the C/C++ support (remote file system browsing, library projects running/debugging, enhanced templates/specializations)</li>
<li>Support for Git 1.7.х</li>
<li>Additional enhancements are listed at the <a href="http://wiki.netbeans.org/NewAndNoteworthyNB70" target="_blank">NetBeans IDE 7.0 New and Noteworthy</a> page</li>
</ul>
<p>For more about this release, see the <a href="http://netbeans.org/community/releases/70/index.html" target="_blank">NetBeans IDE 7.0 Release Information</a> page.</p></blockquote>
<p>So what's your favorite <strong><em>IDE</em></strong> for your <strong><em>programming language</em></strong>? Download <a title="Download Netbeans7 RC1 now..!" href="http://download.netbeans.org/netbeans/7.0/rc1/" target="_blank">Netbeans7 RC1 here</a>.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/software/netbeans-6-8-is-out/" rel="bookmark" title="December 14, 2009">NetBeans 6.8 is out</a></li>
<li><a href="http://blogs.digitss.com/news/netbeans-ide-7-0-beta-available-for-download/" rel="bookmark" title="November 21, 2010">NetBeans IDE 7.0 Beta available for download</a></li>
<li><a href="http://blogs.digitss.com/php/smarty-3-0-is-almost-here/" rel="bookmark" title="October 3, 2010">Smarty 3.0 is almost here..!</a></li>
<li><a href="http://blogs.digitss.com/database/mysql/heidisql-40-rc1-released/" rel="bookmark" title="January 10, 2009">HeidiSQL 4.0 RC1 released</a></li>
<li><a href="http://blogs.digitss.com/browsers/firefox-browsers/mozilla-released-firefox-3-6-whats-new/" rel="bookmark" title="January 22, 2010">Mozilla released Firefox 3.6 &#8211; What&#8217;s new?</a></li>
</ul>
<p><!-- Similar Posts took 11.397 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/news/netbeans-7-0-rc1-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery 1.5.2 and jQuery mobile alpha 4 released</title>
		<link>http://blogs.digitss.com/javascript/jquery-javascript/jquery-1-5-2-and-jquery-mobile-alpha-4-released/</link>
		<comments>http://blogs.digitss.com/javascript/jquery-javascript/jquery-1-5-2-and-jquery-mobile-alpha-4-released/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 13:07:14 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Developer]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=577</guid>
		<description><![CDATA[jQuery 1.5.2 is released (on April 2nd) as a bug-fix release of jQuery version 1.5.x, fixing about 18+ issues/bugs reported. Along with that couple of days back on 31st March 2011 jQuery Mobile's alpha-4 version has been released.

jQuery mobile project is making good and steady progress though from their road-map published earlier I was expecting production ready release of jQuery mobile in Jan 2011. As I have invested into jQuery mobile as a technology and tool for one of my project and it's obvious that I can not release that when framework itself is not mature for production.]]></description>
			<content:encoded><![CDATA[<div id="attachment_578" class="wp-caption alignleft" style="width: 132px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-mobile.png"><img class="size-full wp-image-578" title="jQuery mobile framework" src="http://blogs.digitss.com/wp-content/uploads/2011/04/jQuery-mobile.png" alt="jQuery mobile framework" width="122" height="239" /></a><p class="wp-caption-text">jQuery mobile framework</p></div>
<p><strong>jQuery</strong> 1.5.2 is released (on April 2nd) as a bug-fix release of <strong>jQuery</strong> version 1.5.x, fixing about 18+ issues/bugs reported. Along with that couple of days back on 31st March 2011 <strong>jQuery Mobile</strong>'s alpha-4 version has been released.</p>
<p><strong>jQuery mobile</strong> project is making good and steady progress though from their road-map published earlier I was expecting production ready release of <strong>jQuery mobile</strong> in Jan 2011. As I have invested into <strong>jQuery mobile</strong> as a technology and tool for one of my project and it's obvious that I can not release that when framework itself is not mature for production.</p>
<p>I am highly impressed with <strong>jQuery mobile framework</strong> project and I have chosen <strong>jQuery mobile</strong> over <a href="http://www.sencha.com/products/touch/"><strong>Sencha Touch</strong></a> after researching over it for sometime. One of the reason behind choosing <strong>jQuery mobile</strong> was number of devices they support. Look at the <a title="jQuery mobile - device support grid" href="http://jquerymobile.com/gbs/" target="_blank">device support grid here</a>.<span id="more-577"></span></p>
<p>I will be writing more on <em><strong>ExtJS Mobile (Sencha Touch) vs jQuery mobile</strong></em> in coming weeks, hopefully which will make developers take a smart decision depending upon the features they are looking for.</p>
<p>I would appreciate if you can share your experiences on above topic if you are about to take or have already taken decision in favor of one of them.</p>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/javascript/jquery-javascript/jquery-1-4-released-jquery-ui-has-yet-to-achieve-compatibility-with-it/" rel="bookmark" title="January 24, 2010">jQuery 1.4 Released &#8211; jQuery UI has yet to achieve compatibility with it&#8230;</a></li>
<li><a href="http://blogs.digitss.com/javascript/jquery-1-2-5-released/" rel="bookmark" title="May 21, 2008">jQuery 1.2.5 released</a></li>
<li><a href="http://blogs.digitss.com/php/when-php-frameworks-are-going-to-stop-php-4-support/" rel="bookmark" title="August 15, 2009">When PHP Frameworks are going to stop PHP 4 support?</a></li>
<li><a href="http://blogs.digitss.com/javascript/jquery-1-3-2-is-out/" rel="bookmark" title="February 22, 2009">jQuery 1.3.2 is out</a></li>
<li><a href="http://blogs.digitss.com/php/symfony-11-rc1-released/" rel="bookmark" title="May 10, 2008">Symfony 1.1 RC1 Released</a></li>
</ul>
<p><!-- Similar Posts took 9.564 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/javascript/jquery-javascript/jquery-1-5-2-and-jquery-mobile-alpha-4-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.632 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2011-08-13 11:26:57 -->

