<?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>Web Design and Tutorials from Austria  &#124;  Christian-Kalmar.com &#187; Programming</title>
	<atom:link href="http://www.christian-kalmar.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christian-kalmar.com</link>
	<description>Webdesign and Tutorials from Austria.</description>
	<lastBuildDate>Fri, 03 Sep 2010 09:28:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Activating Missing Ant Plugin in PDT Eclipse</title>
		<link>http://www.christian-kalmar.com/activating-missing-ant-plugin-in-pdt-eclipse/</link>
		<comments>http://www.christian-kalmar.com/activating-missing-ant-plugin-in-pdt-eclipse/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 09:57:33 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.christian-kalmar.com/?p=457</guid>
		<description><![CDATA[<p><img class="alignnone size-full wp-image-458" title="ant-with-eclipse-header" src="http://www.christian-kalmar.com/wp-content/uploads/2009/08/ant-with-eclipse-header.jpg" alt="ant-with-eclipse-header" width="500" height="100" /> 5ll41001 </p>
<p>Did you ever wonder why there is no Ant support in your <a href="http://www.eclipse.org/">Eclipse</a> installation?</p>
<p>If you are working with Eclipse as your standard IDE for PHP Projects you will probably use the <a href="http://www.eclipse.org/pdt/">PDT Eclipse</a> environment&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-458" title="ant-with-eclipse-header" src="http://www.christian-kalmar.com/wp-content/uploads/2009/08/ant-with-eclipse-header.jpg" alt="ant-with-eclipse-header" width="500" height="100" /> 5ll41001 </p>
<p>Did you ever wonder why there is no Ant support in your <a href="http://www.eclipse.org/">Eclipse</a> installation?</p>
<p>If you are working with Eclipse as your standard IDE for PHP Projects you will probably use the <a href="http://www.eclipse.org/pdt/">PDT Eclipse</a> environment which doesn&#8217;t include much of the Java project tools. <a href="http://ant.apache.org/">Ant</a> is one of the very handy ones.</p>
<p><br class="spacer_" /></p>
<h3>What is Ant?</h3>
<p>With <strong>Ant</strong> you can write simple and as well sophisticated <strong>batch jobs</strong> for compiling and deploying your code or any other task you could think of. For an example, I&#8217;m using Ant to compress and obfuscate my Javascript and CSS files.</p>
<p><br class="spacer_" /></p>
<h3>How does it work?</h3>
<p>Tasks you would like to be processed with Ant you put in a <em>build.xml</em> file.<br />
 Here is a simple example:</p>
<pre lang="php">
 <target name="myTarget" depends="myTarget.check" if="myTarget.run">
     <echo>Files foo.txt and bar.txt are present.</echo>
 </target>

 <target name="myTarget.check">
     <condition property="myTarget.run">
         <and>
             <available file="foo.txt"/>
             <available file="bar.txt"/>
         </and>
     </condition>
 </target>
</pre>
<p>To learn how to write your own build files checkout the <a href="http://ant.apache.org/manual/">Ant Manual</a>.</p>
<p><br class="spacer_" /></p>
<h3>Activating Ant in Eclipse</h3>
<ol>
<li>In Eclipse go to <strong>Help -&gt; Software Updates -&gt; Available Software</strong></li>
<li>Select <strong>Java Development Tools</strong> and install it</li>
<li>Restart Eclipse</li>
</ol>
<p>Now you should be able to see Ant in your Eclipse Preferences and when you right-click on a <em>build.xml</em> file in your project you can run it via <strong>Run As -&gt; Ant Build</strong>.</p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.christian-kalmar.com/activating-missing-ant-plugin-in-pdt-eclipse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Let&#8217;s make the Web faster &#8211; Google&#8217;s new Code Section &#8220;Speed&#8221;</title>
		<link>http://www.christian-kalmar.com/lets-make-the-web-faster-google-speed-new-code-section/</link>
		<comments>http://www.christian-kalmar.com/lets-make-the-web-faster-google-speed-new-code-section/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:59:27 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Speed]]></category>

		<guid isPermaLink="false">http://www.christian-kalmar.com/?p=389</guid>
		<description><![CDATA[<p><img class="alignnone size-full wp-image-390" title="google-speed-code-header" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/google-speed-code-header.jpg" alt="google-speed-code-header" width="500" height="100" /> 5ll41001 </p>
<p>I can still remember the first days of the web when I we were using Mosaic and later Netscape as browsers. Although websites consisted mostly of simple  text and a sometimes even some images, the speed was&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-390" title="google-speed-code-header" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/google-speed-code-header.jpg" alt="google-speed-code-header" width="500" height="100" /> 5ll41001 </p>
<p>I can still remember the first days of the web when I we were using Mosaic and later Netscape as browsers. Although websites consisted mostly of simple  text and a sometimes even some images, the speed was terrible. Sometimes it took minutes to load entire pages. Nowadays we have tons of images on every single page plus animations, flash and other media types. <em>The web got way faster in the last 10 years</em>. Big companies started to invest money into infrastructure and ISPs evolved with their services.</p>
<p>Let&#8217;s take Google as an example. They can <strong>provide search results within a fraction of a second</strong> though there are quadrillions of data to be parsed an processed. Google can do that trick only because of their enormous server farms and highly streamlined websites. But Google wants to go to the next level: <span style="background-color: #ffff99;"><strong>surfing the web should be as instantaneous as “flipping through the pages of a glossy magazine”</strong></span>.</p>
<h3>Let&#8217;s make the Web faster</h3>
<p>Google introduced a new <a href="http://code.google.com/">Code</a> section called <a href="http://code.google.com/speed/articles/">Speed</a>. You can find there many useful articles on how to <strong>optimize the performance of your website and web server</strong>. And if you have some ideas about improving the speed of the web you can post it there too. It&#8217;s definitely a good resource for beginners and professionals.</p>
<p>Here is a short introduction video made by some guys at Google:</p>
<p><object type="application/x-shockwave-flash" style="width:425px; height:355px;" data="http://www.youtube.com/v/IWWBnJEsUtU&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6"><param name="movie" value="http://www.youtube.com/v/IWWBnJEsUtU&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" /></object></p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.christian-kalmar.com/lets-make-the-web-faster-google-speed-new-code-section/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reloading an IFrame via Ajax Request in Firefox and IE</title>
		<link>http://www.christian-kalmar.com/reloading-iframe-via-ajax-request-firefox-ie/</link>
		<comments>http://www.christian-kalmar.com/reloading-iframe-via-ajax-request-firefox-ie/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 11:33:51 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.christian-kalmar.com/?p=325</guid>
		<description><![CDATA[<p><img class="alignnone size-full wp-image-342" title="iframe-ajax-reload-header" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/iframe-ajax-reload-header.jpg" alt="iframe-ajax-reload-header" width="500" height="100" /> 5ll41001 </p>
<p>Recently I was working on a web project where I needed to show a <strong>preview window </strong>which was basically an <strong>IFrame</strong>. As the whole page navigation was based on Ajax calls I was looking for a bulletproof&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-342" title="iframe-ajax-reload-header" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/iframe-ajax-reload-header.jpg" alt="iframe-ajax-reload-header" width="500" height="100" /> 5ll41001 </p>
<p>Recently I was working on a web project where I needed to show a <strong>preview window </strong>which was basically an <strong>IFrame</strong>. As the whole page navigation was based on Ajax calls I was looking for a bulletproof method for reloading an IFrame.</p>
<h3>The first solution (only Firefox)</h3>
<p><strong>IFrame code:</strong></p>
<pre lang="XML">
<iframe id="preview_content" src="preview.php"></iframe>
</pre>
<p><strong>Ajax code:</strong></p>
<pre lang="Javascript">var iframe = document.getElementById("preview_content");
iframe.contentDocument.location.reload(true);
</pre>
<p>Well, this solution was working quite nice with Firefox but <strong>IE wouldn&#8217;t reload</strong> the page at all.</p>
<p><br class="spacer_" /></p>
<h3>The proper solution</h3>
<p><strong>Ajax code:</strong></p>
<pre lang="Javascript">var iframe = document.getElementById("preview_content");
iframe.src = "preview.php?x="+Math.round(Math.random());
</pre>
<p>The additional parameter <strong>x</strong> (a random number) will cause IE to reload the IFrame properly <strong>without using the cache</strong>.</p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.christian-kalmar.com/reloading-iframe-via-ajax-request-firefox-ie/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Free Cheat Sheets for Developers on DZone</title>
		<link>http://www.christian-kalmar.com/free-cheat-sheets-for-developers/</link>
		<comments>http://www.christian-kalmar.com/free-cheat-sheets-for-developers/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 08:46:44 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[E-Book]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.christian-kalmar.com/?p=213</guid>
		<description><![CDATA[<p><img class="alignnone size-full wp-image-214" title="free-cheat-sheets-developer" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/free-cheat-sheets-developer.gif" alt="free-cheat-sheets-developer" width="500" height="100" /> 5ll41001 </p>
<p>I found today a superb resource for Cheat Sheets (also known as reference cards) on DZone.</p>
<p>Whenever I find a cheat sheet in a book store I need to buy it.  Looking up information on the Internet&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-214" title="free-cheat-sheets-developer" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/free-cheat-sheets-developer.gif" alt="free-cheat-sheets-developer" width="500" height="100" /> 5ll41001 </p>
<p>I found today a superb resource for Cheat Sheets (also known as reference cards) on DZone.</p>
<p>Whenever I find a cheat sheet in a book store I need to buy it.  Looking up information on the Internet is way faster but sometimes you don&#8217;t have a connection and these short e-books can be of good help.</p>
<p>Here is a short list of Cheat Sheets I found on DZone:</p>
<ul>
<li><a href="http://refcardz.dzone.com/refcardz/essential-mysql">Essential MySQL</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/core-aspnet">Core ASP.Net</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/corecss3">Core CSS: Part III</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/essential-ruby">Essential Ruby</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/core-java">Core Java</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/php">PHP</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/struts2">Struts</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/csharp">C#</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/jquery-selectors">JQuery Selectors</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/design-patterns">Design Patterns</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/spring-configuration">Spring Configuration</a></li>
<li><a href="http://refcardz.dzone.com/refcardz/getting-started-eclipse">Getting Started with Eclipse</a></li>
</ul>
<p>You will find on <a href="http://refcardz.dzone.com/">http://refcardz.dzone.com</a> more the 50 of these sheets.</p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.christian-kalmar.com/free-cheat-sheets-for-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
