<?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>ActiveCodeline</title>
	<atom:link href="http://activecodeline.com/feed" rel="self" type="application/rss+xml" />
	<link>http://activecodeline.com</link>
	<description>Blog site of Branko Ajzele, web application developer.</description>
	<lastBuildDate>Sun, 29 Aug 2010 13:18:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Magento SID issue</title>
		<link>http://activecodeline.com/magento-sid-issue</link>
		<comments>http://activecodeline.com/magento-sid-issue#comments</comments>
		<pubDate>Wed, 18 Aug 2010 10:38:43 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1260</guid>
		<description><![CDATA[Sometimes, Magento will add a SID parameter to your url like http://myshop.net/customer/?SID=96408b4e5b7c426e76b6a0e29292dca7. This can break up your code and make certain pages render as non existing depending on how you outputted your form action urls. In case you need a quick fix, all you need is to open the &#8220;app\code\core\Mage\Core\Model\Session\Abstract.php&#8221; file and around line 72 [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, Magento will add a SID parameter to your url like http://myshop.net/customer/?SID=96408b4e5b7c426e76b6a0e29292dca7. This can break up your code and make certain pages render as non existing depending on how you outputted your form action urls.</p>
<p>In case you need a quick fix, all you need is to open the &#8220;app\code\core\Mage\Core\Model\Session\Abstract.php&#8221; file and around line 72 change &#8220;<strong>protected $_skipSessionIdFlag = true;</strong>&#8221; to &#8220;<strong>protected $_skipSessionIdFlag  = false;</strong>&#8220;. </p>
<p>Surely this is a modified core file so for more general fix you can make yourself an extension that does the same. In such case you would most likely override method &#8220;<strong>setSkipSessionIdFlag($flag)</strong>&#8221; in the same file. </p>
<p>Or you can play with .htaccess file in order to try and solve the issue.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/magento-sid-issue/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to resolve and debug &#8220;Failed to parse response&#8221; errors in Magento API</title>
		<link>http://activecodeline.com/how-to-resolve-and-debug-failed-to-parse-response-errors-in-magento-api</link>
		<comments>http://activecodeline.com/how-to-resolve-and-debug-failed-to-parse-response-errors-in-magento-api#comments</comments>
		<pubDate>Sat, 14 Aug 2010 14:20:13 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1254</guid>
		<description><![CDATA[Today I was working on my Mapy project/extension. In one moment I accidentally pasted my method two times into the same class. In most of the cases, error like this would manifest itself like &#8220;Cannot redeclare&#8230;&#8221; on the output. However, API stuff is abstracted trough several layers/classes. One way of debugging this is to open [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was working on my <a href="http://activecodeline.com/projects/magento/mapy">Mapy project/extension</a>. In one moment I accidentally pasted my method two times into the same class. In most of the cases, error like this would manifest itself like &#8220;Cannot redeclare&#8230;&#8221; on the output. However, API stuff is abstracted trough several layers/classes. One way of debugging this is to open the <strong>app/code/core/Mage/Api/Model/Server/Handler/Abstract.php</strong> file and look for &#8220;<strong>public function call($sessionId, $apiPath, $args = array())</strong>&#8221; method.<span id="more-1254"></span></p>
<p><a href="http://activecodeline.com/wp-content/uploads/2010/08/Magento_Failed_To_Parse_Response.png"><img src="http://activecodeline.com/wp-content/uploads/2010/08/Magento_Failed_To_Parse_Response-300x222.png" alt="" title="Magento_Failed_To_Parse_Response" width="300" height="222" class="alignnone size-medium wp-image-1258" /></a></p>
<p>To see if you are on the right track, first thing you can do is to set something like &#8220;return &#8216;test&#8217;;&#8221; right on top of the method body. From there on you go line by line below until you reach the line that broke the response and caused the &#8220;Failed to parse response&#8221; messages. </p>
<p>In my case this was a completely innocent line of code that broke it, line 277 &#8220;$model = Mage::getModel($modelName);&#8221;. Notice that although inside the try-catch block, it still broke as this error in my class had nothing to do with exception, but standard PHP error.</p>
<p>So in essence I did two things. First I did &#8220;return &#8216;My model name: &#8216;.$modelName;&#8221; just above line 277. After that I tried to do &#8220;$myModel = new My_Model_Name()&#8221; somewhere in my code independent of API call. This is where I spotted the &#8220;Cannot redeclare&#8230;&#8221; error.</p>
<p>I realize these are trivial things, just felt the need to write it down is someone is having hard time debugging it.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/how-to-resolve-and-debug-failed-to-parse-response-errors-in-magento-api/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento, please change the extension directory structure</title>
		<link>http://activecodeline.com/magento-please-change-the-extension-directory-structure</link>
		<comments>http://activecodeline.com/magento-please-change-the-extension-directory-structure#comments</comments>
		<pubDate>Thu, 12 Aug 2010 12:58:01 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1244</guid>
		<description><![CDATA[After over a two years of everyday development with Magento I have developed a strong feelings about the way that Magento directory structure is composed. It might sound strange or silly, but I guaranty you that Magento folder structure adds certain amount of unnecessary time to development process. What bothers me the most is the [...]]]></description>
			<content:encoded><![CDATA[<p>After over a two years of everyday development with Magento I have developed a strong feelings about the way that Magento directory structure is composed. </p>
<p>It might sound strange or silly, but I guaranty you that Magento folder structure adds certain amount of unnecessary time to development process. What bothers me the most is the way you are forced to develop &#8220;by the book&#8221; extensions. Is it the lack of vision of purposely engineered concept that forces you to span your custom modules among tens of sub-folders that in the end do not belong to your extension.<span id="more-1244"></span></p>
<p>What I would like to see is the WordPress or Drupal concept, where each extension with all of its files and logic lives in its one folder. No special view folders in main theme, no special layout folders in custom/default theme etc. Only one place/folder to host your extensions.</p>
<p>Here is my vision of extensions folder layout/structure that I find interesting and appealing.</p>
<p><img src="http://activecodeline.com/wp-content/uploads/2010/08/magento_proposed_directory_structure_for_modules.png" alt="" title="magento_proposed_directory_structure_for_modules" width="329" height="270" class="alignnone size-full wp-image-1245" /></p>
<p>Certanly this raises several questions like:</p>
<ul>
<li>Can we put javascript in this sub-folder, as it is to deep in the modules directory, is this security implication or SEO implication or, etc.</li>
<li>Can we put css in this sub-folder, as it is to deep in the modules directory, is this security implication or SEO implication or, etc.</li>
<li>Can we put style images in this sub-folder, as it is to deep in the modules directory, is this security implication or SEO implication or, etc. </li>
<li>How does this relate to my designer doing the styling, etc.</li>
<li>&#8230;</li>
</ul>
<p>Have you ever had these problems with extensions/modules for WordPress, Drupal, Joomla, etc.? I doubt that. </p>
<p>I would say that easy workaround can be made for each of the above &#8220;implications&#8221;, leaving you with &#8220;one extension &#8211; one folder&#8221; concept. </p>
<p>Concept like that is easy to maintain, plus no robust Magento Connect is needed, etc. Certainly it has its flaws, but surely does the current one.</p>
<p>Enough said, for now <img src='http://activecodeline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  -Just a little something I have been tinkering around.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/magento-please-change-the-extension-directory-structure/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>My &#8220;July &amp; August of 2010&#8243; overview and future directions</title>
		<link>http://activecodeline.com/my-july-august-of-2010-overview-and-future-directions</link>
		<comments>http://activecodeline.com/my-july-august-of-2010-overview-and-future-directions#comments</comments>
		<pubDate>Thu, 12 Aug 2010 11:49:30 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1241</guid>
		<description><![CDATA[Last few weeks have been extremely joyful for me. I would say more in a personal life then in business but I probably should not complaint while things are moving in positive direction. Certainly the biggest thing that changed my life is the recent news that I will become a father in just a little [...]]]></description>
			<content:encoded><![CDATA[<p>Last few weeks have been extremely joyful for me. I would say more in a personal life then in business but I probably should not complaint while things are moving in positive direction.</p>
<p>Certainly the biggest thing that changed my life is the recent news that I will become a father in just a little less than 9 months from now. Got me thinking to what true values are in our lives. Most of my last few weeks I spent on renovating the house, new furniture etc.</p>
<p>However, my coding skills have stayed sharp in that time as my job never rests. Although I am currently doing the &#8220;Project Management&#8221; in my 4 people team, most of the time (60-70%) I actually code stuff (Magento projects).</p>
<p>My recent &#8220;exhibition&#8221; to the mobile world of Android turned out to be not just a test ride but something that will fit in nicely in the future. With that in mind I decided to ditch some of the previous categories on my site and divide it among Magento and Android related stuff. </p>
<p>I also decided that from now on I will publish all my future public work under the &#8220;Projects&#8221; section of the site. Most likely I&#8217;ll be using github to version my stuff so it will be far more easier to correct reported issue and distribute updates to those who use it.</p>
<p>Hopefully the first project I will upload on the github will be <a href="http://activecodeline.com/projects/magento/mapy">Mapy</a>.</p>
<p>That&#8217;s it for now. Expect new articles and new extensions soon. </p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/my-july-august-of-2010-overview-and-future-directions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photoshop to Android &#8211; Gradient quality issue</title>
		<link>http://activecodeline.com/photoshop-to-android-gradient-quality-issue</link>
		<comments>http://activecodeline.com/photoshop-to-android-gradient-quality-issue#comments</comments>
		<pubDate>Sat, 24 Jul 2010 09:18:19 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1158</guid>
		<description><![CDATA[For the last few days I have been spending my free time working on a Magento &#8211; Android application, that will hopefully soon seen the light of day. Visual part of application is essential to its success. With that in mind I am/was determined to give my best to style the app best to my [...]]]></description>
			<content:encoded><![CDATA[<p>For the last few days I have been spending my free time working on a Magento &#8211; Android application, that will hopefully soon seen the light of day. Visual part of application is essential to its success. With that in mind I am/was determined to give my best to style the app best to my skills (although pro developer now, few years ago I was doing graphical design for living).</p>
<p>After creating a decent looking gradient in Photoshop for my application background I need to replicate this background in my Android app. I did not want to simply export the background image and set it as background of some Activity. I wanted my gradient background in Android to be done in programmatic way to retain the visual effect across different screen resolution on various devices.<span id="more-1158"></span></p>
<p>Here is my Photoshop result of how I wanted my gradient to look like.</p>
<p><img src="http://activecodeline.com/wp-content/uploads/2010/07/GradientBackgroundExample.png" alt="" title="GradientBackgroundExample" width="480" height="800" class="alignnone size-full wp-image-1159" /></p>
<p>Doing gradient in Android is easy. All you need to do is to create a shape then use this shape as a background on some layer. Here is example of my shape (<strong>res/drawable/main_bg.xml</strong>) that reflects the one shown on the sample photo above.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;shape</span> <span style="color: #000066;">xmlns:android</span>=<span style="color: #ff0000;">&quot;http://schemas.android.com/apk/res/android&quot;</span> <span style="color: #000066;">android:shape</span>=<span style="color: #ff0000;">&quot;rectangle&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> 
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gradient</span> </span>
<span style="color: #009900;">		<span style="color: #000066;">android:startColor</span>=<span style="color: #ff0000;">&quot;#e5eb43&quot;</span> </span>
<span style="color: #009900;">		<span style="color: #000066;">android:endColor</span>=<span style="color: #ff0000;">&quot;#214209&quot;</span></span>
<span style="color: #009900;">		<span style="color: #000066;">android:type</span>=<span style="color: #ff0000;">&quot;radial&quot;</span></span>
<span style="color: #009900;">		<span style="color: #000066;">android:gradientRadius</span>=<span style="color: #ff0000;">&quot;326&quot;</span></span>
<span style="color: #009900;">	<span style="color: #000000; font-weight: bold;">/&gt;</span></span>                
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/shape<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>In order to use this gradient background to some layer, simply add the <strong>android:background=&#8221;@drawable/main_bg&#8221;</strong> to that layer.</p>
<p>By default here is what the final result looks like in my HTC Desire phone.</p>
<p><img src="http://activecodeline.com/wp-content/uploads/2010/07/AndroidGradient1.png" alt="" title="AndroidGradient1" width="480" height="800" class="alignnone size-full wp-image-1160" /></p>
<p>As you can see, the gradient result is not what you expected from high quality device such as this (HTC Desire, with 480x800px screen). Luckily the issue is not really an issue and its not related to the screen capabilities of your phone (at least not in this case).</p>
<p>To fix the &#8220;issue&#8221; you simply add the code shown below to your Activity class.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">@Override
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> onAttachedToWindow<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">super</span>.<span style="color: #006633;">onAttachedToWindow</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003399;">Window</span> window <span style="color: #339933;">=</span> getWindow<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	window.<span style="color: #006633;">setFormat</span><span style="color: #009900;">&#40;</span>PixelFormat.<span style="color: #006633;">RGBA_8888</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>And here is how the final gradient result looks like now.</p>
<p><img src="http://activecodeline.com/wp-content/uploads/2010/07/AndroidGradient2.png" alt="" title="AndroidGradient2" width="480" height="800" class="alignnone size-full wp-image-1161" /></p>
<p>Hope this helps someone.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/photoshop-to-android-gradient-quality-issue/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to screenshot your Android application</title>
		<link>http://activecodeline.com/how-to-screenshot-your-android-application</link>
		<comments>http://activecodeline.com/how-to-screenshot-your-android-application#comments</comments>
		<pubDate>Sat, 24 Jul 2010 08:36:55 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1147</guid>
		<description><![CDATA[For various reasons one might need to screenshot his Android application. Taking a screenshot of application both in emulator and real device in Android is extremely easy. To be honest it took me a while to spot the screenshot feature in the Eclipse (mainly cause I never needed it before). Step (1) you run your [...]]]></description>
			<content:encoded><![CDATA[<p>For various reasons one might need to screenshot his Android application. Taking a screenshot of application both in emulator and <a href="http://activecodeline.com/how-to-connect-and-get-debug-ready-with-your-htc-desire-android-phone-and-eclipse-ide">real device</a> in Android is extremely easy.<br />
To be honest it took me a while to spot the screenshot feature in the Eclipse (mainly cause I never needed it before).<span id="more-1147"></span></p>
<ul>
<li><em>Step (1)</em> you run your application in the debug mode by right clicking the application project in the Eclipse and choosing &#8220;Debug as > Android Application&#8221;.</li>
<li><em>Step (2)</em> you switch to DDMS perspective in Eclipse.</li>
<li><em>Step (3)</em> you click on the screenshot taking icon.</li>
<li><em>Step (4)</em> &#8220;Device Screen Capture&#8221; window pops out (from here the rest is pretty self explanatory).</li>
</ul>
<p><img src="http://activecodeline.com/wp-content/uploads/2010/07/Step1-150x150.png" alt="" title="Step1" width="150" height="150" class="alignnone size-thumbnail wp-image-1148" /> <img src="http://activecodeline.com/wp-content/uploads/2010/07/Step2-150x150.png" alt="" title="Step2" width="150" height="150" class="alignnone size-thumbnail wp-image-1149" />  <img src="http://activecodeline.com/wp-content/uploads/2010/07/Step3-150x150.png" alt="" title="Step3" width="150" height="150" class="alignnone size-thumbnail wp-image-1150" /></p>
<p>And here are some random screenshots of certain apps on my Android powered HTC Desire phone.</p>
<p><object width="400" height="300"><param name="flashvars" value="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Fajzele%2Fsets%2F72157624569589798%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fajzele%2Fsets%2F72157624569589798%2F&#038;set_id=72157624569589798&#038;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowFullScreen="true" flashvars="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Fajzele%2Fsets%2F72157624569589798%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fajzele%2Fsets%2F72157624569589798%2F&#038;set_id=72157624569589798&#038;jump_to=" width="400" height="300"></embed></object></p>
<p>Hope this helps some of you.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/how-to-screenshot-your-android-application/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to connect and get debug ready with your HTC Desire Android phone and Eclipse IDE</title>
		<link>http://activecodeline.com/how-to-connect-and-get-debug-ready-with-your-htc-desire-android-phone-and-eclipse-ide</link>
		<comments>http://activecodeline.com/how-to-connect-and-get-debug-ready-with-your-htc-desire-android-phone-and-eclipse-ide#comments</comments>
		<pubDate>Sat, 24 Jul 2010 08:15:37 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1135</guid>
		<description><![CDATA[If you are starting Android phone development (not exactly sure this is the right terminology) one of the first things you will most likely want to do is to connect your Android powered phone to Eclipse. Prime reason for this would surely be the debugging. On top of that additional bonus might be the screen-shooting [...]]]></description>
			<content:encoded><![CDATA[<p>If you are starting Android phone development (not exactly sure this is the right terminology) one of the first things you will most likely want to do is to connect your Android powered phone to Eclipse. Prime reason for this would surely be the debugging. On top of that additional bonus might be the screen-shooting your or other people applications.</p>
<p>To make it short, this mini HowTo is about HTC Android phone any my experience with it. Unlike some other Android based phones, when you connect HTC Desire via USB cable to your computer, chances are it wont get recognized in the Windows. Yea, for those of you with the weak spot towards Windows this HowTo is based on my Windows machine.<span id="more-1135"></span></p>
<p>So, first things first. If you are doing a fresh install of entire Android development environment, then you first need to go trough the official Google articles named <strong><a href="http://developer.android.com/sdk/installing.html">Installing the SDK</a></strong> and <strong><a href="http://developer.android.com/guide/developing/eclipse-adt.html">Developing In Eclipse, with ADT</a></strong>. Once you do that you will get the menu item in Eclipse under the &#8220;Window > Android SDK and AVD Manager&#8221; like shown on the screenshot below.</p>
<p>After you get this new &#8220;menu item&#8221;, you need to click on it and install some extra stuff like shown on the screenshots below.</p>
<p><img src="http://activecodeline.com/wp-content/uploads/2010/07/AndroidEclipse1-300x207.png" alt="" title="AndroidEclipse1" width="300" height="207" class="alignnone size-medium wp-image-1137" /> <img src="http://activecodeline.com/wp-content/uploads/2010/07/AndroidEclipse2-300x182.png" alt="" title="AndroidEclipse2" width="300" height="182" class="alignnone size-medium wp-image-1138" /></p>
<p>When all of the above is done we can actually approach to the final &#8220;How to connect and get debug ready with your HTC Desire Android phone and Eclipse IDE&#8221; step.</p>
<p>When you connect your HTC Desire via USB, it will not install all the needed USB drivers. Windows will recognize it as a USB stick (drive). Now all you need to do is open this drive for browsing and in the root you will find the HTCSync_2.0.28.exe or something with similar name. Installing this file will give you full USB drivers needed for Windows to properly see your device.</p>
<p><img src="http://activecodeline.com/wp-content/uploads/2010/07/HTCDesireUSBDrivers-237x300.png" alt="" title="HTCDesireUSBDrivers" width="237" height="300" class="alignnone size-medium wp-image-1140" /></p>
<p>Now when you go to Eclipse, create a new Androd app and do &#8220;Debug As > Android Application&#8221; you should see new window pop up as shown on the screen below.</p>
<p><img src="http://activecodeline.com/wp-content/uploads/2010/07/HTCDesireDebug-300x201.png" alt="" title="HTCDesireDebug" width="300" height="201" class="alignnone size-medium wp-image-1139" /></p>
<p>I realize this HowTo might not be 100% in detail, but hopefully it will get you on the right track. Basically it all comes down to installing the USB drivers to get your HTC phone visible by Windows.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/how-to-connect-and-get-debug-ready-with-your-htc-desire-android-phone-and-eclipse-ide/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Definitive Guide to Magento by Adam McCombs and Robert Banh</title>
		<link>http://activecodeline.com/the-definitive-guide-to-magento-by-adam-mccombs-and-robert-banh</link>
		<comments>http://activecodeline.com/the-definitive-guide-to-magento-by-adam-mccombs-and-robert-banh#comments</comments>
		<pubDate>Fri, 09 Jul 2010 17:15:28 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1129</guid>
		<description><![CDATA[Yesterday I got my hands on printed edition of &#8220;The Definitive Guide to Magento by Adam McCombs and Robert Banh&#8221; book. Our company purchased it among other few books. When it comes to IT books I am mostly skeptical, cause rarely they manage to fill in even the &#8220;a bit more advanced&#8221; sections. Given the [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I got my hands on printed edition of &#8220;The Definitive Guide to Magento by Adam McCombs and Robert Banh&#8221; book. <a href="http://inchoo.net">Our company</a> purchased it among other few books. When it comes to IT books I am mostly skeptical, cause rarely they manage to fill in even the &#8220;a bit more advanced&#8221; sections. Given the fact that this book is all about Magento my skepticism was even higher. Turned out that this book truly stands out when it comes to the stuff you can learn from it.<span id="more-1129"></span></p>
<p>Before I proceed I would like to emphasize that although the author mentions me personally in the book (on the page 210), my positive review of it is by no means result of that.</p>
<p>I would rate &#8220;Part 2: Advanced Magento development&#8221; as a must read for every Magento developer that has not yet overcome these steps. Additional bonus for the book goes on the &#8220;Apendix: API References&#8221; section that covers the use of Magento API pretty in depth. What impressed me where the &#8220;var_dump&#8221; response examples for each API call.</p>
<p>I have noticed that the book got some negative reviews, something in terms of &#8220;The Definitive Guide To Magento&#8230; really? Unless you&#8217;re the kind of person that in general has a hard time using computers, about 60% of this book is a complete waste of time in my opinion&#8230;&#8221;. Lets say I even agree with comments like these, but then again paying around $40-50 for the book is nothing compared to around $60-200/hour we take in professional Magento development. In such cases I would say this: I personally learned nothing new from this book, but several of my coworkers (junior developers) did and for that book payed off for us.</p>
<p>There is no point of me reviewing individual sections of the book here. If you are in the loop of learning Magento I would strongly recommend you purchase the book. Here are the links <a href="http://www.amazon.com/Definitive-Guide-Magento-Adam-McCombs/dp/1430272295">Amazon</a> or <a href="http://apress.com/book/view/1430272295">Apress.com</a> site.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/the-definitive-guide-to-magento-by-adam-mccombs-and-robert-banh/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Magento vs Zend Server CE (5.0.2) &#8211; Stupid case of ZendEnabler</title>
		<link>http://activecodeline.com/magento-vs-zend-server-ce-5-0-2-stupid-case-of-zendenabler</link>
		<comments>http://activecodeline.com/magento-vs-zend-server-ce-5-0-2-stupid-case-of-zendenabler#comments</comments>
		<pubDate>Mon, 05 Jul 2010 09:55:29 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1121</guid>
		<description><![CDATA[Recently I bought myself a brand new 18.4 Toshiba Satellite laptop. Given the job I work on, one of the first things for me was to setup my self a web server so I can work my magic on Magento related project. At the moment I am running Windows 7 Home Premium on my laptop, [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I bought myself a brand new 18.4 Toshiba Satellite laptop. Given the job I work on, one of the first things for me was to setup my self a web server so I can work my magic on Magento related project. At the moment I am running Windows 7 Home Premium on my laptop, so I figured why not try installing Zend Server CE (5.0.2, latest as of time of this writing) on it. Figured it will be an easy job. FOr a moment I forgot that usually nothing is easy when it comes to Magento <img src='http://activecodeline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  -I got my Zend Server CE up an running in a matter of minutes. First thing I did after the server installation was to configure all the timeouts, knowing how Magento is resource consuming.<span id="more-1121"></span></p>
<p>After initial configuration I started my Magento installation. And here is where I hit the wall. My installation was OK until it reached the step where it needed to write to database. After some running time browser would give me a &#8220;File Download&#8221; dialog with file whose content says &#8220;<strong>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</strong>&#8220;. My first reaction is was that I forgot to boost some timeout in the config. </p>
<p>After several minutes of tracing the issue, I finally figured that it was a &#8220;ZendEnablerApache.dll&#8221; that was causing my &#8220;unable to service your request&#8221; issue. I traced the configuration to &#8220;C:\Program Files\Zend\ZendServer\etc\ZendEnablerConf.xml&#8221; file. There I changed the <strong>connectionTimeout</strong> to 18000 and the <strong>requestTimeout</strong> to 36000. After that I restarted my Apache and was able to install Magento and do other time consuming PHP operations.</p>
<p>Hope this helps some of you who might experience the same issue.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/magento-vs-zend-server-ce-5-0-2-stupid-case-of-zendenabler/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>My last month overview (June)</title>
		<link>http://activecodeline.com/my-last-month-overview-june</link>
		<comments>http://activecodeline.com/my-last-month-overview-june#comments</comments>
		<pubDate>Thu, 01 Jul 2010 19:36:39 +0000</pubDate>
		<dc:creator>branko</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://activecodeline.com/?p=1118</guid>
		<description><![CDATA[It&#8217;s been a while since my last post. Figured I should write something before people think I am missing or something -Anyhow, this last month (June) has been pretty interesting for me. I have been giving a lot of time to my self. Spending my free time for my own small pleasures in place of [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since my last post. Figured I should write something before people think I am missing or something <img src='http://activecodeline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  -Anyhow, this last month (June) has been pretty interesting for me. I have been giving a lot of time to my self. Spending my free time for my own small pleasures in place of sitting in front of keyboard for the whole day. I have also been doing some house work, a little redecorating etc. Gotta admit, last few days have bring me more peace an calm in my life then entire 6 month prior to that. Feeling great at the moment, hope the feeling lasts.</p>
<p>On the work side, I am coding (slowly, but with detail) an Android app for Magento, using XMLRCP API. Its around 70-80% until reaching the &#8220;Alpha&#8221; version. This is something I am working on on my own time. Hoping to introduce some new changes and setup some grounds for future possible Magento-Android, or general eCommerce-Android mobile development in the company I work for (<a href="http://inchoo.net/">Inchoo.net</a>). After (long time ago) C# and (everyday) PHP development, Java language was pretty easy to pick up so Android development for me proven to be an easy step. Not to mention that it fits nicely into the eCommerce.</p>
<p>Basically I am counting on writing more and more Magento-Android articles, code samples, etc. from now on.</p>
<p>Will keep you posted on the progress.</p>
<p>For all of you reading my blog, thank you. I truly appreciate all your comments and email feedback&#8217;s.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://activecodeline.com/my-last-month-overview-june/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
