<?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>I want to be free &#187; plugin</title>
	<atom:link href="http://i1t2b3.com/category/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://i1t2b3.com</link>
	<description>Any fool can make things bigger and more complex</description>
	<lastBuildDate>Fri, 03 Feb 2012 17:24:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zend View Helpers inheritance</title>
		<link>http://i1t2b3.com/2010/04/06/zend-view-helpers-inheritance/</link>
		<comments>http://i1t2b3.com/2010/04/06/zend-view-helpers-inheritance/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:01:38 +0000</pubDate>
		<dc:creator>Skakunov Alexander</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://i1t2b3.com/?p=591</guid>
		<description><![CDATA[It&#8217;s handy to use View Helpers in Zend FW driven project. For example, you want to make an in-place tracker (e.g. Google Analytics) &#8212; you create a helper class My_View_Helper_Tracker inherited from Zend_View_Helper, Zend finds its automatically and then you are free to use your helper method: echo $this->tracker( $trackerID ); The question is what [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s handy to use <noindex><a rel="nofollow" href="http://framework.zend.com/manual/en/zend.view.helpers.html">View Helpers</a></noindex> in Zend FW driven project. For example, you want to make an in-place tracker (e.g. Google Analytics) &mdash; you create a helper class My_View_Helper_Tracker inherited from Zend_View_Helper, Zend finds its automatically and then you are free to use your helper method:</p>
<pre><code>echo $this->tracker( $trackerID );</code></pre>
<p>The question is what you gonna do if you want a base class for a family of trackers?</p>
<p>It&#8217;s not so obvoius due to naming conventions.</p>
<p>Let&#8217;s say you want 2 kinds of trackers: Google Analytics and Euroads.</p>
<p>1. You create such files structure:</p>
<pre><code>
library
 - My
   - View
    - Helper
      - Tracker
        Abstract.php
        - Google
          Page.php
        - Euroads
          Owner.php
          Guest.php
</code></pre>
<p>2. You name your classes as:</p>
<ul>
<li>My_View_Helper_Tracker_Euroads_Guest (extends My_View_Helper_Tracker_Abstract)</li>
<li>&#8230; so on &#8230;</li>
</ul>
<p>3. Class methods are:</p>
<pre><code class="php">public function tracker_euroads_guest(...) ...</code></pre>
<p>4. And the trickiest part: the helper call:</p>
<pre><code class="php">echo $this->tracker_<strong>E</strong>uroads_<strong>G</strong>uest</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://i1t2b3.com/2010/04/06/zend-view-helpers-inheritance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery plugin: Add2Cart</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/</link>
		<comments>http://i1t2b3.com/2009/01/29/add2cart/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 14:03:57 +0000</pubDate>
		<dc:creator>Skakunov Alexander</dc:creator>
				<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://i1t2b3.com/?p=224</guid>
		<description><![CDATA[I added a jQuery plugin called add2cart. This plugin implements visual effect of adding something to cart (busket). Visually it&#8217;s similar to Microsoft Word post-save visual effect, when a gray rectangular of page moves down to the toolbar. Example of usage: &#60;input type="button" value="Add to cart" onclick="$.add2cart( 'product1_id', 'cart_img_id' )" /&#62; You can try it [...]]]></description>
			<content:encoded><![CDATA[<p>I added a jQuery plugin called <noindex><a rel="nofollow" href="http://plugins.jquery.com/project/add2cart">add2cart</a></noindex>.</p>
<p>This plugin implements visual effect of adding something to cart (busket). Visually it&#8217;s similar to Microsoft Word post-save visual effect, when a gray rectangular of page moves down to the toolbar.</p>
<p>Example of usage:</p>
<pre><code>&lt;input type="button" value="Add to cart"
  onclick="$.add2cart( 'product1_id', 'cart_img_id'  )" /&gt;</code></pre>
<p>You can try it out at <a href="http://i1t2b3.com/my-projects/add2cart-demo/"><strong>demo page</strong></a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://i1t2b3.com/2009/01/29/add2cart/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

