<?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>Biggle&#039;s Blog &#187; Tutorial</title>
	<atom:link href="http://www.biggle.de/blog/tag/tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.biggle.de/blog</link>
	<description>Web- und Software Development</description>
	<lastBuildDate>Tue, 07 Feb 2012 13:08:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>C Programmieren für Anfänger</title>
		<link>http://www.biggle.de/blog/c-programmieren-fuer-anfaenger</link>
		<comments>http://www.biggle.de/blog/c-programmieren-fuer-anfaenger#comments</comments>
		<pubDate>Mon, 07 Feb 2011 18:50:45 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[OpenBook]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6186</guid>
		<description><![CDATA[In diesem Artikel geht es mal &#8220;Back to the Roots&#8221;. C#, C++ und Konsorten sind  ja für eine fortgeschrittene Programmierung super aber was ist mit den Leuten, die beim Programmieren Lernen von NULL anfangen? Da ist eine elementare Programmiersprache wie C wohl verständlicher, um sich danach auf eine komplexere Sprache zu konzentrieren &#8211; wenn man [...]]]></description>
			<content:encoded><![CDATA[<p>In diesem Artikel geht es mal &#8220;Back to the Roots&#8221;. C#, C++ und Konsorten sind  ja für eine fortgeschrittene Programmierung super aber was ist mit den Leuten, die beim Programmieren Lernen von NULL anfangen? Da ist eine elementare Programmiersprache wie C wohl verständlicher, um sich danach auf eine komplexere Sprache zu konzentrieren &#8211; wenn man nicht bei der C Programmierung im Linux- oder Hardwarebereich bleiben möchte.</p>
<p>C ist trotz seines Alters immer noch eine der meist genutzten Programmiersprachen, das darf man nicht vergessen. Viele höhere Sprachen, wie z.B. auch C#, nutzen den C-Style bei der Syntax. Eine Sprache mit dem gleichen Schreibstil zu lernen ist natürlich wesentlich einfacher.  Für alle Programmier-Anfänger, die nun das <a title=\"C Programmieren lernen für Anfänger\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jLWhvd3RvLmRlL2MtcHJvZ3JhbW1pZXJ1bmcuaHRtbA==">C Programmieren</a> lernen möchten, empfehle ich das C-HowTo.</p>
<p>Das ist ein kostenloses C Handbuch im Internet. Das Buch lehrt das Programmieren anhand der Sprache C. Nach meinem ersten Einblick zu urteilen, ist der Schreibstil alles andere als theorielastig und trocken, macht fasst schon Spaß zu lesen &#8211; aber schaut es euch selbst an<br />
 <a title=\"C Handbuch für Anfänger\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jLWhvd3RvLmRl">C-HowTo &#8211; Das C Handbuch für Anfänger</a></p>
<p>Für den ersten Geschmack gibt es das erste Kapitel als Webcast</p>
<p><a href="http://www.biggle.de/blog/c-programmieren-fuer-anfaenger"><em>Für die Feedleser, dem Artikel ist ein Video eingefügt ; )</em></a></p>
<p>Kapitel 2 und vielleicht später sogar mehr, findet man im <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy55b3V0dWJlLmNvbS91c2VyL0NIb3dUb1ZpZGVvcw==">Channel von C-HowTo</a></p>
<p>Schreibt man eine Rezension über das Online Buch, kann dieser an einer Verlosung teilnehmen, in der man das Buch in gedruckter Form gewinnen kann.</p>
<p>Achso, bevor ich das vergesse, ich hab hier noch <strong>3 Gutscheincodes</strong> auftreiben können, die sind jeweils nur einmal auf der <a title=\"C Handbuch bestellen\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jLWhvd3RvLmRlL2J1Y2gtYmVzdGVsbGVuLmh0bWw=">C Handbuch-Bestellseite</a> einlösbar und haben einen Wert von 5,00 Euro.</p>
<p>Gutscheincodes:</p>
<ul>
<li>CPROGRAMMIEREN38</li>
<li>CPROGRAMMIEREN91</li>
<li>CPROGRAMMIEREN17</li>
</ul>
<p><br class="spacer_" /></p>
<p>Also, wer zuerst kommt, malt also zuerst : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6186" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>9. August 2008 -- <a href="http://www.biggle.de/blog/listview-aus-datenbank-fuellen-tutorial-c-net" title="Listview aus Datenbank fuellen / Tutorial Csharp .NET">Listview aus Datenbank fuellen / Tutorial Csharp .NET</a></li><li>30. Juli 2008 -- <a href="http://www.biggle.de/blog/transparente-form-inkl-click-drag-tutorial-c-net" title="Transparente Form inkl. Click &#038; Drag / Tutorial C# .NET">Transparente Form inkl. Click &#038; Drag / Tutorial C# .NET</a></li><li>9. Januar 2011 -- <a href="http://www.biggle.de/blog/mehrfachvererbung-ein-beispiel-in-c" title="Mehrfachvererbung – Ein Beispiel in C#">Mehrfachvererbung – Ein Beispiel in C#</a></li><li>3. Dezember 2010 -- <a href="http://www.biggle.de/blog/biggle-ist-kein-palindrom" title="Biggle ist kein Palindrom">Biggle ist kein Palindrom</a></li><li>9. September 2010 -- <a href="http://www.biggle.de/blog/visual-csharp-2010-openbook" title="Visual C# 2010 &#8211; OpenBook ">Visual C# 2010 &#8211; OpenBook </a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/c-programmieren-fuer-anfaenger/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mehrfachvererbung – Ein Beispiel in C#</title>
		<link>http://www.biggle.de/blog/mehrfachvererbung-ein-beispiel-in-c</link>
		<comments>http://www.biggle.de/blog/mehrfachvererbung-ein-beispiel-in-c#comments</comments>
		<pubDate>Sun, 09 Jan 2011 14:49:46 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6069</guid>
		<description><![CDATA[Angestichelt durch Ilker sein Blogpost, bin ich der Sache mit der Mehrfachvererbung unter .NET mal etwas auf den Grund gegangen. Der Ansatz mit Mixin, Interfaces und ExtensionMethods scheint ja schon seit .NET 3.0 zu bestehen und scheint mir bisher auch der Beste zu sein. Einen weiteren schönen Artikel kann man bei Galileo Computing lesen. Hier ein Beispiel [...]]]></description>
			<content:encoded><![CDATA[<p>Angestichelt durch <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2lsa2VyLmRlL21laHJmYWNodmVyZXJidW5nLWluLWM=">Ilker sein Blogpost</a>, bin ich der Sache mit der <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2RlLndpa2lwZWRpYS5vcmcvd2lraS9NZWhyZmFjaHZlcmVyYnVuZw==">Mehrfachvererbung</a> unter .NET mal etwas auf den Grund gegangen. Der Ansatz mit <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9NaXhpbg==">Mixin</a>, Interfaces und ExtensionMethods scheint ja schon seit .NET 3.0 zu bestehen und scheint mir bisher auch der Beste zu sein. Einen weiteren schönen Artikel kann man bei <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL29wZW5ib29rLmdhbGlsZW9jb21wdXRpbmcuZGUvb29wL29vcF9rYXBpdGVsXzA1XzAwNC5odG0jbWo0NzQ0YTgwYWMwZmY1MjAxNjdkMDEyNGQ3M2RiYTJiMg==">Galileo Computing</a> lesen.</p>
<p>Hier ein Beispiel wie ich das verstanden habe und umsetzen würde.</p>
<p>Interfaces</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">interface</span> IMixinDateTime
<span style="color: #009900;">&#123;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">interface</span> IMixinOneMoreInterface
<span style="color: #009900;">&#123;</span> <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>ExtensionMethods</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> static <span style="color: #000000; font-weight: bold;">class</span> MixinExtensionMethods
<span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">public</span> static int GetYearDiff<span style="color: #009900;">&#40;</span>this IMixinDateTime mxDateMethod<span style="color: #339933;">,</span> DateTime dateTime<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">new</span> DateTime<span style="color: #009900;">&#40;</span>DateTime<span style="color: #339933;">.</span>Now<span style="color: #339933;">.</span>Subtract<span style="color: #009900;">&#40;</span>dateTime<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>Ticks<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>Year <span style="color: #339933;">-</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> static void OneMoreMethod<span style="color: #009900;">&#40;</span>this IMixinOneMoreInterface mxOneMoreMethod<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;">//implement method here ...</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Klassen, welche die Interfaces erben (ggf. implementieren)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Car <span style="color: #339933;">:</span> IMixinDateTime
<span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">public</span> DateTime Baujahr <span style="color: #009900;">&#123;</span> get<span style="color: #339933;">;</span> set<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Person <span style="color: #339933;">:</span> IMixinDateTime<span style="color: #339933;">,</span> IMixinOneMoreInterface
<span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">public</span> DateTime Birthday <span style="color: #009900;">&#123;</span> get<span style="color: #339933;">;</span> set<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Verwendung</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">Person person <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Person<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
person<span style="color: #339933;">.</span>Birthday <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DateTime<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1973</span><span style="color: #339933;">,</span> <span style="color: #208080;">01</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">23</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">var</span> personAge <span style="color: #339933;">=</span> person<span style="color: #339933;">.</span>GetYearDiff<span style="color: #009900;">&#40;</span>person<span style="color: #339933;">.</span>Birthday<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
Car car <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Car<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
car<span style="color: #339933;">.</span>Baujahr <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DateTime<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2000</span><span style="color: #339933;">,</span> <span style="color: #208080;">01</span><span style="color: #339933;">,</span> <span style="color: #208080;">01</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">var</span> carAge <span style="color: #339933;">=</span> car<span style="color: #339933;">.</span>GetYearDiff<span style="color: #009900;">&#40;</span>car<span style="color: #339933;">.</span>Baujahr<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
person<span style="color: #339933;">.</span>OneMoreMethod<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Da beliebig viele Interfaces geerbt werden können, erschließt sich hier, wie das Prinzip funktioniert. Weitere Meinungen, Ergänzungen oder Ansätze sind gerne als Kommentar gesehen.</p>
<p>Viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6069" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>7. Februar 2011 -- <a href="http://www.biggle.de/blog/sqlite-datenbanken-in-csharp-applikationen-verwenden" title="SQLite Datenbanken in C# Applikationen verwenden">SQLite Datenbanken in C# Applikationen verwenden</a></li><li>3. Dezember 2010 -- <a href="http://www.biggle.de/blog/biggle-ist-kein-palindrom" title="Biggle ist kein Palindrom">Biggle ist kein Palindrom</a></li><li>22. Januar 2010 -- <a href="http://www.biggle.de/blog/praktische-muster-commands" title="Praktische Muster &#8211; Commands">Praktische Muster &#8211; Commands</a></li><li>17. Januar 2010 -- <a href="http://www.biggle.de/blog/attribute-mittels-reflektion-abfragen" title="Attribute mittels Reflektion abfragen">Attribute mittels Reflektion abfragen</a></li><li>4. Januar 2010 -- <a href="http://www.biggle.de/blog/webservices-auf-erreichbarkeit-pruefen" title="Webservices auf Erreichbarkeit prüfen">Webservices auf Erreichbarkeit prüfen</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/mehrfachvererbung-ein-beispiel-in-c/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Biggle ist kein Palindrom</title>
		<link>http://www.biggle.de/blog/biggle-ist-kein-palindrom</link>
		<comments>http://www.biggle.de/blog/biggle-ist-kein-palindrom#comments</comments>
		<pubDate>Fri, 03 Dec 2010 10:44:32 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6044</guid>
		<description><![CDATA[Eine kleine Übungsaufgabe für mich, die es zu lösen gab. Es sollte heraus gefunden werden, ob es sich bei einem String um ein Palindrom handelt. Mein Lösungsansatz lautet wie folgt: Ich befreie zunächst die Buchstaben von Sonder- und Leerzeichen und konvertiere alle Zeichen zu Kleinbuchstaben. Dann durchlaufe ich eine for-Schleife mit eine Länge des Stringparameters. [...]]]></description>
			<content:encoded><![CDATA[<p>Eine kleine Übungsaufgabe für mich, die es zu lösen gab. Es sollte heraus gefunden werden, ob es sich bei einem String um ein <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2RlLndpa2lwZWRpYS5vcmcvd2lraS9QYWxpbmRyb20=">Palindrom</a> handelt.</p>
<p>Mein Lösungsansatz lautet wie folgt:<br />
 Ich befreie zunächst die Buchstaben von Sonder- und Leerzeichen und konvertiere alle Zeichen zu Kleinbuchstaben. Dann durchlaufe ich eine for-Schleife mit eine Länge des Stringparameters.</p>
<p>Ich zerlege den String in ein CharArray und vergleiche innerhalb der Schleife, den vorderen mit den letzten Buchstaben. Sind diese gleich wird der nächste vordere und der nächste hintere Buchstabe verglichen. Das geht so lange bis diese sich in der Mitte treffen.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> static <span style="color: #000000; font-weight: bold;">class</span> ExtensionMethods
<span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">public</span> static bool IsPalindrome<span style="color: #009900;">&#40;</span>this string value<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;">//von Leer- und Sonderzeichen befreien</span>
        value <span style="color: #339933;">=</span> value<span style="color: #339933;">.</span>ToLower<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>RemoveSpecialCharacters<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        int minValue <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
        int maxValue <span style="color: #339933;">=</span> value<span style="color: #339933;">.</span>Length <span style="color: #339933;">-</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000000; font-weight: bold;">var</span> charArray <span style="color: #339933;">=</span> value<span style="color: #339933;">.</span>ToCharArray<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span>int i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> value<span style="color: #339933;">.</span>Length <span style="color: #339933;">-</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>charArray<span style="color: #009900;">&#91;</span>minValue<span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> charArray<span style="color: #009900;">&#91;</span>maxValue<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #009900;">&#123;</span>
                minValue<span style="color: #339933;">++;</span>
                maxValue<span style="color: #339933;">--;</span>
                <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
            <span style="color: #b1b100;">else</span>
                <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> static string RemoveSpecialCharacters<span style="color: #009900;">&#40;</span>this string value<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">return</span> Regex<span style="color: #339933;">.</span>Replace<span style="color: #009900;">&#40;</span>value<span style="color: #339933;">,</span> <span style="color: #339933;">@</span><span style="color: #0000ff;">&quot;[^a-zA-Z0-9]&quot;</span><span style="color: #339933;">,</span> string<span style="color: #339933;">.</span><span style="color: #990000;">Empty</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Verwendung:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> Program
<span style="color: #009900;">&#123;</span>
    static void Main<span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        PalindromFactory factory <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> PalindromFactory<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000000; font-weight: bold;">var</span> palindrome <span style="color: #339933;">=</span> factory<span style="color: #339933;">.</span>GetPalindrome<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        string output <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;{0} ist {1}ein Palindrom&quot;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> palindrom in palindrome<span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
            Console<span style="color: #339933;">.</span>WriteLine<span style="color: #009900;">&#40;</span>String<span style="color: #339933;">.</span>Format<span style="color: #009900;">&#40;</span>output<span style="color: #339933;">,</span> palindrom<span style="color: #339933;">,</span> palindrom<span style="color: #339933;">.</span>IsPalindrome<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">&quot;&quot;</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">&quot;k&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #000000; font-weight: bold;">var</span> palindromSaetze <span style="color: #339933;">=</span> factory<span style="color: #339933;">.</span>GetPalindromSaetze<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> palindrom in palindromSaetze<span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
            Console<span style="color: #339933;">.</span>WriteLine<span style="color: #009900;">&#40;</span>String<span style="color: #339933;">.</span>Format<span style="color: #009900;">&#40;</span>output<span style="color: #339933;">,</span> palindrom<span style="color: #339933;">,</span> palindrom<span style="color: #339933;">.</span>IsPalindrome<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">&quot;&quot;</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">&quot;k&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Ich hoffe ich habe nichts vergessen, getestet jedoch habe ich diese Methode mit der <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2RlLndpa2lwZWRpYS5vcmcvd2lraS9MaXN0ZV9kZXV0c2NoZXJfUGFsaW5kcm9tZQ==">Liste deutscher Palindrome</a> aus Wikipedia. Nicht-Palindrome natürlich mit einbegriffen : )</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/// Stellt eine Sammlung von Palindrome und Palindromsätze bereit</span>
<span style="color: #666666; font-style: italic;">/// Quelle Wikipedia</span>
<span style="color: #666666; font-style: italic;">/// http://de.wikipedia.org/wiki/Liste_deutscher_Palindrome</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> PalindromFactory
<span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">private</span> List<span style="color: #339933;">&lt;</span>string<span style="color: #339933;">&gt;</span> Palindrome <span style="color: #009900;">&#123;</span> get<span style="color: #339933;">;</span> set<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> List<span style="color: #339933;">&lt;</span>string<span style="color: #339933;">&gt;</span> GetPalindrome<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        Palindrome <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> List<span style="color: #339933;">&lt;</span>string<span style="color: #339933;">&gt;</span>
        <span style="color: #009900;">&#123;</span>
            <span style="color: #0000ff;">&quot;Aha&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Amokoma&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Amoralaroma&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Anina&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Anna&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Annasusanna&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Aua&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Bob&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Bub&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Burggrub&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Biggle&quot;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">//kein Palindrom</span>
            <span style="color: #0000ff;">&quot;Mario&quot;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">//kein Palindrom</span>
            <span style="color: #0000ff;">&quot;Mongognom&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Nebelleben&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;neben&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Neffen&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;nennen&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;netten&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;netzten&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Neozoen&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;nun&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Omo&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Otto&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Priebe&quot;</span> <span style="color: #666666; font-style: italic;">//kein Palindrom</span>
            <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">return</span> Palindrome<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> List<span style="color: #339933;">&lt;</span>string<span style="color: #339933;">&gt;</span> GetPalindromSaetze<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        Palindrome <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> List<span style="color: #339933;">&lt;</span>string<span style="color: #339933;">&gt;</span>
        <span style="color: #009900;">&#123;</span>
            <span style="color: #0000ff;">&quot;Die Liebe fleht: Helfe bei Leid!&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Die Liebe geht, hege Beileid!&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Die Liebe, ist sie Beileid?&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Die Liebe ist Sieger, rege ist sie bei Leid.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Die Liebe ist Sieger, stets rege ist sie bei Leid.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Die Niere bot Komik: nass sank im Oktober ein Eid.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Die Rede — ist sie der Eid?&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Dreh Magiezettel um, Amulette zeig am Herd!&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Du, erfror Freud?&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Der Fred&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Eine güldne, gute Tugend: Lüge nie!&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Eine Horde bedrohe nie!&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Eine Hure ruhe nie.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Eine Note betone nie.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Eine so Kesse kose nie.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Eine treue Familie bei Lima feuerte nie.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Einhorn roh? Nie!&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Eins nutzt uns: Amore. Die Rederei da, die Rederei der Omas nutzt uns nie.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Eis feil! Ei, wo Eis feil lief sie, o wie lief sie.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Elietta hat Teile.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Ella rüffelte Detlef für alle.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Elly biss Sibylle.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Emma, behend 'ne Hebamme!&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Emma, so litt Tilos Amme!&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Emmas Amme&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Er habe nie eine Bahre.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Erhabene Bahre&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Erhöre nie eine Röhre.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Erika feuert nur untreue Fakire.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Erol, red nie in der Lore.&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;Alles hat seine Zeit, nur die alten Weiber nicht.&quot;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">//Kein Palindromsatz</span>
            <span style="color: #0000ff;">&quot;Es eilt, immer ahnend Nebel, reger der Flegel Fred, reg' erlebend nen Harem mit Liese.&quot;</span><span style="color: #339933;">,</span>
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">return</span> Palindrome<span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Für einen schnellen Verwendungszeck (<strong>weil man das auch so oft braucht oO</strong>)  habe ich das ganze als ExtensionMethod implementiert.</p>
<p>Wie schaut&#8217;s aus, hast du Verbesserungsvorschläge? Würdest du es anders machen, wenn ja wie? Du kannst im Kommentarfeld mit [code]<strong>var* </strong>deinCodeSnippet = 0;[/code] posten.</p>
<p><br class="spacer_" /></p>
<p>Viel Spaß beim entwickeln : )</p>
<p><br class="spacer_" /></p>
<p>* = <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL21lbnR6ZWwubmFtZS8yMDEwLzEyLzAyL3ZhcnVtLw==">Var oder nicht var&#8230;</a></p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6044" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>9. Januar 2011 -- <a href="http://www.biggle.de/blog/mehrfachvererbung-ein-beispiel-in-c" title="Mehrfachvererbung – Ein Beispiel in C#">Mehrfachvererbung – Ein Beispiel in C#</a></li><li>18. November 2009 -- <a href="http://www.biggle.de/blog/php-entwicklungsumgebung-auf-windows" title="PHP Entwicklungsumgebung unter Windows">PHP Entwicklungsumgebung unter Windows</a></li><li>20. April 2011 -- <a href="http://www.biggle.de/blog/basta-on-tour-%e2%80%93-architecture-best-practices-gewinnspiel" title="BASTA! on Tour – Architecture &#038; Best Practices + Gewinnspiel">BASTA! on Tour – Architecture &#038; Best Practices + Gewinnspiel</a></li><li>7. Februar 2011 -- <a href="http://www.biggle.de/blog/sqlite-datenbanken-in-csharp-applikationen-verwenden" title="SQLite Datenbanken in C# Applikationen verwenden">SQLite Datenbanken in C# Applikationen verwenden</a></li><li>7. Februar 2011 -- <a href="http://www.biggle.de/blog/c-programmieren-fuer-anfaenger" title="C Programmieren für Anfänger">C Programmieren für Anfänger</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/biggle-ist-kein-palindrom/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>70 coole Photoshop Text-Tutorials</title>
		<link>http://www.biggle.de/blog/70-coole-photoshop-text-tutorials</link>
		<comments>http://www.biggle.de/blog/70-coole-photoshop-text-tutorials#comments</comments>
		<pubDate>Thu, 22 Jul 2010 19:01:28 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Tipps]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=4997</guid>
		<description><![CDATA[70 coole Photoshop Text-Tutorials, wohl die beste Auswahl aus 2010 findest du bei slodive. Sind echt heisse HowTos dabei! Dieser Beitrag stammt von Mario Priebe. Ähnliche Beiträge7. Februar 2011 -- C Programmieren für Anfänger9. Januar 2011 -- Mehrfachvererbung – Ein Beispiel in C#3. Dezember 2010 -- Biggle ist kein Palindrom18. November 2009 -- PHP Entwicklungsumgebung [...]]]></description>
			<content:encoded><![CDATA[<p>70 coole Photoshop Text-Tutorials, wohl die beste Auswahl aus 2010 findest du bei <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3Nsb2RpdmUuY29tL3Bob3Rvc2hvcC83MC1waG90b3Nob3AtdHV0b3JpYWxzLWZvci10ZXh0LWRlY29yYXRpb24tZnJvbS0yMDEwLw==">slodive</a>. Sind echt heisse HowTos dabei!</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMC8wNy9wc3RleHR0dXRzLnBuZw=="><img class="alignnone size-full wp-image-4998" title="pstexttuts" src="http://www.biggle.de/blog/wp-content/uploads/2010/07/pstexttuts.png" alt="" width="500" /></a></p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=4997" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>7. Februar 2011 -- <a href="http://www.biggle.de/blog/c-programmieren-fuer-anfaenger" title="C Programmieren für Anfänger">C Programmieren für Anfänger</a></li><li>9. Januar 2011 -- <a href="http://www.biggle.de/blog/mehrfachvererbung-ein-beispiel-in-c" title="Mehrfachvererbung – Ein Beispiel in C#">Mehrfachvererbung – Ein Beispiel in C#</a></li><li>3. Dezember 2010 -- <a href="http://www.biggle.de/blog/biggle-ist-kein-palindrom" title="Biggle ist kein Palindrom">Biggle ist kein Palindrom</a></li><li>18. November 2009 -- <a href="http://www.biggle.de/blog/php-entwicklungsumgebung-auf-windows" title="PHP Entwicklungsumgebung unter Windows">PHP Entwicklungsumgebung unter Windows</a></li><li>27. Juli 2009 -- <a href="http://www.biggle.de/blog/msdn-mediathek-in-zahlen" title="MSDN Mediathek in Zahlen">MSDN Mediathek in Zahlen</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/70-coole-photoshop-text-tutorials/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PHP Entwicklungsumgebung unter Windows</title>
		<link>http://www.biggle.de/blog/php-entwicklungsumgebung-auf-windows</link>
		<comments>http://www.biggle.de/blog/php-entwicklungsumgebung-auf-windows#comments</comments>
		<pubDate>Wed, 18 Nov 2009 21:14:28 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=3269</guid>
		<description><![CDATA[Hier möchte ich gerne zeigen, wie man sich auf dem Windowssysstem eine PHP-Entwicklungsumgebung einrichtet. Ich verwende dazu die Programme XAMPP und ...]]></description>
			<content:encoded><![CDATA[<p>Heute möchte ich gerne zeigen, wie man sich auf dem Windowssysstem eine PHP-Entwicklungsumgebung einrichtet. Ich verwende dazu die kostenlos verfügbaren Programme <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hcGFjaGVmcmllbmRzLm9yZy9kZS94YW1wcC13aW5kb3dzLmh0bWwjNjI4">XAMPP</a> und <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5lYXN5ZWNsaXBzZS5vcmcvc2l0ZS9kaXN0cmlidXRpb25zL3BocC5odG1s">EasyEclipse for PHP</a>.</p>
<p>Diese beiden Programme sollten herunter geladen und installiert werden. Die Reihenfolge sollte nicht relevant sein, schlage aber vor XAMPP als erstes zu installieren.</p>
<p>Nach Installation dieser, müssen wir EasyEclipse einrichten. Dazu gehen wir wie folgt vor.</p>
<p>Zuerst werden wir uns in Eclipse die PHP Umgebung einschalten. Hier geht man vorerst nach dem Start von Eclipse auf der rechten Seite auf Workbench und es werden alle Views der Umgebung geladen.</p>
<p>Wenn man nun rechts oben auf Resources / Other geht,</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czYuanBn"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows6" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows6_thumb.jpg" border="0" alt="HowToPhpOnWindows6" width="285" height="266" /></a></p>
<p>findet man nachfolgend eine weitere Perspektive, wo wir dann PHP auswählen.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czcuanBn"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows7" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows7_thumb.jpg" border="0" alt="HowToPhpOnWindows7" width="244" height="217" /></a></p>
<p>Nun müssen wir XAMPP und EasyEclipse miteinander verknüpfen. (Wenn man C:\ als Installationspfad gelassen hat sollte eigtl. alles gut sein, jedoch schauen wir hier nochmal nach.)</p>
<p>Dazu selektieren wir Window/Preferences</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czguanBn"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows8" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows8_thumb.jpg" border="0" alt="HowToPhpOnWindows8" width="194" height="244" /></a></p>
<p>Und gehen im linken Menu auf den Punkt XAMPP, siehe Abbildung</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czkuanBn"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows9" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows9_thumb.jpg" border="0" alt="HowToPhpOnWindows9" width="244" height="171" /></a></p>
<p>Auf der rechten Seite sind dann die Pfade vorgegeben, diese sollten mit der Installation von XAMPP übereinstimmen.</p>
<p>Nun starten wir XAMPP über die EclipseUmgebung.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czEwLmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows10" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows10_thumb.jpg" border="0" alt="HowToPhpOnWindows10" width="250" height="139" /></a></p>
<p>In der unten stehenden Konsole sollten wir dazu auch eine Erfolgsmeldung bekommen.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czEzLmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows13" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows13_thumb.jpg" border="0" alt="HowToPhpOnWindows13" width="373" height="182" /></a></p>
<p>Nun rufen  wir im Browser deiner Wahl die lokale URL auf, die 127.0.0.1 oder localhost lautet und sollten dann, nachdem wir unter dem XAMPP-Logo und auf Deutsch geklickt haben, folgende Meldung sehen.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czMuanBn"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows3" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows3_thumb.jpg" border="0" alt="HowToPhpOnWindows3" width="504" height="185" /></a></p>
<p>Nach einem Klick auf Status im linken Menü sollten wir eine Übersicht bekommen, welche Dienste denn alle aktiviert sind.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czExLmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows11" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows11_thumb.jpg" border="0" alt="HowToPhpOnWindows11" width="504" height="352" /></a></p>
<p>Den Browser können wir jetzt wieder schließen und in der Umgebung uns die selbe URL im integrierten Browser aufrufen</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czEyLmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows12" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows12_thumb.jpg" border="0" alt="HowToPhpOnWindows12" width="520" height="370" /></a></p>
<p>Wenn auch das geklappt hat, kann es eigentlich los gehen. Vorher jedoch müssen wir noch den “htdocs” Ordner als Dokumentenroot definieren.</p>
<p>Dazu gehen wir unter Window/Preferences auf das unten in der Abbildung markierte ”Item “ProjectDefaults und tragen hier auf der rechten Seite den Pfads zum htdocs-Verzeichnis innerhalb des XAMPP Verzeichnisses ein.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czE0LmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows14" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows14_thumb.jpg" border="0" alt="HowToPhpOnWindows14" width="504" height="396" /></a></p>
<p>Nun können wir uns ein PHP Projekt anlegen. Dazu gehen wir auf der linken Seite in den Navigator und klicken mit der rechten Maustaste und erstellen uns dieses.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czE1LmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows15" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows15_thumb.jpg" border="0" alt="HowToPhpOnWindows15" width="364" height="391" /></a></p>
<p><span style="text-decoration: underline;">Wichtig</span> ist, auch hier die Angabe, zu einem Ordner der sich im htdocs-Verzeichnis befindet, diesen müssen wir uns auch zuvor physikalisch anlegen.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czE2LmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows16" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows16_thumb.jpg" border="0" alt="HowToPhpOnWindows16" width="504" height="413" /></a></p>
<p>In diesem Projekt können wir uns nun die erste PHP-Datei anlegen, dazu wieder Rechtsklick im Navigator, auf das Projekt und auf PHP File</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czE3LmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows17" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows17_thumb.jpg" border="0" alt="HowToPhpOnWindows17" width="413" height="327" /></a></p>
<p>Vergeben einen Namen, sinnvoll oder nicht, das ist egal : )</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czE4LmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows18" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows18_thumb.jpg" border="0" alt="HowToPhpOnWindows18" width="504" height="408" /></a></p>
<p>und schreiben unseren ersten Code. Hier sieht man nach dem Speichern des Files auch gleich im PHP Browser das Ergebnis</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czE5LmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows19" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows19_thumb.jpg" border="0" alt="HowToPhpOnWindows19" width="504" height="396" /></a></p>
<p>Das generierte Kommentartemplate kann man auch recht einfach anpassen. Hierzu geht wieder auf Window/Preferences und auf die unten in der Abbildung markierten Items bis zu CodeTemplates. Hier markiert man dann auf der rechten Seite New PHP Files und dann auf Edit.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czIwLmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows20" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows20_thumb.jpg" border="0" alt="HowToPhpOnWindows20" width="504" height="232" /></a></p>
<p>An dieser Stelle, kann man nun sein eigenes PHP-File HeaderTemplate einrichten.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czIxLmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows21" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows21_thumb.jpg" border="0" alt="HowToPhpOnWindows21" width="504" height="255" /></a></p>
<p>Zum Schluss noch einen letzten Screen, der zeigt das man vor dem Beenden von Eclipse auch den XAMPP wieder stoppen sollte.</p>
<p><a rel=\"thumbnail\" href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9Ib3dUb1BocE9uV2luZG93czIyLmpwZw=="><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="HowToPhpOnWindows22" src="http://www.biggle.de/blog/wp-content/uploads/2009/11/HowToPhpOnWindows22_thumb.jpg" border="0" alt="HowToPhpOnWindows22" width="244" height="170" /></a></p>
<p>So nun steht einem nichts mehr im Wege, bei der Entwicklung von PHP mit Eclipse auf einem Windowssystem.</p>
<p>Btw, wie  man auf dem einen oder anderen Screenshot sehen konnte, haben wir uns mit dem XAMPP Paket auch MySQL installiert, was uns natürlich auch im vollen Umfang zur Verfügung steht.</p>
<p>So nun viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=3269" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>3. Dezember 2010 -- <a href="http://www.biggle.de/blog/biggle-ist-kein-palindrom" title="Biggle ist kein Palindrom">Biggle ist kein Palindrom</a></li><li>7. Februar 2011 -- <a href="http://www.biggle.de/blog/c-programmieren-fuer-anfaenger" title="C Programmieren für Anfänger">C Programmieren für Anfänger</a></li><li>9. Januar 2011 -- <a href="http://www.biggle.de/blog/mehrfachvererbung-ein-beispiel-in-c" title="Mehrfachvererbung – Ein Beispiel in C#">Mehrfachvererbung – Ein Beispiel in C#</a></li><li>16. November 2010 -- <a href="http://www.biggle.de/blog/windows-phone-7-push-notification-implementierung-beispiel" title="Windows Phone 7 – Push Notification">Windows Phone 7 – Push Notification</a></li><li>1. November 2010 -- <a href="http://www.biggle.de/blog/bing-api-beispiel-csharp-quicky" title="Bing API Beispiel &#8211; C# Quicky">Bing API Beispiel &#8211; C# Quicky</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/php-entwicklungsumgebung-auf-windows/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

