<?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>FeeLitFresh &#187; Web 2.0</title>
	<atom:link href="http://feelitfresh.com/category/web20/feed/" rel="self" type="application/rss+xml" />
	<link>http://feelitfresh.com</link>
	<description>shameer&#039;s blog</description>
	<lastBuildDate>Fri, 05 Mar 2010 05:58:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Basics of Magento EAV Database Model</title>
		<link>http://feelitfresh.com/web20/basics-of-magento-eav-database-model/</link>
		<comments>http://feelitfresh.com/web20/basics-of-magento-eav-database-model/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 05:55:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=545</guid>
		<description><![CDATA[Magento database heavily utilizes an Entity Attribute Value (EAV) data model. Magento Key data are modeled using the Entity Attribute Value method (EAV).
Utilizing an EAVmodeling pattern allows for unlimited attributes on any product, category, customer, or order.  As is often  the case, the cost of flexibility is complexity EAV depletes a programmer’s ability to write ad-hoc queries against [...]]]></description>
			<content:encoded><![CDATA[<p>Magento database heavily utilizes an Entity Attribute Value (EAV) data model. Magento Key data are modeled using the Entity Attribute Value method (EAV).</p>
<p>Utilizing an EAVmodeling pattern allows for unlimited attributes on any product, category, customer, or order.  As is often  the case, the cost of flexibility is complexity EAV depletes a programmer’s ability to write ad-hoc queries against the data.</p>
<p><a href="http://feelitfresh.com/wp-content/uploads/2010/03/magento.jpg"><img class="size-full wp-image-550 alignnone" title="magento" src="http://feelitfresh.com/wp-content/uploads/2010/03/magento.jpg" alt="magento" width="444" height="75" /><br />
</a>An understanding of EAV principles and  how they have been modeled into Magento is highly  recommended before  making changes to the Magento data or the Magento schema. But a detailed tutorial on the EAV database model  missing in  magento documentation.</p>
<p><span id="more-545"></span> EAV  modelling is consist of as  “vertical” modeling instead of “horizontal” modeling of columns in a database table. Instead of a table consisting of a number of columns, denoting attributes of a conceptual piece of data, the attributes are stored in one column of a separate table.</p>
<p>Let us consider a traditional user table as shown below</p>
<table class="normTable" border="0" cellspacing="0" >
<tbody>
<tr>
<th>user_id</th>
<th>username</th>
<th>password</th>
<th>first_name</th>
<th>last_name</th>
</tr>
<tr>
<td>1</td>
<td>mohammed</td>
<td>[md5]</td>
<td>Mohammed</td>
<td>Umar</td>
</tr>
<tr>
<td>2</td>
<td>shameer</td>
<td>[md5]</td>
<td>Shameer</td>
<td>Ali</td>
</tr>
</tbody>
</table>
<p>In an EAV database modelling, one conceptually records the data as three columns.<br />
<strong> 1)The entity</strong>: An entity is a core thing that is being modeled. It more like an Object like user,product etc.. For the above Example we can defile the user entity table &#8216;user_entity&#8217; as below</p>
<table class="normTable" border="0" cellspacing="0">
<tbody>
<tr>
<th>user_id</th>
<th>username</th>
<th>password</th>
</tr>
<tr>
<td>1</td>
<td>mohammed</td>
<td>[md5]</td>
</tr>
<tr>
<td>2</td>
<td>shameer</td>
<td>[md5]</td>
</tr>
</tbody>
</table>
<p><strong> 2)The attribute or parameter</strong>: Entity attributes work much like a regular property of an object. The user &#8216;eav_attribute&#8217; table  will be like below</p>
<table class="normTable" border="0" cellspacing="0" >
<tbody>
<tr>
<th>attribute_id</th>
<th>name</th>
<th>display</th>
<th>type</th>
</tr>
<tr>
<td>1</td>
<td>first_name</td>
<td>First</td>
<td>varchar</td>
</tr>
<tr>
<td>2</td>
<td>last_name</td>
<td>Last</td>
<td>varchar</td>
</tr>
</tbody>
</table>
<p><strong> 3)The value</strong>: This is the value of each  attribute. For the user value table &#8216;user_varchar&#8217; will look like below</p>
<table class="normTable" border="0" cellspacing="0">
<tbody>
<tr>
<th>entity_id</th>
<th>attribute_id</th>
<th>value</th>
</tr>
<tr>
<td>1</td>
<td>1</td>
<td>Mohammed</td>
</tr>
<tr>
<td>2</td>
<td>1</td>
<td>Shameer</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>Umar</td>
</tr>
<tr>
<td>2</td>
<td>2</td>
<td>Ali</td>
</tr>
</tbody>
</table>
<p>As you can see from looking at the above tables, adding a new attribute to a user simply involves adding a new record in the eav_attribute table. Adding a new attribute does not involve altering tables to add any new columns.This will make  the objects or entities to easily manage adding new attributes to most parts of the system, while keeping the database schema consistent across installations.</p>
]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/basics-of-magento-eav-database-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting Browser close event using Jquery</title>
		<link>http://feelitfresh.com/web20/detecting-browser-close-event-using-jquery/</link>
		<comments>http://feelitfresh.com/web20/detecting-browser-close-event-using-jquery/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 13:29:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=493</guid>
		<description><![CDATA[The JavaScript window.onbeforeload() event is fired just before the web page is unloaded. This gives us the ability to make sure that the user is certain about leaving the page that they are viewing. We can also use this to catch the browser closing event.
I have mixed  the script with Jquery. We can use [...]]]></description>
			<content:encoded><![CDATA[<p>The JavaScript window.onbeforeload() event is fired just before the web page is unloaded. This gives us the ability to make sure that the user is certain about leaving the page that they are viewing. We can also use this to catch the browser closing event.</p>
<p>I have mixed  the script with Jquery. We can use Jquery&#8217;s bind method to bind the event but using bind we can&#8217;t handle the event properly. Using the following script we can easly customize the confirmation message and also it will work on IE and most of the common  web browsers.<br />
<span id="more-493"></span></p>
<p>Actually jquery is not having any functional role in the script but  using the following script we can avoid inline scripting and our code will look nice.</p>
<div class="kod">

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>load<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	window<span style="color: #339933;">.</span>onbeforeunload <span style="color: #339933;">=</span> navigateAway<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> navigateAway<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">var</span> message <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Your confirmation message goes here.&quot;</span><span style="color: #339933;">,</span>
	e <span style="color: #339933;">=</span> e <span style="color: #339933;">||</span> window<span style="color: #339933;">.</span>event<span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// For IE and Firefox</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		e<span style="color: #339933;">.</span>returnValue <span style="color: #339933;">=</span> message<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #666666; font-style: italic;">// For Safari</span>
	<span style="color: #b1b100;">return</span> message<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

</div>
<h3>Related Links</h3>
<ul>
<li> <a href="http://bytes.com/topic/javascript/insights/825556-using-onbeforeunload-javascript-event">Using the OnBeforeUnload JavaScript Event</a></li>
<li> <a href="http://jquery-howto.blogspot.com/2009/01/working-with-jquery-13-new-event-object.html">Working with jQuery new Event object</a></li>
<li> <a href="http://www.learningjquery.com/2008/03/working-with-events-part-1">Working with jQuery Events</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/detecting-browser-close-event-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add lightbox to Wordpress blogs without using a plugin</title>
		<link>http://feelitfresh.com/web20/add-lightbox-to-wordpress-blogs-without-using-a-plugin/</link>
		<comments>http://feelitfresh.com/web20/add-lightbox-to-wordpress-blogs-without-using-a-plugin/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 14:08:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=374</guid>
		<description><![CDATA[There are a lot of plugins available for adding lightbox support to wordpress blogs. But I am trying to add the lightbox script directly to my blog here. I have followed the below steps to add the plugin to my wordpress blog
Step 1 : Download jquery lightbox plugin
Step 2 : Copy jquery.lightbox-0.x.js, jquery.js, jquery.lightbox-0.x.css from [...]]]></description>
			<content:encoded><![CDATA[<p>There are a lot of plugins available for adding lightbox support to wordpress blogs. But I am trying to add the lightbox script directly to my blog here. I have followed the below steps to add the plugin to my wordpress blog<br />
<strong>Step 1</strong> : Download <a href="http://leandrovieira.com/projects/jquery/lightbox/" target="_blank">jquery lightbox plugin</a><br />
<strong>Step 2</strong> : Copy jquery.lightbox-0.x.js, jquery.js, jquery.lightbox-0.x.css from the downloaded plugin pack to a separate a folder and name it to  lightbox. Dont add Jquery if u are already using the jquery in your site.<br />
<strong>Step 3</strong> : Upload all the Images to your theme&#8217;s image folder<br />
<strong>Step 4</strong> : Open jquery.lightbox-0.x.js edit the image variables  to the path of your uploaded images</p>
<div class="kod">

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">imageLoading<span style="color: #339933;">:</span> <span style="color: #0000ff;">'http://feelitfresh.com/wp-content/themes/feelitfresh/images/lightbox-ico-loading.gif'</span><span style="color: #339933;">,</span>
imageBtnPrev<span style="color: #339933;">:</span> <span style="color: #0000ff;">'http://feelitfresh.com/wp-content/themes/feelitfresh/images/lightbox-btn-prev.gif'</span><span style="color: #339933;">,</span>
imageBtnNext<span style="color: #339933;">:</span> <span style="color: #0000ff;">'http://feelitfresh.com/wp-content/themes/feelitfresh/images/lightbox-btn-next.gif'</span><span style="color: #339933;">,</span>
imageBtnClose<span style="color: #339933;">:</span> <span style="color: #0000ff;">'http://feelitfresh.com/wp-content/themes/feelitfresh/images/lightbox-btn-close.gif'</span><span style="color: #339933;">,</span>
imageBlank<span style="color: #339933;">:</span> <span style="color: #0000ff;">'http://feelitfresh.com/wp-content/themes/feelitfresh/images//lightbox-blank.gif'</span></pre></div></div>

</div>
<p><strong>Step 5</strong> : Upload the lightbox directory to your wordpress theme folder. Better to inside the javascript directory /wp-content/themes/feelitfresh/javascript 6)Add the  following lines to your script.js file or to header tag or any of the javascript include file</p>
<div class="kod">

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"> $<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a.lightbox'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">lightBox</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

</div>
<p><span id="more-374"></span><br />
<strong>Step 6</strong> : Open your theme folder in Appearance &gt;Editor  and edit header.php and add the following lines inside the head tag</p>
<div class="kod">&lt;script type=&#8221;text/javascript&#8221; src=&#8221;&lt;?php bloginfo(&#8217;template_url&#8217;); ?&gt;/javascript/lightbox/jquery.lightbox.js&#8221;&gt; &lt;/script&gt;<br />
&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;&lt;?php bloginfo(&#8217;template_url&#8217;); ?&gt;/javascript/lightbox/jquery.lightbox.css&#8221; media=&#8221;screen&#8221; /&gt;</div>
<p><strong>Step 7</strong> : Add the class &#8220;lightbox&#8221; to the link  of the image. While inserting the image  you can click on the &#8220;File URL&#8221; button first to link the image to the image file</p>
<p><a class="lightbox" href="http://feelitfresh.com/wp-content/uploads/2009/10/lighbox1.png"><img class="size-full wp-image-429 alignnone" title="lighbox1" src="http://feelitfresh.com/wp-content/uploads/2009/10/lighbox1.png" alt="lighbox1" width="411" height="185" /></a></p>
<p><strong>Step 8</strong> : Then click on the image and edit the image settings  and select the the Advanced settings. Then change the &#8220;<label for="link_classes"> <span>CSS Class&#8221;</span> </label>to &#8220;lightbox&#8221; as below</p>
<p><a class="lightbox" href="http://feelitfresh.com/wp-content/uploads/2009/10/lightbox.png"><img class="size-full wp-image-430 alignnone" title="lightbox" src="http://feelitfresh.com/wp-content/uploads/2009/10/lightbox.png" alt="lightbox2" width="411" height="253" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/add-lightbox-to-wordpress-blogs-without-using-a-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add functions.php to Wordpress Themes</title>
		<link>http://feelitfresh.com/web20/add-functions-php-to-wordpress-themes/</link>
		<comments>http://feelitfresh.com/web20/add-functions-php-to-wordpress-themes/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 14:35:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=411</guid>
		<description><![CDATA[We can use a functions.php file inside the wordpress theme like a plugin and gets automatically loaded during WordPress initialization. We can just create a file named functions.php inside the theme folder and can copy all the common functions inside the file. 
It will act as a plugin and will load automatically that is we [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">We can use a functions.php file inside the wordpress theme like a plugin and gets automatically loaded during WordPress initialization. We can just create a file named functions.php inside the theme folder and can copy all the common functions inside the file. <a class="lightbox" href="http://feelitfresh.com/wp-content/uploads/2009/10/functions.jpg"><img class="aligncenter size-full wp-image-413" title="functions" src="http://feelitfresh.com/wp-content/uploads/2009/10/functions.jpg" alt="functions" width="481" height="196" /></a></p>
<p>It will act as a plugin and will load automatically that is we don&#8217;t need to include it any where in the theme files. It will help us to define a library and can reuse to fasten up our work while keeping code clean and easy to manage.<br />
<span id="more-411"></span><br />
Most common use of the function.php is to do some actions while loading the WordPress initialization. We can add filters, actions and common initialization  script like sidebar widget  registration etc.  to the file functions.php</p>
]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/add-functions-php-to-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RSS Cloud and Real-Time RSS Feeds</title>
		<link>http://feelitfresh.com/web20/rsscloud-and-real-time-rss-feeds/</link>
		<comments>http://feelitfresh.com/web20/rsscloud-and-real-time-rss-feeds/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 11:50:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=311</guid>
		<description><![CDATA[RSSCloud is an element which is always been present in the RSS 2.0 spec but has drawn new attention with the rise of interest in the Real Time Web.
This is like the difference between checking your email every once in awhile and using a Blackberry to get new emails pushed to you as soon as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://rsscloud.org/" target="_blank">RSSCloud</a> is an element which is always been present in the RSS 2.0 spec but has drawn new attention with the rise of interest in the Real Time Web.<br />
This is like the difference between checking your email every once in awhile and using a Blackberry to get new emails pushed to you as soon as they arrive. The subscription method of RSSCloud works more like Instant Messaging than the old method of polling feeds for updates each time you fire up your feed reader.<br />
So while Twitter, Facebook and the major search engines battle it out in providing real-time information services to web users.WordPress has announced that all blog on the WordPress.com and blogs that will install the RSSCloud plug-in will soon have instant updates published to any RSS readers<br />
Google Reader, the dominant RSS aggregator on the market, began a limited implementation of a related protocol called PubSubHubbub last month.<br />
There is currently only one RSS aggregator that supports RSSCloud, Dave Winer&#8217;s brand-new reader <a href="http://newsriver.org/river2">River2</a>. That will probably change very soon</p>
]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/rsscloud-and-real-time-rss-feeds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP over SSL or HTTPS</title>
		<link>http://feelitfresh.com/web20/http-over-ssl-or-http-secure/</link>
		<comments>http://feelitfresh.com/web20/http-over-ssl-or-http-secure/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 11:37:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=303</guid>
		<description><![CDATA[Hyper Text Transfer Protocol Secure (HTTPS) is a secure version of the HTTP. Using HTTPS, the computers agree on a &#8220;code&#8221; between the systems  they communicates, and then they scramble the messages using that &#8220;code&#8221; so that no one in between can read them. This keeps your information safe from hackers.
They use the &#8220;code&#8221; on [...]]]></description>
			<content:encoded><![CDATA[<p>Hyper Text Transfer Protocol Secure (HTTPS) is a secure version of the HTTP. Using HTTPS, the computers agree on a &#8220;code&#8221; between the systems  they communicates, and then they scramble the messages using that &#8220;code&#8221; so that no one in between can read them. This keeps your information safe from hackers.<br />
They use the &#8220;code&#8221; on a <strong>Secure Sockets Layer (SSL)</strong>, sometimes called Transport Layer Security (TLS) to send the information back and forth. Thus HTTPS allows secure ecommerce transactions, such as online banking.<br />
<span id="more-303"></span><br />
HTTPS uses port 443 instead of HTTP port 80 in its interactions with the lower layer, TCP/IP.<span style="vertical-align: middle;">Web browsers such as Internet Explorer and Firefox display a padlock icon to indicate that the website is secure, as it also displays https:// in the address bar.<br />
</span></p>
<p>With <strong>HTTPS</strong> if anyone in between the sender and the recipient could open the message, they still could not understand it. Only the sender and the recipient, who know the &#8220;code,&#8221; can decipher the message.</p>
<p>Humans could encode their own documents, but computers do it faster and more efficiently. To do this, the computer at each end uses a document called an &#8220;<a href="http://www.instantssl.com/">SSL certificate</a>&#8221; containing character strings that are the keys to their secret &#8220;codes.&#8221; SSL certificates contain the computer owner&#8217;s &#8220;public key.&#8221;</p>
<p>The owner shares the public key with anyone who needs it. Other users need the public key to encrypt messages to the owner. The owner sends those users the SSL certificate, which contains the public key. The owner does not share the private key with anyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/http-over-ssl-or-http-secure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Teachers are So Stressed</title>
		<link>http://feelitfresh.com/web20/why-teachers-are-so-stressed/</link>
		<comments>http://feelitfresh.com/web20/why-teachers-are-so-stressed/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 10:34:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[gallery]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=287</guid>
		<description><![CDATA[Check out these Mathematics geniuses&#8230;
]]></description>
			<content:encoded><![CDATA[<p><strong>Check out these Mathematics geniuses&#8230;</strong></p>

<a href='http://feelitfresh.com/web20/why-teachers-are-so-stressed/attachment/att156042/' title='ATT156042'><img width="150" height="150" src="http://feelitfresh.com/wp-content/uploads/2009/08/ATT156042-150x150.jpg" class="attachment-thumbnail" alt="" title="ATT156042" /></a>
<a href='http://feelitfresh.com/web20/why-teachers-are-so-stressed/attachment/att156040/' title='ATT156040'><img width="150" height="150" src="http://feelitfresh.com/wp-content/uploads/2009/08/ATT156040-150x150.jpg" class="attachment-thumbnail" alt="" title="ATT156040" /></a>
<a href='http://feelitfresh.com/web20/why-teachers-are-so-stressed/attachment/att156039/' title='ATT156039'><img width="150" height="150" src="http://feelitfresh.com/wp-content/uploads/2009/08/ATT156039-150x150.jpg" class="attachment-thumbnail" alt="" title="ATT156039" /></a>
<a href='http://feelitfresh.com/web20/why-teachers-are-so-stressed/attachment/att156038/' title='ATT156038'><img width="150" height="150" src="http://feelitfresh.com/wp-content/uploads/2009/08/ATT156038-150x150.jpg" class="attachment-thumbnail" alt="" title="ATT156038" /></a>
<a href='http://feelitfresh.com/web20/why-teachers-are-so-stressed/attachment/att156037/' title='ATT156037'><img width="150" height="150" src="http://feelitfresh.com/wp-content/uploads/2009/08/ATT156037-150x150.jpg" class="attachment-thumbnail" alt="" title="ATT156037" /></a>
<a href='http://feelitfresh.com/web20/why-teachers-are-so-stressed/attachment/att156036/' title='ATT156036'><img width="150" height="150" src="http://feelitfresh.com/wp-content/uploads/2009/08/ATT156036-150x150.jpg" class="attachment-thumbnail" alt="" title="ATT156036" /></a>

]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/why-teachers-are-so-stressed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Moving Options inside a Select Box using Jquery</title>
		<link>http://feelitfresh.com/web20/moving-options-inside-a-select-box-using-jquery/</link>
		<comments>http://feelitfresh.com/web20/moving-options-inside-a-select-box-using-jquery/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 07:50:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=267</guid>
		<description><![CDATA[Using Jquery  we can easily move or change the order of options inside an input select element. For eg consider the  the following select box and we need to move the option element &#8220;other&#8221; to the end of the list or after the element &#8220;goa&#8221;
&#60;select id=&#8221;myselectbox&#8221; name=&#8221;state&#8221; &#62;
&#60;option&#62;Select a state&#60;/option&#62;
&#60;option&#62;Kerala&#60;/option&#62;
&#60;option&#62;Other&#60;/option&#62;
&#60;option&#62;Goa&#60;/option&#62;
&#60;option&#62;Delhi&#60;/option&#62;
&#60;/select&#62;
We can use Jquery manipulation function [...]]]></description>
			<content:encoded><![CDATA[<p>Using Jquery  we can easily move or change the order of options inside an input select element. For eg consider the  the following select box and we need to move the option element &#8220;other&#8221; to the end of the list or after the element &#8220;goa&#8221;</p>
<div class="kod">&lt;select id=&#8221;myselectbox&#8221; name=&#8221;state&#8221; &gt;<br />
&lt;option&gt;Select a state&lt;/option&gt;<br />
&lt;option&gt;Kerala&lt;/option&gt;<br />
&lt;option&gt;Other&lt;/option&gt;<br />
&lt;option&gt;Goa&lt;/option&gt;<br />
&lt;option&gt;Delhi&lt;/option&gt;<br />
&lt;/select&gt;</div>
<p>We can use Jquery manipulation function like append, prepend, appendTo, prependTo, insertAfter,insertBefore for moving the options inside the select box.</p>
<p><span id="more-267"></span></p>
<div class="kod">&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
obj = $(&#8221;#myselectbox &gt; option:contains(&#8217;Other&#8217;)&#8221;);<br />
$(&#8221;#myselectbox &gt; option:contains(&#8217;Other&#8217;)&#8221;).remove();<br />
$(&#8221;#myselectbox&#8221;).append(obj); // insert at the end of the list<br />
// To insert after the element Goa use code like the below line<br />
// $(obj).inserAfter(&#8221;#myselectbox &gt; option:contains(&#8217;Goa&#8217;)&#8221;);<br />
&lt;/script&gt;</div>
<p>The output of the above code will be like this</p>
<div class="kod">&lt;select id=&#8221;myselectbox&#8221; name=&#8221;state&#8221; &gt;<br />
&lt;option&gt;Select a state&lt;/option&gt;<br />
&lt;option&gt;Kerala&lt;/option&gt;<br />
&lt;option&gt;Goa&lt;/option&gt;<br />
&lt;option&gt;Delhi&lt;/option&gt;<br />
&lt;option&gt;Other&lt;/option&gt;<br />
&lt;/select&gt;</div>
]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/moving-options-inside-a-select-box-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla Jetpack &#8211; HTML Based Extensions</title>
		<link>http://feelitfresh.com/web20/mozilla-jetpack-html-based-extensions/</link>
		<comments>http://feelitfresh.com/web20/mozilla-jetpack-html-based-extensions/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 04:44:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=237</guid>
		<description><![CDATA[Mozilla Labs has launched a new project called Jetpack to explore new ways to extend &#38; personalize the Web. Jetpack is an open source project to enhance the browser, with the goal of allowing anyone who can build a Web site to participate in making the Web a better place to work, communicate and play.

In [...]]]></description>
			<content:encoded><![CDATA[<p>Mozilla Labs has launched a new project called <a href="https://jetpack.mozillalabs.com/">Jetpack</a> to explore new ways to extend &amp; personalize the Web. <a name="intro">Jetpack</a> is an open source project to enhance the browser, with the goal of allowing anyone who can build a Web site to participate in making the Web a better place to work, communicate and play.</p>
<p><a href="http://feelitfresh.com/wp-content/uploads/2009/08/Jetpack_logo.png"><img class="alignnone size-medium wp-image-247" title="Jetpack_logo" src="http://feelitfresh.com/wp-content/uploads/2009/08/Jetpack_logo-300x143.png" alt="Jetpack_logo" width="300" height="143" /></a></p>
<p>In short, Jetpack is an API for allowing you to write Firefox add-ons using the web technologies you already know like  HTML, CSS and Javascript etc.<span id="more-237"></span></p>
<p>It enables developers to create code packages that can be toggled on and off without the end user having to restart their browser. This is something that cannot be done with <a href="http://www.cnet.com/firefox-3/">Firefox</a>&#8217;s current add-ons system, but has been possible in third-party tools such as <a href="http://www.greasespot.net/">Greasemonkey</a>, which allow users to pick and choose which scripts are active.</p>
<p>Besides no restarts and no breaking with updates, the most exciting aspect of Jetpack is how it can give users more control over what they see on a site, and how they can interact with its content. Like <a href="http://labs.mozilla.com/projects/ubiquity/">Ubiquity</a> (another Mozilla Labs project), it also appears to be putting these add-ons right in the hands of users as soon as they visit a site with Jetpack controls, which means there&#8217;s less of a need to promote it in an add-ons directory to have users find it.</p>
]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/mozilla-jetpack-html-based-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP optimization tips from Google</title>
		<link>http://feelitfresh.com/web20/php-optimization-tips-from-google/</link>
		<comments>http://feelitfresh.com/web20/php-optimization-tips-from-google/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 12:22:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://feelitfresh.com/?p=238</guid>
		<description><![CDATA[Google recently posted some suggestions  on the PHP code optimization. There are a bunch of suggestions there some are sound very useful especially on the tips for the cache. However some of the advices make no sense at best and are potentially harmful at worst.
In the PHP 10.0 blog Stas has some responses to the [...]]]></description>
			<content:encoded><![CDATA[<p>Google recently posted some s<a href="http://code.google.com/speed/articles/optimizing-php.html" target="_blank">uggestions  on the PHP code optimization</a>. There are a bunch of suggestions there some are sound very useful especially on the tips for the cache. However some of the advices make no sense at best and are potentially harmful at worst.<br />
In the PHP 10.0 blog <em>Stas</em> has some responses to the Google&#8217;s  suggestions to the optimization tips. He mentions four things that need amending from what Google suggests:</p>
<ul>
<li>Don&#8217;t copy variables for no reason</li>
<li>Avoid doing SQL queries within a loop.</li>
<li>Use single-quotes for long strings</li>
<li>Use switch/case instead of if/els</li>
</ul>
<p>Here is the <a href="http://php100.wordpress.com/2009/06/26/php-performance-google/" target="_blank">PHP performance tips from Google</a> blog from the  PHP 10.0 blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://feelitfresh.com/web20/php-optimization-tips-from-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
