<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>all-IT</title>
	
	<link>http://www.k-oo.de/blog</link>
	<description>all-IT ist ein Blog aus dem IT Alltag</description>
	<lastBuildDate>Fri, 03 Feb 2012 09:42:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/All-it" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="all-it" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Upgrade auf Grails 2.0</title>
		<link>http://www.k-oo.de/blog/2012/02/03/upgrade-auf-grails-2-0/</link>
		<comments>http://www.k-oo.de/blog/2012/02/03/upgrade-auf-grails-2-0/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 09:42:21 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[groovy]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2525</guid>
		<description><![CDATA[Mein favorisiertes Web-Framework Grails hat die Major Version 2 erreicht. Bei der Fülle an neuen Funktionen ist die 2 vor dem Punkt mehr als gerechtfertigt. Einen guten Überblick, über das was sich geändert hat, bietet der Artikel "Das ist neu in Grails 2.0" von Dierk König. 

Für mich war schon die neue interaktive Grails ...]]></description>
			<content:encoded><![CDATA[<p>Mein favorisiertes Web-Framework Grails hat die Major Version 2 erreicht. Bei der Fülle an neuen Funktionen ist die 2 vor dem Punkt mehr als gerechtfertigt. Einen guten Überblick, über das was sich geändert hat, bietet der Artikel &#8220;<a href="http://it-republik.de/jaxenter/artikel/Das-ist-neu-in-Grails-2.0-4272.html" title="Artikel: Das ist neu in Grails 2.0" target="_blank">Das ist neu in Grails 2.0</a>&#8221; von Dierk König. </p>
<p>Für mich war schon die neue interaktive Grails Console mit TAB- Vervollständigung, farbiger, einzeiliger Ausgabe und formatierten Fehlerausgaben das Upgrade wert. Sie ist vor allem bei der Befehlsausführung sehr viel schneller, da dafür keine eigene JVM gestartet werden muss.<br />
Als Testkandidat musste meine Beispiel Grails Anwendung <a href="http://code.google.com/p/grum/" title="Grails Beispiel Anwendung grum" target="_blank"><strong>grum</strong></a> (sourcecode auf <a href="http://code.google.com/p/grum/" title="Grum Sourcecode" target="_blank">Google Code</a>) herhalten. Doch so einfach wie ein upgrade von einer Minor Version auf eine andere war es nicht. </p>
<p>Als erstes sollte man die <a href="http://grails.org/doc/latest/guide/gettingStarted.html#upgradingFromPreviousVersionsOfGrails" title="upgrade Hinweise" target="_blank">upgrade Hinweise</a> verinnerlichen, denn ein einfaches <code>grails upgrade</code> führte bei mir erst einmal zu einem inkonsistentem Projekt in meiner Entwicklungsumgebung (<a href="http://www.springsource.com/developer/sts" title="Eclipse basierte Entwicklungsumgebung mit sehr gutem Grails Support" target="_blank">SpringSource Tool Suite</a>).</p>
<p>Schuld ist man meistens selbst. Doch wo liegen nun die Fallstricke?</p>
<h3>Dependency Management</h3>
<p>Ein Thema, was ich bis jetzt vollständig ignoriert hatte, war das Dependency Management. In den vorherigen Grails Versionen lagen alle benötigten Bibliotheken (wie der JDBC Treiber) im <code>lib</code> Verzeichnis. Sauberer ist es natürlich die Abhängigkeiten zu deklarieren. Bei Grails macht man dies in der BuildConfig Klasse.</p>
<p><strong>conf/BuildConfig.groovy</strong></p>

<div class="wp_syntax"><div class="code"><pre class="groovy" style="font-family:monospace;">dependencies <span style="color: #66cc66;">&#123;</span>
   <span style="color: #808080; font-style: italic;">// specify dependencies here under either </span>
   <span style="color: #808080; font-style: italic;">//'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.</span>
&nbsp;
   runtime <span style="color: #ff0000;">'mysql:mysql-connector-java:5.1.16'</span>
   build <span style="color: #ff0000;">&quot;displaytag:displaytag:1.2&quot;</span>
   runtime <span style="color: #ff0000;">&quot;displaytag:displaytag-export-poi:1.2&quot;</span>
   runtime <span style="color: #ff0000;">&quot;displaytag:itext:1.3&quot;</span>
   runtime <span style="color: #ff0000;">&quot;displaytag:poi:3.2&quot;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Danach sollte man in der IDE die Abhängigkeiten über <strong>Grails Tools -> Refresh Dependencies</strong> aktualisieren. Reicht dies nicht aus (wie bei mir) hilft es das Dependency Management zu stoppen und zu starten.</p>
<ul>
<li>Grails Tools -> Disable Dependency Management</li>
<li>Grails Tools -> Enable Dependency Management</li>
</ul>
<p>Alternativ kann man in der Grails Konsole folgende Befehle absetzen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">grails<span style="color: #000000; font-weight: bold;">&gt;</span> clean
grails<span style="color: #000000; font-weight: bold;">&gt;</span> war</pre></div></div>

<h3>Plugins</h3>
<p>Dabei kam es bei mir zu Kompilierungs Problemen im Zusammenhang mit den automatisch installierten Plugins <strong>jquery</strong> und <strong>resources</strong>, was ich nur durch eine Neuinstallation der Plugins beheben konnte</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">grails<span style="color: #000000; font-weight: bold;">&gt;</span> uninstall-plugin <span style="color: #000000; font-weight: bold;">&lt;</span>plugin-name<span style="color: #000000; font-weight: bold;">&gt;</span>
grails<span style="color: #000000; font-weight: bold;">&gt;</span> install-plugin <span style="color: #000000; font-weight: bold;">&lt;</span>plugin-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<h3>TagLibs</h3>
<p>Und wo man schon mal beim Aufräumen ist. Das Tag <strong>createLinkTo</strong> ist <em>depracted</em> und sollte durch das Tag <strong>resources</strong> ersetzt werden. An dieser Stelle sollte man auch auf folgenden upgrade Hinweis achten:</p>
<blockquote><p>
If you install Resources (or it is installed automatically), tags like &lt;g:javascript&gt; won&#8217;t write anything to the page until you add the &lt;r:layoutResources/&gt; tags to your layout.
</p></blockquote>
<h3>Content Negotiation</h3>
<p>Ein Punkt warum ich Grails so mag ist, das sich damit sehr leicht REST APIs umsetzen lassen. Hier hat sich in der Version 2.0 auch etwas geändert. Die <a href="http://de.wikipedia.org/wiki/Content_Negotiation" title="Wikipedia Artikel: Content Negotiation" target="_blank">Content Negotiation</a> richtet sich jetzt nicht mehr nach dem akzeptierten Format des Responses, sondern nach dem Content-Type des Requests.<br />
Dafür muss man im Code <strong>withFormat</strong> durch <strong>request.withFormat</strong> ersetzen. Testen kann man diese Änderung mit <code>curl</code>. Z.B. mit:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">curl <span style="color: #660033;">--header</span> Content-Type:text<span style="color: #000000; font-weight: bold;">/</span>xml http:<span style="color: #000000; font-weight: bold;">//</span>localhost:<span style="color: #000000;">8080</span><span style="color: #000000; font-weight: bold;">/</span>grum<span style="color: #000000; font-weight: bold;">/</span>contactData<span style="color: #000000; font-weight: bold;">/</span>list</pre></div></div>

<p><strong>Fazit:</strong><br />
Das Upgrade lohnt sich, auch wenn es mit etwas mehr Arbeit verbunden ist, als sonst.</p>
<p><strong>Links:</strong><br />
<a href="http://code.google.com/p/grum/" title="grum project auf Google Code" target="_blank">grum</a> &#8211; Grails 2.0 Beispiel Applikation</p>
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2525&amp;md5=7f15ba7267bd61a327e46d2f422de8d4" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2012/02/03/upgrade-auf-grails-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Liste frei verfügbarer Programmierbücher</title>
		<link>http://www.k-oo.de/blog/2011/12/10/liste-frei-verfuegbarer-programmierbucher/</link>
		<comments>http://www.k-oo.de/blog/2011/12/10/liste-frei-verfuegbarer-programmierbucher/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 13:17:15 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Dokumentation]]></category>
		<category><![CDATA[open books]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2519</guid>
		<description><![CDATA[Ich behaupte mal jeder Programmierer war im Laufe seiner Tätigkeit schon mal  auf den Seiten von stackoverflow.com um Hilfe zu bekommen oder selbige zu leisten.

Worauf ich erst kürzlich gestoßen bin, ist die auf dieser Seite geführte Liste von frei verfügbaren Programmierbüchern. Die Bücher sind nach Programmiersprachen von A (wie ASP.NET MVC) bis W ...]]></description>
			<content:encoded><![CDATA[<p>Ich behaupte mal jeder Programmierer war im Laufe seiner Tätigkeit schon mal  auf den Seiten von <a href="http://stackoverflow.com" title="stackoverflow.com - FAQ für Programmierer">stackoverflow.com</a> um Hilfe zu bekommen oder selbige zu leisten.</p>
<p>Worauf ich erst kürzlich gestoßen bin, ist die auf dieser Seite geführte <a href="http://stackoverflow.com/questions/194812/list-of-freely-available-programming-books/392926#392926" title="Liste von frei verfügbaren Programmierbüchern"><strong>Liste von frei verfügbaren Programmierbüchern</strong></a>. Die Bücher sind nach Programmiersprachen von <strong>A</strong> (wie ASP.NET MVC) bis <strong>W</strong> (wie Websphere &#8211; dieser Application Server ist wahrscheinlich komplexer als so manche Programmiersprache) geordnet.</p>
<p>Soweit ich es überblicken konnte sind alle Bücher auf Englisch und so möchte ich an dieser Stelle noch 2 deutsche &#8220;OpenBooks&#8221; erwähnen, die mir bei meiner Arbeit geholfen haben:</p>
<dl>
<dt><a href="http://openbook.galileocomputing.de/javainsel/" title="OpenBook - Java ist auch eine Insel">Java ist auch eine Insel</a></dt>
<dd>Das wohl bekannteste deutsche OpenBook für die Programmiersprache Java</dd>
<dt><a href="http://professionelle-softwareentwicklung-mit-php5.de/" title="Einführung in objektorientiertes Programmieren mit PHP5">Professionelle Softwareentwicklung mit PHP 5</a></dt>
<dd>Auch in PHP kommt man nicht mehr an der Objektorientierung vorbei. Dieses Buch ist ein guter Einstieg.</dd>
</dl>
<p>Welche deutschsprachigen und frei verfügbaren Programmierbücher haben Euch weitergeholfen?</p>
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2519&amp;md5=b4c972b9eb06ba843f4777b70b8a6b2d" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2011/12/10/liste-frei-verfuegbarer-programmierbucher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jaxTV: HTML5 – das Web und der Browser als Plattform</title>
		<link>http://www.k-oo.de/blog/2011/11/26/jaxtv-html5-das-web-und-der-browser-als-plattform/</link>
		<comments>http://www.k-oo.de/blog/2011/11/26/jaxtv-html5-das-web-und-der-browser-als-plattform/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 09:40:06 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[JAX]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2510</guid>
		<description><![CDATA[Müsste ich den Preis für die beste Keynote des Jahres vergeben, würde ich den Preis an Christian Heilmann verleihen. Sein Vortrag war für mich eines der Highlights der diesjährigen Jax (Konferenz für Java, Architektur, Cloud &#038; Agile).



HTML5 - das Web und der Browser als Plattform from JAX TV on Vimeo.

An dieser Stelle sei auch ...]]></description>
			<content:encoded><![CDATA[<p>Müsste ich den Preis für die beste Keynote des Jahres vergeben, würde ich den Preis an Christian Heilmann verleihen. Sein Vortrag war für mich eines der Highlights der diesjährigen Jax (Konferenz für Java, Architektur, Cloud &#038; Agile).</p>
<p><iframe src="http://player.vimeo.com/video/31481966?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p><a href="http://vimeo.com/31481966">HTML5 &#8211; das Web und der Browser als Plattform</a> from <a href="http://vimeo.com/jaxtv">JAX TV</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>An dieser Stelle sei auch auf die vielen anderen sehr interessanten Vorträge verwiesen, die zum Teil auf dem <a href="http://vimeo.com/jaxtv/videos/sort:date" title="Vimeo JAX TV Channel">JAX TV Channel</a> von Vimeo veröffentlicht wurden</p>
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2510&amp;md5=3af4b54a5375a22b3b2aebd139e765e4" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2011/11/26/jaxtv-html5-das-web-und-der-browser-als-plattform/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>bash snippet</title>
		<link>http://www.k-oo.de/blog/2011/11/23/bash-snippet/</link>
		<comments>http://www.k-oo.de/blog/2011/11/23/bash-snippet/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 07:19:54 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2505</guid>
		<description><![CDATA[Die Bash begleitet mich als DevOp (um mal eines der neuen Buzz Words zu bemühen) schon sehr lange. Doch man lernt nie aus. Dieses kleine Snippet entfernt vom Prozedurnamen, der in $0 enthalten ist, den Pfadbestandteil.


#!/bin/bash
ME=${0##*/}

# Ausgabe mit Pfadangabe
echo $0
# und ohne
echo $ME



# Aufruf
/var/run/whatever.sh 

# Ausgabe
/var/run/whatever.sh
whatever.sh


Danke Andi]]></description>
			<content:encoded><![CDATA[<p>Die <a href="http://de.wikipedia.org/wiki/Bourne-again_shell" title="Begriffserklärung Bash">Bash</a> begleitet mich als <a href="http://it-republik.de/jaxenter/news/DevOps-versucht-agile-Methoden-durchgaengig-erfolgreich-zu-machen-060746.html" title="Begriffserklärung DevOps">DevOp</a> (um mal eines der neuen Buzz Words zu bemühen) schon sehr lange. Doch man lernt nie aus. Dieses kleine Snippet entfernt vom Prozedurnamen, der in <code>$0</code> enthalten ist, den Pfadbestandteil.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #007800;">ME</span>=<span style="color: #800000;">${0##*/}</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Ausgabe mit Pfadangabe</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$0</span>
<span style="color: #666666; font-style: italic;"># und ohne</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$ME</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Aufruf</span>
<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>whatever.sh 
&nbsp;
<span style="color: #666666; font-style: italic;"># Ausgabe</span>
<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>whatever.sh
whatever.sh</pre></div></div>

<p>Danke <a href="http://www.xing.com/profile/Andreas_Finke15" title="Xing Profil von Andreas Finke">Andi</a></p>
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2505&amp;md5=2b088bbdebd15233ec355b18383e29e6" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2011/11/23/bash-snippet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spruch des Tages</title>
		<link>http://www.k-oo.de/blog/2011/11/21/spruch-des-tages/</link>
		<comments>http://www.k-oo.de/blog/2011/11/21/spruch-des-tages/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 06:43:45 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2498</guid>
		<description><![CDATA[
Java ist das Cobol des 21. Jahrhunderts.

Tim Pritlove in mobilemacs Folge 76
]]></description>
			<content:encoded><![CDATA[<blockquote><p>
Java ist das Cobol des 21. Jahrhunderts.
</p></blockquote>
<p>Tim Pritlove in mobilemacs <a href="http://mobilemacs.de/2011/11/mm076-seepferdchensex.html" title="mobilemacs Folge 76">Folge 76</a></p>
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2498&amp;md5=741f1b178f10bd4fe34a82f378eefc72" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2011/11/21/spruch-des-tages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Me[eh]r Urlaub</title>
		<link>http://www.k-oo.de/blog/2011/10/21/meehr-urlaub/</link>
		<comments>http://www.k-oo.de/blog/2011/10/21/meehr-urlaub/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 04:58:27 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2481</guid>
		<description><![CDATA[

Ich bin eindeutig für mehr Meer Urlaub.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.k-oo.de/blog/wp-content/uploads/2011/10/DSC00349.jpg" rel="lightbox"><img src="http://www.k-oo.de/blog/wp-content/uploads/2011/10/DSC00349-500x375.jpg" alt="" title="Meer Urlaub" width="500" height="375" class="alignnone size-medium wp-image-2499" /></a></p>
<p>Ich bin eindeutig für mehr Meer Urlaub.</p>
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2481&amp;md5=5645e85a2c1fa821d01c4f99234bc290" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2011/10/21/meehr-urlaub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse PDT, MAMP und die PHP Scripts</title>
		<link>http://www.k-oo.de/blog/2011/10/20/eclipse-pdt-mamp-und-die-php-scripts/</link>
		<comments>http://www.k-oo.de/blog/2011/10/20/eclipse-pdt-mamp-und-die-php-scripts/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 04:53:05 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[macos]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2466</guid>
		<description><![CDATA[Als Entwicklungs-Hardware sind Macs momentan ziemlich beliebt, läuft doch auf diesen Alu Beauties ein Betriebssystem, das auf Unix basiert.

Ein weiterer Grund dafür dürfte auch sein, dass die Entwicklungsumgebung Eclipse auf MacOs gut unterstützt wird. Dies gilt vor allem für Java (mit dem Java Development Tool - JDT). Aber auch PHP Webanwendungen lassen sich gut ...]]></description>
			<content:encoded><![CDATA[<p>Als Entwicklungs-Hardware sind Macs momentan ziemlich beliebt, läuft doch auf diesen Alu Beauties ein Betriebssystem, das auf Unix basiert.</p>
<p>Ein weiterer Grund dafür dürfte auch sein, dass die Entwicklungsumgebung Eclipse auf MacOs gut unterstützt wird. Dies gilt vor allem für Java (mit dem Java Development Tool &#8211; JDT). Aber auch PHP Webanwendungen lassen sich gut mit Eclipse und dem PHP Development Tool &#8211; PDT programmieren.</p>
<p>Das PDT bringt keinen eigenen PHP Interpreter mit. D.h., man muss selbst für einen Webserver mit PHP Modul sorgen. Auf dem Mac bekommt man das Rundum Sorglos Paket mit <a href="http://www.mamp.info" title="MAMP">MAMP</a>.</p>
<p>Möchte man auch PHP Scripts unter Eclipse ausführen, muss man die beiden miteinander bekannt machen. Doch zuvor verlangt <strong>Eclipse PDT</strong> nach einem <strong>Debugger</strong>. Zur Auswahl stehen der <strong>Zend Debugger</strong>, der leider nicht mit MAMP mitgeliefert wird und <strong>XDebug</strong>, dessen Modul zwar in MAMP integriert ist, bei mir aber nicht funktionierte.</p>
<p>Eine aktuelle Version von XDebug kann man sich über <strong>brew</strong> installieren.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">brew <span style="color: #c20cb9; font-weight: bold;">install</span> xdebug</pre></div></div>

<p>Brew setzt zwar Xcode voraus, sollte aber auf keinem Entwickler-Mac fehlen. Eine Installationsanleitung gibt es auf <a href="https://github.com/mxcl/homebrew/wiki/installation" title="brew Installationsanleitung">github</a>.</p>
<p>Doch zurück zu XDebug. Während der Installation wird man auf die nächsten Schritte hingewiesen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">To use this software:
  <span style="color: #000000; font-weight: bold;">*</span> Add the following line to php.ini:
    <span style="color: #007800;">zend_extension</span>=<span style="color: #ff0000;">&quot;/usr/local/Cellar/xdebug/2.1.1/xdebug.so&quot;</span>
  <span style="color: #000000; font-weight: bold;">*</span> Restart your webserver.
  <span style="color: #000000; font-weight: bold;">*</span> Write a PHP page that calls <span style="color: #ff0000;">&quot;phpinfo();&quot;</span>
  <span style="color: #000000; font-weight: bold;">*</span> Load it <span style="color: #000000; font-weight: bold;">in</span> a browser and look <span style="color: #000000; font-weight: bold;">for</span> the info on the xdebug module.
  <span style="color: #000000; font-weight: bold;">*</span> If you see it, you have been successful<span style="color: #000000; font-weight: bold;">!</span></pre></div></div>

<p>Die php.ini, die MAMP mitbringt, lässt sich nicht mit normalen User Rechten editieren. Mit sudo geht es aber schon.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>php5.3.6<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>php.ini</pre></div></div>

<p>Im Bereich <strong>[xdebug]</strong> dann die Direkive für das xdebug Modul hinzufügen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>xdebug<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">zend_extension</span>=<span style="color: #ff0000;">&quot;/usr/local/Cellar/xdebug/2.1.1/xdebug.so&quot;</span></pre></div></div>

<p>den Webserver durchstarten und den Erfolg wie oben beschrieben kontrollieren.</p>
<p>Funktioniert alles, muss man in Eclipse nur noch in den Einstellungen ein <strong>PHP Executeable</strong> konfigurieren um von dort aus PHP Scripts starten zu können.</p>
<p><a href="http://www.k-oo.de/blog/wp-content/uploads/2011/10/eclipse-php-executeable.png" rel="lightbox"><img src="http://www.k-oo.de/blog/wp-content/uploads/2011/10/eclipse-php-executeable-500x406.png" alt="eclipse php-executeable" title="eclipse php-executeable" width="500" height="406" class="alignnone size-medium wp-image-2482" /></a></p>
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2466&amp;md5=bc613d80623e0851c6696b1c51b1bce4" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2011/10/20/eclipse-pdt-mamp-und-die-php-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>weekly links [2011-33]</title>
		<link>http://www.k-oo.de/blog/2011/08/21/weekly-links-2011-33/</link>
		<comments>http://www.k-oo.de/blog/2011/08/21/weekly-links-2011-33/#comments</comments>
		<pubDate>Sun, 21 Aug 2011 16:47:12 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[weekly links]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[macos]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2460</guid>
		<description><![CDATA[Irgendwie gab es in den letzten 2 Wochen nicht soviel Content im Web, der es auf meine Linkliste bei zootool geschafft hat. Aber es geht ja auch um Qualität und nicht um Quantität :-).




iTunes: iTunes-Mediathek sichern und wieder zusammenführen
iTunes ist vielleicht nicht das beste Programm um seine Musiksammlung zu verwalten, aber auch nicht das ...]]></description>
			<content:encoded><![CDATA[<p>Irgendwie gab es in den letzten 2 Wochen nicht soviel Content im Web, der es auf meine Linkliste bei <a href="http://zootool.com/user/gklinkmann">zootool</a> geschafft hat. Aber es geht ja auch um Qualität und nicht um Quantität <img src='http://www.k-oo.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<div style="float:left;margin-right:10px">
<img src="http://www.k-oo.de/blog/wp-content/uploads/2011/08/iTunes.jpg" alt="" title="iTunes" width="150" height="150" class="alignnone size-full wp-image-2467" />
</div>
<p><a href="http://support.apple.com/kb/HT1751?viewlocale=de_DE"><strong>iTunes: iTunes-Mediathek sichern und wieder zusammenführen</strong></a><br />
<br />iTunes ist vielleicht nicht das beste Programm um seine Musiksammlung zu verwalten, aber auch nicht das schlechteste. Der Verbreitungsgrad aufgrund von iPods, iPads, iPhones und Macs dürfte aber recht hoch sein.<br />
In der aktuellen iTunes Version 10.4 wurde das Sichern auf DVD und CD aus dem Menü entfernt. Wie man alternativ auf einem Netzlaufwerk sichert und iTunes-Mediatheken wieder zusammenführt beschreibt diese Support Seite von Apple.</p>
<p style="clear:both" />
<!-- ------------------------------------------------- --></p>
<div style="float:left;margin-right:10px">
<img src="http://www.k-oo.de/blog/wp-content/uploads/2011/08/vpn.jpg" alt="" title="vpn" width="150" height="150" class="alignnone size-full wp-image-2470" />
</div>
<p><a href="http://www.iphone-ticker.de/2011/08/18/video-darum-lohnen-sich-vpn-verbindungen-auf-win-mac-ios/"><strong>Darum lohnen sich VPN-Verbindungen (auf Win, Mac &#038; iOS)</strong></a><br />
<br />Habt Ihr Euch schon mal gefragt, wozu man VPN-Verbindungen braucht? Dieses kleine Videotutorial von ifun.de beantwortet diese Frage und zeigt, wie man sie einrichtet.</p>
<p style="clear:both" />
<!-- ------------------------------------------------- --></p>
<div style="float:left;margin-right:10px">
<img src="http://www.k-oo.de/blog/wp-content/uploads/2011/08/knockout.js.jpg" alt="" title="knockout.js" width="150" height="150" class="alignnone size-full wp-image-2468" />
</div>
<p><a href="http://www.guido-muehlwitz.de/2011/08/knockout-js/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=knockout-js"><strong>knockout.js – was ist es, was kann es?</strong></a><br />
<br />Wenn ich einen Blog von und für Webworker empfehlen müsste, dann den von Guido Mühlwitz. Dieser Post über knockout.js ist nur einer von vielen sehr guten Artikeln rund um das Thema Webentwicklung.</p>
<p style="clear:both" />
<!-- ------------------------------------------------- --></p>
<div style="float:left;margin-right:10px">
<img src="http://www.k-oo.de/blog/wp-content/uploads/2011/08/recovery_disk_assistent.jpg" alt="" title="recovery_disk_assistent" width="150" height="150" class="alignnone size-full wp-image-2469" />
</div>
<p><a href="http://www.aptgetupdate.de/2011/08/09/apples-recovery-disk-assistant-fr-lion/"><strong>Apples Recovery Disk Assistant für Lion</strong></a><br />
<br />Apples neues Betriebssystem Lion wird nicht mehr auf herkömmlichen Installationsmedien ausgeliefert, sondern ist ausschließlich über den Mac App Store zu zu bekommen.<br />
Im Recovery Fall, kann man auf eine versteckte Partition zurückgreifen. Doch was macht man, wenn die ganze Platte (oder SSD) kaputt ist?<br />
Dafür gibt es den Apple Recovery Disk Assistant. </p>
<p style="clear:both" />
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2460&amp;md5=c65a4efad57f7466478173d00e6df975" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2011/08/21/weekly-links-2011-33/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Was heißt SSH?</title>
		<link>http://www.k-oo.de/blog/2011/08/19/was-heist-ssh/</link>
		<comments>http://www.k-oo.de/blog/2011/08/19/was-heist-ssh/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 08:22:16 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2448</guid>
		<description><![CDATA[Secure Shell oder



Links:
ssh in der Wikipedia]]></description>
			<content:encoded><![CDATA[<p>Secure Shell oder</p>
<p><img src="http://www.k-oo.de/blog/wp-content/uploads/2011/08/ssh300.jpg" alt="" title="ssh" width="300" height="400" class="alignnone size-full wp-image-2461" /></p>
<p><strong>Links:</strong><br />
<a href="http://de.wikipedia.org/wiki/Ssh">ssh in der Wikipedia</a></p>
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2448&amp;md5=25796c5fe291f3d068d7ce47463eafb4" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2011/08/19/was-heist-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nerdspielzeug</title>
		<link>http://www.k-oo.de/blog/2011/08/18/nerdspielzeug/</link>
		<comments>http://www.k-oo.de/blog/2011/08/18/nerdspielzeug/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 17:46:55 +0000</pubDate>
		<dc:creator>gklinkmann</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.k-oo.de/blog/?p=2432</guid>
		<description><![CDATA[Es gibt Sachen, da wird man wieder zum Kind. Bei mir sind es z.B. Lego, Autorennbahnen oder ferngesteuerte Mini Hubschrauber. 
Diese gibt es ja mittlerweile wie Sand am Mehr und mein Sohn lässt mich auch mal mit seinem spielen. Aber einen mit iPod touch oder iPhone Steuerung habe ich bis jetzt noch nicht gesehen ...]]></description>
			<content:encoded><![CDATA[<p>Es gibt Sachen, da wird man wieder zum Kind. Bei mir sind es z.B. Lego, Autorennbahnen oder ferngesteuerte Mini Hubschrauber.<br />
Diese gibt es ja mittlerweile wie Sand am Mehr und mein Sohn lässt mich auch mal mit seinem spielen. Aber einen mit iPod touch oder iPhone Steuerung habe ich bis jetzt noch nicht gesehen und mir schon immer gewünscht.</p>
<p>Der <a href="http://store.griffintechnology.com/helo-tc">Helo TC</a> von Griffin erfüllt einem großen Kind (wie mir) diesen Wunsch.</p>
<p><img src="http://www.k-oo.de/blog/wp-content/uploads/2011/08/heli.jpg" alt="HELO TC Touch-Controlled Helicopter" title="heli" width="464" height="129" class="alignnone size-full wp-image-2449" /><br />
<span style="font-size:0.8em">Quelle: iphone-ticker.de</span></p>
<p>Dieses Video auf youtube verstärkt nur noch das &#8220;haben will&#8221; Gefühl.</p>
<p><iframe width="640" height="390" src="http://www.youtube.com/embed/t29xKIzXnGM" frameborder="0" allowfullscreen></iframe></p>
<p><strong>via:</strong> <a href="http://www.iphone-ticker.de/2011/08/18/griffin-trailert-mini-helikopter-mit-ios-fernsteuerung-video/">iphone-ticker.de</a></p>
<p class="wp-flattr-button"></p> <p><a href="http://www.k-oo.de/blog/?flattrss_redirect&amp;id=2432&amp;md5=efe623c95cce81c423c7bc56eb470fe5" title="Flattr" target="_blank"><img src="http://www.k-oo.de/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.k-oo.de/blog/2011/08/18/nerdspielzeug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

