<?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>Ecommy - your ecommerce support for your online business &#187; Programming</title>
	<atom:link href="http://www.ecommy.com/c/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ecommy.com</link>
	<description>the path to your business success</description>
	<lastBuildDate>Tue, 08 Nov 2011 18:11:29 +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>Hide long category list in prestashop admin</title>
		<link>http://www.ecommy.com/programming/prestashop-programming/hide-long-category-list-in-prestashop-admin</link>
		<comments>http://www.ecommy.com/programming/prestashop-programming/hide-long-category-list-in-prestashop-admin#comments</comments>
		<pubDate>Sun, 06 Mar 2011 22:35:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Prestashop]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=603</guid>
		<description><![CDATA[      
      This is a very quick fix for people having a very long list of categories inside prestashop. The problem occurs because in the product edit page from admin you need to scroll a lot to get to the save button each time. Enough with the talking, here is the piece of code: open admin/tabs/AdminProducts.php replace: [...]]]></description>
			<content:encoded><![CDATA[      
      <p>This is a very quick fix for people having a very long list of categories inside prestashop.<br />
The problem occurs because in the product edit page from admin you need to scroll a lot to get to the save button each time.</p>
<p>Enough with the talking, here is the piece of code:<br />
open admin/tabs/AdminProducts.php<br />
replace:</p>

<div class="wp_syntax"><div class="code"><pre class="php">                        <span class="sy0">&lt;</span>td <span class="kw2">class</span><span class="sy0">=</span><span class="st0">&quot;col-left&quot;</span><span class="sy0">&gt;</span><span class="st_h">'.$this-&gt;l('</span>Catalog<span class="sy0">:</span><span class="st_h">').'</span><span class="sy0">&lt;/</span>td<span class="sy0">&gt;</span>
                        <span class="sy0">&lt;</span>td<span class="sy0">&gt;</span>
                            <span class="sy0">&lt;</span>div style<span class="sy0">=</span><span class="st0">&quot;overflow: auto; min-height: 300px; padding-top: 0.6em;&quot;</span> id<span class="sy0">=</span><span class="st0">&quot;categoryList&quot;</span><span class="sy0">&gt;</span></pre></div></div>

<p>with:</p>

<div class="wp_syntax"><div class="code"><pre class="php">                         <span class="sy0">&lt;</span>td <span class="kw2">class</span><span class="sy0">=</span><span class="st0">&quot;col-left&quot;</span><span class="sy0">&gt;&lt;</span>a onclick<span class="sy0">=</span><span class="st0">&quot;javascript:openCloseLayer(\'categoryList\');return false;&quot;</span> href<span class="sy0">=</span><span class="st0">&quot;#&quot;</span><span class="sy0">&gt;</span><span class="st_h">'.$this-&gt;l('</span>Catalog<span class="sy0">:</span><span class="st_h">').'</span><span class="sy0">&lt;/</span>a<span class="sy0">&gt;&lt;/</span>td<span class="sy0">&gt;</span>
                        <span class="sy0">&lt;</span>td<span class="sy0">&gt;</span>
                            <span class="sy0">&lt;</span>div style<span class="sy0">=</span><span class="st0">&quot;display:none; overflow: auto; min-height: 300px; padding-top: 0.6em;&quot;</span> id<span class="sy0">=</span><span class="st0">&quot;categoryList&quot;</span><span class="sy0">&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/programming/prestashop-programming/hide-long-category-list-in-prestashop-admin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cakephp page title in view cake1.3</title>
		<link>http://www.ecommy.com/programming/cakephp/cakephp-page-title-in-view-cake1-3</link>
		<comments>http://www.ecommy.com/programming/cakephp/cakephp-page-title-in-view-cake1-3#comments</comments>
		<pubDate>Thu, 20 May 2010 19:06:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=528</guid>
		<description><![CDATA[      
      In order to change page title in cakephp inside a view just use the code bellow $this->set('title_for_layout', 'my cakephp page title');]]></description>
			<content:encoded><![CDATA[      
      <p>In order to change page title in cakephp inside a view just use the code bellow<br />
<code>$this->set('title_for_layout', 'my cakephp page title');</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/programming/cakephp/cakephp-page-title-in-view-cake1-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remove comparison links from magento</title>
		<link>http://www.ecommy.com/programming/remove-comparison-links-from-magento</link>
		<comments>http://www.ecommy.com/programming/remove-comparison-links-from-magento#comments</comments>
		<pubDate>Fri, 30 Apr 2010 15:56:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=524</guid>
		<description><![CDATA[      
      Copy app/code/core/Mage/Catalog/Helper/Product/Compare.php to app/code/local/Mage/Catalog/Helper/Product/ (create missing directories) Edit app/code/local/Mage/Catalog/Helper/Product/Compare.php after: public function getAddUrl($product) { add: return false;]]></description>
			<content:encoded><![CDATA[      
      <p>Copy app/code/core/Mage/Catalog/Helper/Product/Compare.php<br />
to app/code/local/Mage/Catalog/Helper/Product/ (create missing directories)</p>
<p>Edit<br />
app/code/local/Mage/Catalog/Helper/Product/Compare.php<br />
after:</p>
<blockquote><p>
public function getAddUrl($product)<br />
{
</p></blockquote>
<p>add:</p>
<blockquote><p>
return false;</p>
<blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/programming/remove-comparison-links-from-magento/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN set up for multiple projects</title>
		<link>http://www.ecommy.com/programming/svn-set-up-for-multiple-projects</link>
		<comments>http://www.ecommy.com/programming/svn-set-up-for-multiple-projects#comments</comments>
		<pubDate>Sun, 09 Aug 2009 02:30:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=455</guid>
		<description><![CDATA[      
      just a quick tutorial how to set up subversion, aka SVN to be used with multiple projects. Setting up only one repository has the downside of incrementing revision number for all the projects no matter what project is modified. The logs tend to be messy too which I don&#8217;t like. so let&#8217;s begin: 1. create [...]]]></description>
			<content:encoded><![CDATA[      
      <p>just a quick tutorial how to set up subversion, aka SVN to be used with multiple projects.</p>
<p>Setting up only one repository has the downside of incrementing revision number for all the projects no matter what project is modified. The logs tend to be messy too which I don&#8217;t like.</p>
<p>so let&#8217;s begin:<span id="more-455"></span></p>
<p>1. create a repository for let&#8217;s say projects</p>
<p>svnadmin create /home/demo/repo/project1</p>
<p>svnadmin create /home/demo/repo/project2</p>
<p>where repo, project1 and project2 are all directories that must be previously created</p>
<p>2. import the projects</p>
<p>a. copy the projects to the server &#8211; let&#8217;s say to /home/demo/project1 and /home/demo/project2</p>
<p>b. execute</p>
<p>svn import /home/demo/project1 file:///home/demo/repo/project1 -m &#8220;initial import of project1&#8243;</p>
<p>svn import /home/demo/project2 file:///home/demo/repo/project2 -m &#8220;initial import of project2&#8243;</p>
<p><em>Note: I am not using trunk branches and tags directories here just to keep things simple.</em></p>
<p>3.  start up the server so we can checkout the projects remotely</p>
<p>svnserve -d -r /home/demo/repo/</p>
<p><code><br />
Please note that using svnserve you can grant read/write permission to a certain user. Because we have separate repositories you need to configure the permissions for each repository. This is a little downside with having multiple repositories but I can live with that <img src='http://www.ecommy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </code></p>
<p>4.  setting up permissions</p>
<p>each repository will have a conf/svnserve.conf and a conf/passwd file. Edit svnserve.conf and add under [general]:</p>
<p>yourSvnUserForProject1 = write<br />
anon-access = none<br />
auth-access = write<br />
password-db = passwd<br />
realm = project1</p>
<p>edit passwd:</p>
<p>yourSvnUserForProject1=aPassword</p>
<p>5. done install on your local pc TortoiseSVN, create a dir where you want the project 1 do be checkout, right click-&gt;checkout add svn://serveip/repo/project1 as url and then you will be asked for username pass (yourSvnUserForProject1=aPassword)</p>
<p>6. of course you also need to checkout the project to where your website will be live:</p>
<p>svn co svn://serverip/repo/project1</p>
<p>or if your website is already live and don&#8217;t want a downtime:<br />
svn co svn://serverip/project1/ ./ &#8211;username xxx &#8211;password xxx &#8211;force </p>
<p>There is a lot more where it comes to subversion but I hope  managing multiple projects with svn in the aproach I choose will prove to help others too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/programming/svn-set-up-for-multiple-projects/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install SVN on CentOS problem</title>
		<link>http://www.ecommy.com/programming/install-svn-on-centos-problem</link>
		<comments>http://www.ecommy.com/programming/install-svn-on-centos-problem#comments</comments>
		<pubDate>Fri, 08 May 2009 18:15:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=397</guid>
		<description><![CDATA[      
      I run into a problem when installing subversion so if you have the same problem here it is: Error: Missing Dependency: perl(URI) &#62;= 1.17 is needed by package subversion In order to solve it type this as root: wget http://yum.trixbox.org/centos/5/RPMS/perl-URI-1.35-3.noarch.rpm rpm -i perl-URI-1.35-3.noarch.rpm  yum install subversion That&#8217;s it! if you have questions please ask.]]></description>
			<content:encoded><![CDATA[      
      <p>I run into a problem when installing subversion so if you have the same problem here it is:</p>
<p><strong>Error: Missing Dependency: perl(URI) &gt;= 1.17 is needed by package subversion</strong></p>
<p>In order to solve it type this as root:</p>
<blockquote><p>wget http://yum.trixbox.org/centos/5/RPMS/perl-URI-1.35-3.noarch.rpm<br />
rpm -i perl-URI-1.35-3.noarch.rpm <br />
yum install subversion</p></blockquote>
<p>That&#8217;s it! if you have questions please ask.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/programming/install-svn-on-centos-problem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Recommends Achievo ATK PHP Framework</title>
		<link>http://www.ecommy.com/programming/oracle-recommends-achievo-atk-php-framework</link>
		<comments>http://www.ecommy.com/programming/oracle-recommends-achievo-atk-php-framework#comments</comments>
		<pubDate>Sat, 08 Nov 2008 08:41:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ATK]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[PHP Framework]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=225</guid>
		<description><![CDATA[      
      OTN (Oracle Technology Network) writes about how to develop a complete PHP application with no more than 30 lines of code using ATK PHP Framework. I must admit they have a great and simple to follow tutorial. I am a fan of CakePHP framework unfortunately However it caught my interest and plan to give it [...]]]></description>
			<content:encoded><![CDATA[      
      <p>OTN (Oracle Technology Network) writes about how to develop a complete PHP application with no more than 30 lines of code using ATK PHP Framework.</p>
<p>I must admit they have a great and simple to follow tutorial. I am a fan of CakePHP framework unfortunately <img src='http://www.ecommy.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>However it caught my interest and plan to give it a go today and see how I can flex it&#8217;s muscles.</p>
<p>The 30 lines application tutorial can be found here<br />
<a href="http://www.oracle.com/technology/pub/articles/jansch_atk.html"> http://www.oracle.com/technology/pub/articles/jansch_atk.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/programming/oracle-recommends-achievo-atk-php-framework/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Local Date</title>
		<link>http://www.ecommy.com/programming/php-local-date</link>
		<comments>http://www.ecommy.com/programming/php-local-date#comments</comments>
		<pubDate>Thu, 06 Nov 2008 12:18:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[greek]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php local date]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=204</guid>
		<description><![CDATA[      
      Using date and time functions in PHP is as easy as it gets. However there are times when the website you build is addressed to a non-English audience, let&#8217;s say Greek. We know that date(&#8220;F&#8221;) will echo &#8220;January&#8221; if we are in January and so on. So what if we wanted to echo the current [...]]]></description>
			<content:encoded><![CDATA[      
      <p>Using date and time functions in PHP is as easy as it gets. However there are times when the website you build is addressed to a non-English audience, let&#8217;s say Greek.</p>
<p>We know that date(&#8220;F&#8221;) will echo &#8220;January&#8221; if we are in January and so on. So what if we wanted to echo the current month in Greek (January = Ιανουάριος)?</p>
<p>The following code snipped will say everything it needs to:<br />
setlocale(LC_TIME, &#8216;greek&#8217;);<br />
echo strftime(&#8220;%B&#8221;); //Ιανουάριος</p>
<p>Note: On some windows systems the above code won&#8217;t work so you may want to try:<br />
setlocale(LC_CTYPE, &#8216;greek&#8217;);<br />
setlocale(LC_TIME, &#8216;greek&#8217;);<br />
echo strftime(&#8220;%B&#8221;); //Ιανουάριος</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/programming/php-local-date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakeFest Argentina</title>
		<link>http://www.ecommy.com/programming/cakefest-argentina</link>
		<comments>http://www.ecommy.com/programming/cakefest-argentina#comments</comments>
		<pubDate>Thu, 06 Nov 2008 11:47:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[argentina]]></category>
		<category><![CDATA[cackephp]]></category>
		<category><![CDATA[cakefest]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=202</guid>
		<description><![CDATA[      
      The only official gathering organized by the Cake Software Foundation, cakeFest will offer talks and workshops given by developers from the cakePHP community: * Garret Woodworth: Keynote * Nate Abele: Keynote * Larry E. Masters: Keynote * Felix Geisendörfer: Using jQuery with CakePHP * Felix Geisendörfer: GIT for CakePHP projects * Tim Koschützki: Unit Testing [...]]]></description>
			<content:encoded><![CDATA[      
      <p>The only official gathering organized by the Cake Software Foundation, cakeFest will offer talks and workshops given by developers from the cakePHP community:<br />
    *  Garret Woodworth: Keynote<br />
    * Nate Abele: Keynote<br />
    * Larry E. Masters: Keynote<br />
    * Felix Geisendörfer: Using jQuery with CakePHP<br />
    * Felix Geisendörfer: GIT for CakePHP projects<br />
    * Tim Koschützki: Unit Testing in CakePHP<br />
    * Mariano Iglesias: Internationalization made easy with CakePHP<br />
    * Mariano Iglesias: Behaviors en CakePHP<br />
    * Mariano Iglesias: Desarrollando shells<br />
    * Fabián Ramirez: CakePHP en las grandes empresas con casos reales<br />
    * Alejandro López Hernández: CakePHP en el Hospital General de México<br />
    * Martín Radosta: Seguridad a nivel de registro basada en SQL<br />
    * Guillermo Nuñez: Microformatos, su aplicación y helpers en CakePHP<br />
    * Ryan Peterson: Collective Inteligence algorithms with CakePHP</p>
<p>CakeFest will begin 2 dec this year in Argentina.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/programming/cakefest-argentina/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP &amp; Oracle &#8211; Singapore Meeting</title>
		<link>http://www.ecommy.com/programming/php-oracle-singapore-meeting</link>
		<comments>http://www.ecommy.com/programming/php-oracle-singapore-meeting#comments</comments>
		<pubDate>Fri, 31 Oct 2008 08:59:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=179</guid>
		<description><![CDATA[      
      I recently invested some of my time to watch the PHP &#38; Oracle presentation video from the meeting which took place this month in Singapore: If you are in the PHP business it really worth considering porting your database to Oracle 10gR2 or 11g and using oci8 as oracle datasource for your application. Just some [...]]]></description>
			<content:encoded><![CDATA[      
      <p>I recently invested some of my time to watch the PHP &amp; Oracle presentation video from the meeting which took place this month in Singapore:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="437" height="290" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="viddler_acc6d377" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="src" value="http://www.viddler.com/player/acc6d377/" /><embed id="viddler_acc6d377" type="application/x-shockwave-flash" width="437" height="290" src="http://www.viddler.com/player/acc6d377/" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>If you are in the PHP business it really worth considering porting your database to Oracle 10gR2 or 11g and using oci8 as oracle datasource for your application.</p>
<p><strong>Just some of the performance features you will get</strong>:<br />
-prefetching rows (reducing round trips from web to database servers)<br />
guidelines to follow when prefetching rows:<br />
* don&#8217;t prefetch more data than necessary<br />
* use SQL to process data especially analytics functions</p>
<p>-binding scalars<br />
(avoiding double parsing SQL statements like SELECT * FROM USERS WHERE user_id=2 and SELECT * FROM USERS WHERE user_id=3)<br />
A great advantage is that avoids SQL injections too!</p>
<p>-transactions</p>
<p>-PL/SQL</p>
<p>-array binds</p>
<p>-statement cache</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/programming/php-oracle-singapore-meeting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  www.ecommy.com/c/programming/feed ) in 0.46644 seconds, on Feb 6th, 2012 at 10:31 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 6th, 2012 at 11:31 am UTC -->
