<?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>Alexander Zerr &#187; ZF</title>
	<atom:link href="http://www.xelaz.de/tag/zf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xelaz.de</link>
	<description>Meine Erfahrungen in der Web Entwicklung</description>
	<lastBuildDate>Mon, 26 Sep 2011 18:30:56 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Global View Helper</title>
		<link>http://www.xelaz.de/global-view-helper/</link>
		<comments>http://www.xelaz.de/global-view-helper/#comments</comments>
		<pubDate>Wed, 07 May 2008 16:31:04 +0000</pubDate>
		<dc:creator>Alexander Zerr</dc:creator>
				<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[ZF]]></category>

		<guid isPermaLink="false">http://www.xelaz.de/?p=25</guid>
		<description><![CDATA[Zend Framework ist so Aufgebaut, dass man alles Global anlegen kann oder das ZF für alle Projekte gemeinsam nutzt. So kann man auch eigenes ZF Komponente Global anlegen.
Ich zeige wie man eigen View Helper anlegt, den man in allen Projekten nutzen kann und noch der dazu getrennt von ZF ist.
Ich mache ein kleinen Helper der [...]]]></description>
			<content:encoded><![CDATA[<p>Zend Framework ist so Aufgebaut, dass man alles Global anlegen kann oder das ZF für alle Projekte gemeinsam nutzt. So kann man auch eigenes ZF Komponente Global anlegen.<br />
Ich zeige wie man eigen View Helper anlegt, den man in allen Projekten nutzen kann und noch der dazu getrennt von ZF ist.<br />
Ich mache ein kleinen Helper der mir den cheked Attribut in die Inputs schreibt.<br />
Die Voraussetzung dafür ist, dass man ZF und eigene Global Library in einem Verzeichnis legt welcher auch im include_path angehängt ist.</p>
<p>Dann legt man seine Globale Komponenten an:</p>
<pre>
library/
  Global/
    View/
      Helper/
        CheckedInput.php
  Zend/
</pre>
<p>Die Klasse sieht so aus:
<pre><code>&lt;?php

class Global_View_Helper_CheckedInput
{

	public function checkedInput($val, $eq)
	{
		echo $val == (string) $eq ? ' checked="checked"' : '';
	}

}
</code></pre>
<p>In der Bootstrap Datei wird der Pfad an die View übergeben:
<pre><code>$viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer(new Zend_View());
$viewRenderer->view->addHelperPath('Global/View/Helper', 'Global_View_Helper');
Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);
</code></pre>
<p>Jetzt kann man den Helper in allen Views der Projekte benutzen:
<pre><code>&lt;input type="radio" name="test" value="a" &lt;?php $this->checkedInput('a','b') ?&gt;&gt;
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xelaz.de/global-view-helper/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zend Framework Video Tutorials</title>
		<link>http://www.xelaz.de/zend-framework-video-tutorials/</link>
		<comments>http://www.xelaz.de/zend-framework-video-tutorials/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 17:38:16 +0000</pubDate>
		<dc:creator>Alexander Zerr</dc:creator>
				<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[ZF]]></category>

		<guid isPermaLink="false">http://www.xelaz.de/?p=24</guid>
		<description><![CDATA[Heute hab ich eine Seite mit Videos gefunden, die den Anfängern das Zend Framework mit einfachen Schritten heranführen. Es ist wirklich sehr einfach mit dem MVC des Zend Frameworks Dynamische Seiten zu erstellen. Diese Tutorials sind in Englisch gehalten, aber zeigen einen guten Einblick in die ersten Schritte des ZF.
Hier geht es zu den Zend [...]]]></description>
			<content:encoded><![CDATA[<p>Heute hab ich eine Seite mit Videos gefunden, die den Anfängern das Zend Framework mit einfachen Schritten heranführen. Es ist wirklich sehr einfach mit dem MVC des Zend Frameworks Dynamische Seiten zu erstellen. Diese Tutorials sind in Englisch gehalten, aber zeigen einen guten Einblick in die ersten Schritte des ZF.</p>
<p>Hier geht es zu den <a href="http://www.killerphp.com/zend-framework/videos/" target="_blank"><strong>Zend Framework Video Tutorials</strong></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.xelaz.de/zend-framework-video-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework in Action</title>
		<link>http://www.xelaz.de/zend-framework-in-action/</link>
		<comments>http://www.xelaz.de/zend-framework-in-action/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 19:35:15 +0000</pubDate>
		<dc:creator>Alexander Zerr</dc:creator>
				<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[ZF]]></category>

		<guid isPermaLink="false">http://www.xelaz.de/zend-framework-in-action/</guid>
		<description><![CDATA[
Ein sehr gutes Buch ist im Netz als PDF aufgetaucht.
http://www.ebookee.com/Zend-Framework-in-Action_162238.html
]]></description>
			<content:encoded><![CDATA[<p><div style="float:right; margin:10px;width:120px;"><iframe src="http://rcm-de.amazon.de/e/cm?t=vfgibo-21&amp;asins=1933988320&amp;fc1=ff0000&amp;lc1=00749E&amp;bc1=ffffff&amp;bg1=ffffff&amp;lt1=_blank&amp;is2=1&amp;o=3&amp;p=8&amp;l=as1&amp;f=ifr&amp;" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></div></p>
<p>Ein sehr gutes Buch ist im Netz als PDF aufgetaucht.</p>
<p>http://www.ebookee.com/Zend-Framework-in-Action_162238.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xelaz.de/zend-framework-in-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework mit Ajax</title>
		<link>http://www.xelaz.de/zend-framework-mit-ajax/</link>
		<comments>http://www.xelaz.de/zend-framework-mit-ajax/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 19:43:07 +0000</pubDate>
		<dc:creator>Alexander Zerr</dc:creator>
				<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ZF]]></category>

		<guid isPermaLink="false">http://www.xelaz.de/zend-framework-mit-ajax/</guid>
		<description><![CDATA[
Ich hab vor kurzem den neuen Action_Helper im ZF ausprobiert, und muss mal sagen, dass es eine gute Lösung ist um saubere Ajax Applikationen zu schreiben.
Beim ersten Anlauf bekam ich einen Fehler &#8216;Context &#8220;ajax&#8221; does not exist&#8217;. Obwoll ich immer die initContext(&#8216;html&#8217;) aufgerufen habe, kam es immer zu diesem Fehler. Dann hab nochmal die Ajax [...]]]></description>
			<content:encoded><![CDATA[<p><div style="float:right; margin:10px;width:120px;"><iframe src="http://rcm-de.amazon.de/e/cm?t=vfgibo-21&amp;asins=0973862157&amp;fc1=ff0000&amp;lc1=00749E&amp;bc1=ffffff&amp;bg1=ffffff&amp;lt1=_blank&amp;is2=1&amp;o=3&amp;p=8&amp;l=as1&amp;f=ifr&amp;" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></div><br />
Ich hab vor kurzem den neuen Action_Helper im ZF ausprobiert, und muss mal sagen, dass es eine gute Lösung ist um saubere Ajax Applikationen zu schreiben.<br />
Beim ersten Anlauf bekam ich einen Fehler &#8216;Context &#8220;ajax&#8221; does not exist&#8217;.<strong> </strong>Obwoll ich immer die initContext(&#8216;html&#8217;) aufgerufen habe, kam es immer zu diesem Fehler. Dann hab nochmal die Ajax URL angeschaut und hab festgestellt, dass es falscher Pfad war.</p>
<p><strong>/mudule/controller/action/format/ajax</strong></p>
<p>Das format/ajax war komplett hier Falsch, richtig ist fromat/html zu schreiben, aber die Templates werden mit ajax Prefix bennant.</p>
<p>So jetzt mal zu der ganzen Geschichte. Ich schreib Sie in kleinen Schritten.</p>
<p>Zum Anfang müsst ihr kurz wissen, dass Helper AjaxContext die Zend_Controller_Action_Helper_ContextSwitch um eine kleine Funktion erweitert, welche im header den XmlHttpRequest sucht um sicher zu gehen das es sich um Ajax Aufruf handelt.</p>
<p><strong>1.</strong><br />
Man startet den Front_Controller.</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #ff0000">$frontController</span> <span style="color: #66cc66;">=</span> Zend_Controller_Front<span style="color: #66cc66;">::</span><span style="color: #006600;">getInstance</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>Erzeugt den AjaxContext Helper und legt ihn in den Broker rein:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #ff0000">$ajaxContext</span> <span style="color: #66cc66;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Zend_Controller_Action_Helper_AjaxContext<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span>
Zend_Controller_Action_HelperBroker<span style="color: #66cc66;">::</span><span style="color: #006600;">addHelper</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000">$ajaxContext</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span></pre></div></div>

<p>Nach diesen Schritten könnt ihr euren Dispatcher starten:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #ff0000">$frontController</span><span style="color: #66cc66;">-&gt;</span><span style="color: #006600;">dispatch</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span></pre></div></div>

<p><strong>2.</strong><br />
Jetzt kommen wir zu dem Controller und der Action:</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
</pre></td><td class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">class</span> IndexController <span style="color: #000000; font-weight: bold;">extends</span> Zend_Controller_Action
<span style="color: #66cc66;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #ff0000">$ajaxable</span> <span style="color: #66cc66;">=</span> <span style="color: #000066;">array</span><span style="color: #66cc66;">&#40;</span>
   <span style="color: #ff0000;">'index'</span> <span style="color: #66cc66;">=&gt;</span> <span style="color: #000066;">array</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'html'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span>  <span style="color: #808080; font-style: italic;">// nur ajax</span>
   <span style="color: #ff0000;">'go'</span> <span style="color: #66cc66;">=&gt;</span> <span style="color: #000066;">array</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'json'</span><span style="color: #66cc66;">,</span><span style="color: #ff0000;">'xml'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">// json  mit xml</span>
   <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span>
&nbsp;
   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> preDispatch<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
   <span style="color: #66cc66;">&#123;</span>
      <span style="color: #ff0000">$this</span><span style="color: #66cc66;">-&gt;</span>_helper<span style="color: #66cc66;">-&gt;</span><span style="color: #006600;">ajaxContext</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">-&gt;</span><span style="color: #006600;">initContext</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span>
   <span style="color: #66cc66;">&#125;</span>
&nbsp;
   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> indexAction<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
   <span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span>
&nbsp;
   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> goAction<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
   <span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p><strong>3.<br />
</strong>Als Letztes legen wir die Templates fest. Je nach Format wird auch ensprechen die prefix angehängt index.ajax.phtml oder go.xml.phtml.</p>

<div class="wp_syntax"><div class="code"><pre class="apache">  views/
    scripts/
      index.xml.phtml
      go.xml.phtml
      go.json.phtml</pre></div></div>

<p>Und am ende müsst ihr Ajax am besten in <a href="http://www.jquery.com"><strong>jQuery</strong></a> oder Prototype die URL aufrufen:</p>

<div class="wp_syntax"><div class="code"><pre class="apache">/controller/index/format/html
/controller/go/format/xml
/controller/go/format/json</pre></div></div>

<p>So das war mal eine kurze einführung. Den Rest müsst ihr jetzt mal selbt ausprobieren oder einfach mal bei Google suchen <img src='http://www.xelaz.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.xelaz.de/zend-framework-mit-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse .project und SVN</title>
		<link>http://www.xelaz.de/eclipse-project-und-svn/</link>
		<comments>http://www.xelaz.de/eclipse-project-und-svn/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 21:56:32 +0000</pubDate>
		<dc:creator>Alexander Zerr</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[PDT]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[ZF]]></category>

		<guid isPermaLink="false">http://www.xelaz.de/archives/5</guid>
		<description><![CDATA[
Ich bin letztens an ein Problem gekommen, welches mir ein Tag gekostet hat es zu lösen, weil ich einfach nicht logisch nachgedacht hatte.
Folgendes, ich check ein Projekt aus SVN aus und mir fehlt eine Datei &#8220;.project&#8221; die von Eclipse automatisch eingefügt wird. Das Problem ist jetzt: Wenn es ein PHP Projekt ist und man viele [...]]]></description>
			<content:encoded><![CDATA[<p><div style="float:left; margin:10px;width:240px;"><iframe src="http://rcm-de.amazon.de/e/cm?t=vfgibo-21&amp;asins=3898427927&amp;fc1=ff0000&amp;lc1=00749E&amp;bc1=ffffff&amp;bg1=ffffff&amp;lt1=_blank&amp;is2=1&amp;o=3&amp;p=8&amp;l=as1&amp;f=ifr&amp;" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><iframe src="http://rcm-de.amazon.de/e/cm?t=vfgibo-21&amp;asins=0672329409&amp;fc1=ff0000&amp;lc1=00749E&amp;bc1=ffffff&amp;bg1=ffffff&amp;lt1=_blank&amp;is2=1&amp;o=3&amp;p=8&amp;l=as1&amp;f=ifr&amp;" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></div><br />
Ich bin letztens an ein Problem gekommen, welches mir ein Tag gekostet hat es zu lösen, weil ich einfach nicht logisch nachgedacht hatte.</p>
<p>Folgendes, ich <em>check</em> ein Projekt aus SVN aus und mir fehlt eine Datei &#8220;<strong>.project</strong>&#8221; die von Eclipse automatisch eingefügt wird. Das Problem ist jetzt: Wenn es ein PHP Projekt ist und man viele Klassen hat oder ein Framwork (ZF), die man per Kontextmenue anzeigen will (Strg+LeehrT), weiss Eclipse nicht wo man nach den Namen suchen soll. Es wird auch von Eclipse kein <em>Build</em> ausgeführt und man kann kein <em>Clean&#8230;</em> auf das Projekt ausführen. Warum?</p>
<p><strong>Lösung:</strong> Man öffnet die .project (falls man sie nicht sehen kann, dann wird sie von Ecplipse versteckt, Lösung &#8220;Filter ausschalten&#8221;) Datei:</p>

<div class="wp_syntax"><div class="code"><pre class="xml"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;?xml</span> <span style="color: #000066;">version</span>=”<span style="color: #cc66cc;">1.0</span>″ <span style="color: #000066;">encoding</span>=”UTF<span style="color: #cc66cc;">-8</span>″<span style="font-weight: bold; color: black;">?&gt;</span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;projectDescription<span style="font-weight: bold; color: black;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;name<span style="font-weight: bold; color: black;">&gt;</span></span></span>projektXXX<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/name<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;comment<span style="font-weight: bold; color: black;">&gt;</span></span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/comment<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;projects<span style="font-weight: bold; color: black;">&gt;</span></span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/projects<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;buildSpec<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;buildCommand<span style="font-weight: bold; color: black;">&gt;</span></span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/buildCommand<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/buildSpec<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;natures<span style="font-weight: bold; color: black;">&gt;</span></span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/natures<span style="font-weight: bold; color: black;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/projectDescription<span style="font-weight: bold; color: black;">&gt;</span></span></span></pre></div></div>

<p>Die beiden Knoten <strong>&lt;buildSpec&gt;</strong> und <strong>&lt;natures&gt;</strong> müßen mit diesem Teil ersetzt werden:</p>

<div class="wp_syntax"><div class="code"><pre class="xml"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;buildSpec<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;buildCommand<span style="font-weight: bold; color: black;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;name<span style="font-weight: bold; color: black;">&gt;</span></span></span>org.eclipse.php.core.PhpIncrementalProjectBuilder<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/name<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/buildCommand<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;buildCommand<span style="font-weight: bold; color: black;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;name<span style="font-weight: bold; color: black;">&gt;</span></span></span>org.eclipse.wst.validation.validationbuilder<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/name<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/buildCommand<span style="font-weight: bold; color: black;">&gt;</span></span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/buildSpec<span style="font-weight: bold; color: black;">&gt;</span></span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;natures<span style="font-weight: bold; color: black;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;nature<span style="font-weight: bold; color: black;">&gt;</span></span></span>org.eclipse.php.core.PHPNature<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/nature<span style="font-weight: bold; color: black;">&gt;</span></span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/natures<span style="font-weight: bold; color: black;">&gt;</span></span></span></pre></div></div>

<p><div style="float:right; margin:10px;width:240px;"><iframe src="http://rcm-de.amazon.de/e/cm?t=vfgibo-21&amp;asins=3897214601&amp;fc1=ff0000&amp;lc1=00749E&amp;bc1=ffffff&amp;bg1=ffffff&amp;lt1=_blank&amp;is2=1&amp;o=3&amp;p=8&amp;l=as1&amp;f=ifr&amp;" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><iframe src="http://rcm-de.amazon.de/e/cm?t=vfgibo-21&amp;asins=3898644871&amp;fc1=ff0000&amp;lc1=00749E&amp;bc1=ffffff&amp;bg1=ffffff&amp;lt1=_blank&amp;is2=1&amp;o=3&amp;p=8&amp;l=as1&amp;f=ifr&amp;" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></div>Dann ruft man in Eclipse Menü<br />
<em>Project -&gt; Clean&#8230; </em>auf. Jetzt das Häkchen auf das gewünschte Projekt setzen und OK drücken.</p>
<p>Ecplipse führt danach &#8220;Building workspace&#8221; aus und jetzt hat man ein sauberes PHP Projekt mit eigenen Namespaces.</p>
<p><strong>Dabei müsst ihr beachten</strong>, mit welchem Plugin eure Eclipse PHP anzeigt. Ich benutze das <a href="http://www.zend.com/en/community/pdt" title="PDT">PDT </a>mit <a href="www.eclipse.org/webtools/wst/main.php">WST</a>. Wenn ihr andere habt wie PHPEclipse. Dann legt einfach ein Dummy Projekt an und schaut euch dort diese Zeilen aus .project an.</p>
<p>Also ich denke mal, dass das reicht um auch selber das Problem zu lösen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xelaz.de/eclipse-project-und-svn/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

