<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2germanfull.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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>StarSt0rm Design</title>
	
	<link>http://www.starstormdesign.de</link>
	<description>Themen PHP und MySQL, Sicherheit im Internet, Suchmaschinenoptimierung. Meinen Projekte, wie den ABI-Planer. Tipps, Trick und Zahlreiche Tutorials</description>
	<lastBuildDate>Thu, 24 May 2012 12:58:41 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/starstormdesign" /><feedburner:info uri="starstormdesign" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare href="http://add.my.yahoo.com/content?lg=de&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://us.i1.yimg.com/us.yimg.com/i/de/my/addtomyyahoo4.gif">Subscribe with Mein Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/starstormdesign" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2Fstarstormdesign" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>NetBeans 7.2 Beta erschienen</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/vDwsDPSoKF8/</link>
		<comments>http://www.starstormdesign.de/netbeans-7-2-beta-erschienen/#comments</comments>
		<pubDate>Thu, 24 May 2012 12:58:41 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[PHP 5.4]]></category>
		<category><![CDATA[Symfony2]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=331</guid>
		<description><![CDATA[Bereits gestern wurde die erste Beta-Version von NetBeans 7.2 veröffentlicht. Die Version lässt sich problemlos neben der aktuellen 7.1.2 installieren und Benutzer. Somit kann jeder dem Versuch wagen. Beim ersten Öffnen der Anwendung werdet ihr auch gleich gefragt, ob ihr die Einstellungen aus der anderen installieren Version importieren möchtet. Anschließend kommt auch die Frage, ob [...]]]></description>
			<content:encoded><![CDATA[<p>Bereits gestern wurde die erste Beta-Version von NetBeans 7.2 veröffentlicht. Die Version lässt sich problemlos neben der aktuellen 7.1.2 installieren und Benutzer. Somit kann jeder dem Versuch wagen. Beim ersten Öffnen der Anwendung werdet ihr auch gleich gefragt, ob ihr die Einstellungen aus der anderen installieren Version importieren möchtet. Anschließend kommt auch die Frage, ob die installierten Plugins übernommen werden sollen. Somit steht dem neugierigen Entwickler nichts in Weg.<span id="more-331"></span></p>
<p>Mit dem Update auf Version 7.2 erhält NetBeans zahlreiche neue Features. Ich habe ja bereits im Vorfeld <a href="http://www.starstormdesign.de/netbeans-7-2-wird-weiter-ausgebaut/" title="NetBeans 7.2 wird weiter ausgebaut">einiges zu der kommenden Version geschrieben</a> und würde die Liste heute gerne ergänzen.</p>
<h2>PHP 5.4 Support</h2>
<ul>
<li>NetBeans kommt nun auch mit <a href="http://php.net/manual/en/language.oop5.traits.php" title="Traits auf php.net">Traits</a> klar. Das heißt in erster Linie, dass das Syntaxhighlighting ordnungsgemäß funktioniert und die Autovervollständigung auch greift.</li>
<li>Der <strong>Built-in Web-Server</strong>, der ein Teil von PHP 5.4 ist, ist auch in NetBeans integriert.</li>
<li>Kurze Schreibweise von Arrays ist auch implementiert und bekommt das richtige Highlighting.

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$arr</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'php'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'5.4'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
<li>Das <strong>Array Dereferencing</strong> hat Einzug gehalten.

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$myObject</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getArray</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getVersion</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
<li><strong>Anonyme Objekt-Variablen</strong> werden auch unterstützt.

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> Test <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000088;">$version</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> Test<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">version</span><span style="color: #339933;">;</span></pre></div></div>

</li>
<li>Type hint „<strong>callable</strong>“</li>
<li>Binärzahlen</li>
</ul>
<h2>Symfony 2 &amp; Doctrine 2</h2>
<p>Es ist jetzt problemlos und ohne Plugins möglich <strong>Twig</strong>-Dateien zu editieren. Man kann auch über „New File“ gleich einen Controller, Entity, oder einfach eine Klasse mit dem Namespace.</p>
<p>Die Konsolenbefehle können, wie bei Symfony 1, über das Menü ausgeführt werden. Das ist besonders für die Windows Benutzer erfreulich. <img src='http://www.starstormdesign.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley'> </p>
<p>Ähnlich wie die Code Template, können jetzt auch <strong>Annotations</strong> definiert werden. Das ist in Verbindung mit Doctrine auch sehr nett. Ich glaube nicht, dass jemand aus dem Kopf eine einseitig Many-To-Many Beziehnung schreiben kann.</p>
<h2>Weitere tolle Funktionen</h2>
<p>NetBeans war je schon immer fleißig und hat die Namespaces immer vervollständigt. Man konnte einfach eine neue Instanz einer Klasse bilden und wenn der Namespace noch unbekannt war, dann wurde dieser einfach vorneweg geschrieben.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">new</span> \Das\Ist\Mein\<span style="color: #000000; font-weight: bold;">Namespace</span>\Klasse<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>Das Ganze ist zwar schön und gut, jedoch nicht wirklich optimal. Schließlich sollte man den Namespace mit use-Statement registrieren.<br>
Dafür wurde eine neue Funktion eingeführt: Beim Rechtsklick in der Datei ist der Punkt „<strong>Fix Uses&#8230;</strong>“ hinzugekommen. Dieser entfernt die „inline“ Namespaces und erstellt use-Statements.</p>
<p>Leider hat die Funktion noch einige Schwächen, die besonders in Verbindung mit Symfony 2 auftreten: Der Parser beachtet keine Annotations! So wird im Controller beispielsweise nicht erkannt, dass die Klasse <em>Route</em> und <em>Template</em> benötigt werden und die use-Statements werden entfernt, da diese angeblich unbenutzt sind. Fatal error!</p>
<p>Zu diesem Problem gibt es auch schon ein Ticket im Bugtracker. Es wird jedoch wohl keine Lösung in der finalen Version von NetBeans 7.2 geben. Das wird wohl als „Feature“ für die Nachfolgerversion behandelt.</p>
<p>Stichwort <strong>remote synchronization</strong>. Da haben die Entwickler wirklich viel verbesset. Weitere Infos dazu könnt ihr in dem <a href="https://blogs.oracle.com/netbeansphp/entry/remote_synchronization1" title="Remote synchronization in NetBeans 7.2">Artikel nachlesen</a>.</p>
<p>Den Code in den JavaScript Dateien kann man jetzt auch in sogenannte Folds (<strong>Code Folding</strong>) organisieren. Wem der Begriff nichts sagt, sollte sich das <a href="https://blogs.oracle.com/netbeansphp/entry/remote_synchronization1" title="Folds in NetBeans 7.2">genauer angucken</a>. Die Technik verschafft erheblichen Überblick in größeren Klassen.</p>
<p>Klein aber fein: <strong>.htaccess</strong> und andere Konfigurationsdateien erhalten auch Syntaxhighlighting.</p>
<h2>Fazit</h2>
<p>Ich bin vor einigen Jahren zu NetBeans gewechselt und es nie bereut. Vor allem in Verbindung mit Symfony ist der Editor kaum zu schlagen. Ich bin mir sicher, dass jetzt viele widersprechen werden, aber jeder sucht sich den Editor halt selbst aus und ich zwinge niemanden zum Wechsel. <img src='http://www.starstormdesign.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley'>  NetBeans ist ständig in Entwicklung und das ist auch gut so. Demnächst kommt auch die vollständige Unterstützung von jQuery. All das macht den Editor für mich zu einem unverzichtbaren Werkzeug in meinem Alltag.</p>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/vDwsDPSoKF8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/netbeans-7-2-beta-erschienen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/netbeans-7-2-beta-erschienen/</feedburner:origLink></item>
		<item>
		<title>Simpler Slider mit jQuery erstellen – Tutorial</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/PL1yc4bwjKA/</link>
		<comments>http://www.starstormdesign.de/simpler-slider-mit-jquery-erstellen-tutorial/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 06:24:16 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[Slider]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=326</guid>
		<description><![CDATA[Vor einigen Wochen habe ich einen ganz simplen Slider für ein Projekt benötigt. Dieser sollte für jedes Bild in einem Container ein Listenelement für eine Navigation anlegen. Nach dem Laden der Seite wird nur das erste Bild angezeigt. Klick man dann auf einen der Navigationspunkte, so wird auch das entsprechende Bild, ohne weitere Effekte, eingeblendet. [...]]]></description>
			<content:encoded><![CDATA[<p>Vor einigen Wochen habe ich einen ganz simplen Slider für ein Projekt benötigt. Dieser sollte für jedes Bild in einem Container ein Listenelement für eine Navigation anlegen. Nach dem Laden der Seite wird nur das erste Bild angezeigt. Klick man dann auf einen der Navigationspunkte, so wird auch das entsprechende Bild, ohne weitere Effekte, eingeblendet. Beim Klick auf das Bild selbst sollte sich das Bild in voller Größe in einer <a href="http://www.starstormdesign.de/formular-in-einem-overlay-anzeigen-fancybox/" title="Formular in einem Overlay anzeigen – Fancybox">Lightbox öffnen</a>. Das wird aber nicht weiter in diesem Artikel behandelt.<span id="more-326"></span></p>
<p>Es gibt sicherlich unzählige sehr gute Slider im Internet, jedoch brauchte ich nur einen Bruchteil der  Funktionen, die solch ein Slider meistens mit sich bringt. Also habe ich eine kleine  Funktion geschrieben. Und später mich dazu entschlossen diese zu einem vollwertigem jQuery Plugin zu erweitern, sodass man diese jetzt noch einfacher verwenden kann.</p>
<div class="message info">Hier findet ihr die <a href="http://preview.starstormdesign.de/src/326-simple-slider/index.php" title="Demo - Simpler Slider mit jQuery">Demo-Seite</a>.</div>
<p>Dabei gehe ich von der folgenden HTML-Struktur aus:</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
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;section class=&quot;slider&quot;&gt;
  &lt;ul class=&quot;slides&quot;&gt;
    &lt;li&gt;&lt;img src=&quot;http://dummyimage.com/200x150/0ff/000&quot; alt=&quot;Bild 1&quot; /&gt;&lt;/li&gt;
    &lt;li&gt;&lt;img src=&quot;http://dummyimage.com/200x150/0f0/000&quot; alt=&quot;Bild 2&quot; /&gt;&lt;/li&gt;
    &lt;li&gt;&lt;img src=&quot;http://dummyimage.com/200x150/f00/fff&quot; alt=&quot;Bild 3&quot; /&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/section&gt;
&nbsp;
&lt;section class=&quot;slider&quot;&gt;
  &lt;ul class=&quot;slides&quot;&gt;
    &lt;li&gt;&lt;img src=&quot;http://dummyimage.com/200x150/00f/fff&quot; alt=&quot;Bild 1&quot; /&gt;&lt;/li&gt;
    &lt;li&gt;&lt;img src=&quot;http://dummyimage.com/200x150/0f0/000&quot; alt=&quot;Bild 2&quot; /&gt;&lt;/li&gt;
    &lt;li&gt;&lt;img src=&quot;http://dummyimage.com/200x150/f00/fff&quot; alt=&quot;Bild 3&quot; /&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/section&gt;</pre></td></tr></table></div>

<p>Als erstes suchen wir eine Liste mit den einzelnen Slider-Elementen in dem selektierten Container. Nach dieser Liste wir eine neue Liste für die Navigation eingefügt und alle Slides werden ausgeblendet. Anschließend wird das erste Element wirder eingeblendet.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #003366; font-weight: bold;">var</span> slider <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #003366; font-weight: bold;">var</span> slides <span style="color: #339933;">=</span> slider.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ul'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'slides'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">after</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;ul class=&quot;'</span><span style="color: #339933;">+</span> config.<span style="color: #660066;">css_class</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot;&gt;&lt;/ul&gt;'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  slider.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">':first-child'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #006600; font-style: italic;">// [...]</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Dann muss für jede Slide ein eigener Navigationspunkt erzeugt werden. Das wird in der folgenden Schleife gemacht. Dabei erhält jedes Listenelement ein <code class="variable">data</code>-Attribut mir dem Index des Slider-Elements. Der erste Navigationspunkt erhält zusätzlich die Klasse <code class="variable">active</code>.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>29
30
31
32
33
34
35
36
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">// [...]</span>
  $.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span>slides<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>index<span style="color: #339933;">,</span> value<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    slider.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.'</span><span style="color: #339933;">+</span>config.<span style="color: #660066;">css_class</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;li class=&quot;controller item-'</span><span style="color: #339933;">+</span> index <span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; data-id=&quot;'</span><span style="color: #339933;">+</span> index <span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot;&gt;&amp;nbsp;&lt;/li&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.item-0'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #006600; font-style: italic;">// [...]</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Nun müssen wir nur noch dafür sorgen, dass beim Klick auf einen Navigationspunkt das Bild ausgetauscht wird. Wird ein klick getätigt, so wird das data-Attribut ausgelesen, alle Slider-Elemente ausgeblendet und das Element mit dem Index, entsprechend dem <code class="variable">data</code>-Attribut, eingeblendet.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>35
36
37
38
39
40
41
42
43
44
45
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">// [...]</span>
  slider.<span style="color: #660066;">on</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'.controller'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> controller <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    slides.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">eq</span><span style="color: #009900;">&#40;</span>controller.<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'id'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    slider.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.controller'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    controller.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Jetzt fehlt nur noch ein bisschen CSS und die ganze Sache schaut super aus.</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
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">ul<span style="color: #00AA00;">,</span> ul li<span style="color: #00AA00;">,</span> section <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
ul li <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.slider</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.slider</span> <span style="color: #6666ff;">.slides</span> li <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.slider-controller</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.slider-controller</span> li <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> inline-<span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#C0C0C0</span><span style="color: #00AA00;">;</span>
  -webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
  -moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
  border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.slider-controller</span> li<span style="color: #6666ff;">.active</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#008bd6</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -moz-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span>  <span style="color: #cc00cc;">#008bd6</span> <span style="color: #933;">0%</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#007abd</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -webkit-gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">,</span> color-stop<span style="color: #00AA00;">&#40;</span><span style="color: #933;">0%</span><span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#008bd6</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> color-stop<span style="color: #00AA00;">&#40;</span><span style="color: #933;">100%</span><span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#007abd</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -webkit-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span>  <span style="color: #cc00cc;">#008bd6</span> <span style="color: #933;">0%</span><span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#007abd</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -o-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span>  <span style="color: #cc00cc;">#008bd6</span> <span style="color: #933;">0%</span><span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#007abd</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -ms-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span>  <span style="color: #cc00cc;">#008bd6</span> <span style="color: #933;">0%</span><span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#007abd</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span>  <span style="color: #cc00cc;">#008bd6</span> <span style="color: #933;">0%</span><span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#007abd</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
  filter<span style="color: #00AA00;">:</span> progid<span style="color: #3333ff;">:DXImageTransform</span><span style="color: #6666ff;">.Microsoft</span>.gradient<span style="color: #00AA00;">&#40;</span> startColorstr<span style="color: #00AA00;">=</span><span style="color: #ff0000;">'#008bd6'</span><span style="color: #00AA00;">,</span> endColorstr<span style="color: #00AA00;">=</span><span style="color: #ff0000;">'#007abd'</span><span style="color: #00AA00;">,</span>GradientType<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">0</span> <span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<div class="message info">Hier findet ihr die <a href="http://preview.starstormdesign.de/src/326-simple-slider/index.php" title="Demo - Simpler Slider mit jQuery">Demo-Seite</a> und auch den <a href="http://preview.starstormdesign.de/src/326-simple-slider/download.zip" title="Download - Simpler Slider mit jQuery">Download</a>.</div>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/PL1yc4bwjKA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/simpler-slider-mit-jquery-erstellen-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/simpler-slider-mit-jquery-erstellen-tutorial/</feedburner:origLink></item>
		<item>
		<title>NetBeans 7.2 wird weiter ausgebaut</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/eoUeVD7JjZo/</link>
		<comments>http://www.starstormdesign.de/netbeans-7-2-wird-weiter-ausgebaut/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 10:55:15 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Symfony2]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=321</guid>
		<description><![CDATA[NetBeans gehört wohl zu den erfolgreichsten IDEs auf dem Markt. Aus meiner Sicht völlig zurecht. Es ist erstaunlich wie schnell neue Funktionen und Features entwickelt werden. Und dabei spreche ich nur über die Änderungen im Bereich PHP. Noch bevor PHP 5.4 veröffentlicht wurde, haben die Jungs und Mädels daran gemacht die Änderungen zu implementieren. Somit [...]]]></description>
			<content:encoded><![CDATA[<p>NetBeans gehört wohl zu den erfolgreichsten IDEs auf dem Markt. Aus meiner Sicht völlig zurecht. Es ist erstaunlich wie schnell neue Funktionen und Features entwickelt werden. Und dabei spreche ich nur über die Änderungen im Bereich PHP. Noch bevor PHP 5.4 veröffentlicht wurde, haben die Jungs und Mädels daran gemacht die Änderungen zu implementieren. Somit erwartet uns in der kommenden Version wohl die vollständige Unterstützung von PHP 5.4.<span id="more-321"></span></p>
<p>Neuerungen wie Array dereferencing, Anonymous Object Variable und die Short Array Syntax sind bereits verbaut. Dazu kommen noch weitere Verbesserungen, wie der eingebaute Web Server, Doctrine 2 und Continuous Integration Unterstützung und  Identical Comparison Hints,</p>
<p>Es wird auch an der Unterstützung von neuen Datei-Typen gearbeitet. Es gibt einen rudimentären Support von Neon-Dateien. Konfigurationsdateien von Apache und .htaccess-Dateien werden auch von dem integrierten Code-Highlighter erfasst und eingefärbt.</p>
<p>Zum Schluss kann ich nur sagen, dass ich schon sehr lange und sehr gerne mit NetBeans arbeite. Und die schnelle Implementierung neuer Features und die gute Zusammenarbeit mit Symfony macht den Editor für mich zum perfekten Werkzeug.</p>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/eoUeVD7JjZo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/netbeans-7-2-wird-weiter-ausgebaut/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/netbeans-7-2-wird-weiter-ausgebaut/</feedburner:origLink></item>
		<item>
		<title>PHP 5.4.0 veröffentlicht</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/DS_yw_0DxeQ/</link>
		<comments>http://www.starstormdesign.de/php-5-4-0-veroeffentlicht/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 09:00:41 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[PHP 5.4]]></category>
		<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=317</guid>
		<description><![CDATA[Gestern, am 01. März, wurde PHP in der Version 5.4.0 veröffentlicht. Dabei hat man auch die Altlasten endgültig abgeworfen, so auch Magic Quotes, Safe mode und re gister_globals. Durch das Function Array Dereferencing (FAD) muss man das Ergebnis einer Funktion nicht erst in einer Variable zwischenspeichern: function names &#40;&#41; &#123; return array&#40;'Alexander', 'Ben'&#41;; &#125; echo [...]]]></description>
			<content:encoded><![CDATA[<p>Gestern, am 01. März, wurde PHP in der Version 5.4.0 veröffentlicht.  Dabei hat man auch die Altlasten endgültig abgeworfen, so auch Magic Quotes, Safe mode und re	gister_globals.<span id="more-317"></span></p>
<ul>
<li>Durch das <strong>F</strong>unction <strong>A</strong>rray <strong>D</strong>ereferencing (FAD) muss man das Ergebnis einer Funktion nicht erst in einer Variable zwischenspeichern:

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> names <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Alexander'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Ben'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">echo</span> names<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Alexander</span></pre></div></div>

</li>
<li>Auch ein direkter Aufruf von Methoden nach dem Constructor ist jetzt möglich:

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> User<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getName</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
<li>Verkürzte Schreibweise bei Arrays:

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$a</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Alexander'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Ben'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$b</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Alexander'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">23</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Ben'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">50</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
<li>Native Binärzahlen:

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$a</span> <span style="color: #339933;">=</span> 0b001010<span style="color: #339933;">;</span></pre></div></div>

</li>
<li>Neuer Typehint  callable, etwas aufrufbaren. (Funktionsname, etc.):

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> run<span style="color: #009900;">&#40;</span>callable <span style="color: #000088;">$func</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><span style="color: #990000;">is_callable</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$func</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// an dieser Stelle vllt. unsinnig</span>
    <span style="color: #000088;">$func</span><span style="color: #009900;">&#40;</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></div></div>

</li>
<li>&lt;?= kann auch bei ausgeschalteter Funktion <code class="variable">short_open_tag</code> verwenden.</li>
<li>Standardwert von <code class="variable">default_charset</code> Option in der php.ini wurde von ISO-8859-1 auf UTF-8 gesetzt.</li>
<li>Error-Level <code class="variable">E_ALL</code> beinhaltet jetzt auch <code class="variable">E_STRICT</code>.</li>
<li>Traits wurden eingeführt.</li>
<li>Und vieles mehr&#8230;</li>
</ul>
<div class="message info">Auf php.net findet ihr wie immer den <a href="http://php.net/ChangeLog-5.php" title="PHP 5 ChangeLog Version 5.4.0">Changelog</a> und die <a href="http://www.php.net/manual/en/migration54.php" title="Migrating from PHP 5.3.x to PHP 5.4.x">Migrationshilfe</a></div>
<h2>Nachtrag</h2>
<p>Ich habe hier noch das Video der letzten <a href="http://phpconference.com/2011/">International PHP Conference</a> gefunden. Johannes Schlüter hat da einen Session zum Thema PHP 5.4 gehalten. Wirklich sehenswert.</p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/2qvV53S1cu4?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/DS_yw_0DxeQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/php-5-4-0-veroeffentlicht/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/php-5-4-0-veroeffentlicht/</feedburner:origLink></item>
		<item>
		<title>Liste aus einem Select-Element erzeugen mit jQuery</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/8kLrEm0xjmA/</link>
		<comments>http://www.starstormdesign.de/liste-aus-einem-select-element-erzeugen-mit-jquery/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 13:39:22 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[Manipulation]]></category>
		<category><![CDATA[Replacement]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=315</guid>
		<description><![CDATA[Ich habe vor längerer Zeit beschrieben, wie man ein Bewertungssystem mit Sternchen aufbauen kann. Dabei bin ich von einer HTML-Liste ausgegangen. Die einzelnen Listenelemente haben im Hintergrund ein ausgefülltes oder ein nicht ausgefülltes Sternchen gehabt. Beim Drüberfahren mit der Maus wurden das fokussierte Listenelement und alle davor mit der Klasse „active“ versehen. Ich bin jedoch [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe vor längerer Zeit beschrieben, wie man ein <a title="jQuery – Sternchen Bewertungssystem" href="http://www.starstormdesign.de/jquery-sternchen-bewertungssystem/">Bewertungssystem mit Sternchen</a> aufbauen kann. Dabei bin ich von einer HTML-Liste ausgegangen. Die einzelnen Listenelemente haben im Hintergrund ein ausgefülltes oder ein nicht ausgefülltes Sternchen gehabt. Beim Drüberfahren mit der Maus wurden das fokussierte Listenelement und alle davor mit der Klasse „active“ versehen. Ich bin jedoch auf das Problem gestoßen, dass man nicht immer von einer Liste ausgehen kann. Wenn man beispielsweise ein Framework verwendet, in meinem Fall Symfony, so bekommt man unter Umständen ein Select-Element, indem man den gewünschten Wert auswählen muss. Das ist aber in der Regel weniger komfortabel.</p>
<p>In diesem Tutorial werde ich euch zeigen, wie ihr aus einem Select-Element die gewünschte HTML-Liste erzeugen könnt und den gewählten Wert in ein verstecktes Feld übertragen könnt.<span id="more-315"></span></p>
<p>Ich gehe dabei von dem folgenden HTML-Gerüst aus:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;content&quot;&gt;
  &lt;select id=&quot;rating&quot; name=&quot;rating&quot;&gt;
    &lt;option label=&quot;Bitte voten&quot; value=&quot;&quot;&gt;Bitte voten&lt;/option&gt;
    &lt;option label=&quot;Sehr schlecht&quot; value=&quot;1&quot;&gt;Sehr schlecht&lt;/option&gt;
    &lt;option label=&quot;Schlecht&quot; value=&quot;2&quot;&gt;Schlecht&lt;/option&gt;
    &lt;option label=&quot;Mittel&quot; value=&quot;3&quot;&gt;Mittel&lt;/option&gt;
    &lt;option label=&quot;Gut&quot; value=&quot;4&quot;&gt;Gut&lt;/option&gt;
    &lt;option label=&quot;Sehr gut&quot; value=&quot;5&quot;&gt;Sehr gut&lt;/option&gt;
  &lt;/select&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>Damit das Ergebnis später nach etwas aussieht, wird einfach etwas CSS dazu geworfen:</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
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.invisible</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">99999px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#rating-list</span> li <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/star-inactive.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">center</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> inline-<span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">48px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">48px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#rating-list</span> li.active<span style="color: #00AA00;">,</span>
<span style="color: #cc00cc;">#rating-list</span> li<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/star-active.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">center</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Als Erstes muss für das Select-Element ein verstecktes Feld angelegt werden, das dieselben Attribute beinhaltet. Dieses wird später die Werte aufnehmen und an das Script weitergeben.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> select  <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#rating'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> input   <span style="color: #339933;">=</span> <span style="color: #3366CC;">'&lt;input type=&quot;hidden&quot; name=&quot;'</span><span style="color: #339933;">+</span> select.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'name'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; id=&quot;'</span><span style="color: #339933;">+</span> select.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'id'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; value=&quot;'</span><span style="color: #339933;">+</span> select.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; /&gt;'</span><span style="color: #339933;">;</span>
select.<span style="color: #660066;">after</span><span style="color: #009900;">&#40;</span>input<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Anschließend gehen wir die Option-Elemente in einer Schleife durch und erzeugen aus den Werten gewünschte Listenelemente. Die Werte, value-Attribute, werden dabei in einem data-value-Attribut hinterlegt. Anschließend löschen wir das Select-Element aus dem DOM.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> list <span style="color: #339933;">=</span> <span style="color: #3366CC;">'&lt;ul id=&quot;rating-list&quot;&gt;&lt;/ul&gt;'</span><span style="color: #339933;">;</span>
select.<span style="color: #660066;">before</span><span style="color: #009900;">&#40;</span>list<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'option'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">item</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
  <span style="color: #003366; font-weight: bold;">var</span> option <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  select.<span style="color: #660066;">remove</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>option.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#rating-list'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;li data-value=&quot;'</span><span style="color: #339933;">+</span> option.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot;&gt;&lt;span class=&quot;invisible&quot;&gt;'</span><span style="color: #339933;">+</span> option.<span style="color: #660066;">text</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">'&lt;/span&gt;&lt;/li&gt;'</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Jetzt müssen wir nur noch den Wert beim Klick auf ein Sternchen an das versteckte Feld weitergeben.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#rating-list li'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">on</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#rating'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'value'</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;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Der Rest kann dann wie in dem alten <a title="jQuery – Sternchen Bewertungssystem" href="http://www.starstormdesign.de/jquery-sternchen-bewertungssystem/">Tutorial beschrieben</a> behandelt werden. Einfach dafür sorgen, dass das fokkusierte Element und alle vorherigen die Klasse <code class="variable">active</code> bekommen. Bei den nachkommenden Elementen muss die Klasse entfernt werden.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#rating-list'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hover</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#rating-list li'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mouseover</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> li <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    li.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prevAll</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'li'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    li.<span style="color: #660066;">nextAll</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'li'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.active'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<div class="message success">Das <a href="http://jsfiddle.net/abogomolov/57uaT/" title="Vorschau - Liste aus einem Select-Element erzeugen">komplette Script und die Vorschau</a> findet ihr auf jsFiddle.</div>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/8kLrEm0xjmA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/liste-aus-einem-select-element-erzeugen-mit-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/liste-aus-einem-select-element-erzeugen-mit-jquery/</feedburner:origLink></item>
		<item>
		<title>Kein Flash nach Update – Ubuntu</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/81YSTOzCuBU/</link>
		<comments>http://www.starstormdesign.de/kein-flash-nach-update-ubuntu/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 06:14:43 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=313</guid>
		<description><![CDATA[Gestern kam ein neues Update für Adobe Flash unter Ubuntu 11.10 (64 Bit). Dieses haben ich sofort installiert. Abends musste ich jedoch feststellen, dass in Firefox nichts mit Flash lief. Sehr ärgerlich, da man ohne Flash bei eBay nicht weit kommt. Ich habe das Problem heute folgendermaßen lösen können: Deinstallation von Paketen adobe-flash-properties-gtk und adobe-flashplugin [...]]]></description>
			<content:encoded><![CDATA[<p>Gestern kam ein neues Update für Adobe Flash unter Ubuntu 11.10 (64 Bit). Dieses haben ich sofort installiert. Abends musste ich jedoch feststellen, dass in Firefox nichts mit Flash lief. Sehr ärgerlich, da man ohne Flash bei eBay nicht weit kommt. Ich habe das Problem heute folgendermaßen lösen können:<span id="more-313"></span></p>
<ul>
<li>Deinstallation von Paketen <em>adobe-flash-properties-gtk</em> und <em>adobe-flashplugin</em> inklusive Löschen der globalen Konfiguration

<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;">apt-get</span> purge adobe-flash-properties-gtk adobe-flashplugin flashplugin-installer</pre></div></div>

</li>
<li>Installation der Pakete <em>adobe-flashplugin</em> und <em>flashplugin-installer</em>

<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;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> adobe-flashplugin flashplugin-installer</pre></div></div>

</li>
</ul>
<p>Nach einem Neustart von Firefox war alles wieder in Ordnung.</p>
<div class="message warning">Keine Haftung für eventuell entstandenen Schäden. Verwendung auf eigene Gefahr!</div>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/81YSTOzCuBU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/kein-flash-nach-update-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/kein-flash-nach-update-ubuntu/</feedburner:origLink></item>
		<item>
		<title>Firebug 1.9 – Was ist neu</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/lAWerc5f2xU/</link>
		<comments>http://www.starstormdesign.de/firebug-1-9-was-ist-neu/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 06:01:46 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=268</guid>
		<description><![CDATA[Seit kurzem ist Firebug in der neuen Version verfügbar. Für alle die Firebug nicht kennen: Firebug ist eine Erweiterung für den Firefox und ein sehr mächtiges Wekzeug für Web-Entwickler. Damit kann man Webseiten untersuchen, JavaScript debuggen, und die Netzwerkaktivität anzeigen lassen. In der neuen Version haben Entwickler wieder ein paar nette Kleinigkeiten verbaut, die ich [...]]]></description>
			<content:encoded><![CDATA[<p>Seit kurzem ist Firebug in der neuen Version verfügbar. Für alle die Firebug nicht kennen: Firebug ist eine Erweiterung für den Firefox und ein sehr mächtiges Wekzeug für Web-Entwickler. Damit kann man Webseiten untersuchen, JavaScript debuggen, und die Netzwerkaktivität anzeigen lassen. In der neuen Version haben Entwickler wieder ein paar nette Kleinigkeiten verbaut, die ich persönlich wirklich klasse finde.<span id="more-268"></span></p>
<h2>Firebug andocken</h2>
<p>Früher konnte man Firebug entweder unten im Fenster einblenden oder aber in einem neuen Fenster öffnen. Ab jetzt kann man die Erweiterung auf jeder Seite platzieren. Besonders bei modernen, sehr breiten, Monitoren ist das Andocken auf der rechten/linken Seite vorteilhaft.</p>
<h2>JavaScript Fehler anzeigen</h2>
<p>Jetzt wird nicht nur angezeigt in welcher Datei und in welcher Zeile der Fehler ist, sondern auch an welcher Stelle genau!</p>
<h2>Einen bestimmten HTTP-Request erneut senden</h2>
<p>Sehr hilfreich, da man jetzt nicht die gesamte Seite neu laden muss.</p>
<h2>JSON einfach kopieren</h2>
<p>Erhaltet ihr ein JSON-Objekt, dann könnt ihr dieses jetzt ganz einfach kopieren. Einfach rechtsklick auf die Variable und „Copy „var“ as JSON“ wählen.</p>
<h2>Weitere Kleinigkeiten</h2>
<ul>
<li>Unter Netzwerk kann jetzt noch die Spalte Protokoll aktiviert werden.</li>
<li>Firebug zeigt jetzt auch eine kleine Vorschau mit den verwendeten „Web Fonts“.</li>
<li>Elemente können jetzt durch das Drücken der Entf.-Taste gelöscht werden.</li>
<li>Bei console.log() wird nicht nur die Ausgabe, sondern auch der Ort ausgegeben. Somit weiß man, dass es sich z.B. um das Log in Datei X Zeile Y handelt.</li>
</ul>
<p>Auf <a title="Alle Änderungen in Übersicht" href="hacks.mozilla.org/2012/01/firebug-1-9-new-features/">http://hacks.mozilla.org</a> findet ihr alle Änderungen.</p>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/lAWerc5f2xU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/firebug-1-9-was-ist-neu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/firebug-1-9-was-ist-neu/</feedburner:origLink></item>
		<item>
		<title>NetBeans 7.1 wurde veröffentlicht</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/wq6r3ddOBVY/</link>
		<comments>http://www.starstormdesign.de/netbeans-7-1-wurde-veroffentlicht/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 06:14:25 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[NetBeans]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=265</guid>
		<description><![CDATA[Kurz nachdem ich über den Release Candidate von NetBeans 7.1 berichtet habe, ist auch schon die finale Version da. Die Entwickler haben weiter an der Unterstützung für CSS3 gearbeitet. Auch die Template-Engine „Smarty“ wird unterstützt. Weitere Infos auf der Community-Seite.]]></description>
			<content:encoded><![CDATA[<p>Kurz nachdem ich über den Release Candidate von NetBeans 7.1 berichtet habe, ist auch schon die finale Version da. Die Entwickler haben weiter an der Unterstützung für CSS3 gearbeitet. Auch die Template-Engine „Smarty“ wird unterstützt. Weitere Infos auf der <a title="NetBeans IDE 7.1 Release Informationen" href="http://netbeans.org/community/releases/71/">Community-Seite</a>.</p>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/wq6r3ddOBVY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/netbeans-7-1-wurde-veroffentlicht/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/netbeans-7-1-wurde-veroffentlicht/</feedburner:origLink></item>
		<item>
		<title>NetBeans 7.1 RC2 mit Symfony2 Unterstützung</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/C06J6wUkClw/</link>
		<comments>http://www.starstormdesign.de/netbeans-7-1-rc2-mit-symfony2-unterstuetzung/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 07:51:57 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Symfony2]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=263</guid>
		<description><![CDATA[Ich bin ein begeisterter NetBeans-Nutzer. IDEs kann man mit Religionen vergleichen: Jeder ist der Meinung, dass seine die bessere wäre. Somit will ich gar nicht weiter darauf eingehen. Für die neue Version seht ein Plug-In im Repository, dass in die kommende NetBeans-Version einfließen wird. Diese Plug-In ermöglicht die grundlegendste Unterstützung von Symfony2: Kommandos ausführen Neue [...]]]></description>
			<content:encoded><![CDATA[<p>Ich bin ein begeisterter NetBeans-Nutzer. IDEs kann man mit Religionen vergleichen: Jeder ist der Meinung, dass seine die bessere wäre. Somit will ich gar nicht weiter darauf eingehen.</p>
<p>Für die neue Version seht ein <a title="PHP Symfony2 Framework Unterstützung" href="http://plugins.netbeans.org/plugin/40565/php-symfony2-framework">Plug-In</a> im Repository, dass in die kommende NetBeans-Version einfließen wird. Diese Plug-In ermöglicht die grundlegendste Unterstützung von Symfony2: <span id="more-263"></span></p>
<ul>
<li>Kommandos ausführen</li>
<li>Neue Symfony2-Projekte anlegen</li>
</ul>
<p>Um auch die neue Template-Engine „Twig“ zu nutzen wird noch empfohlen das <a title="Syntax highlighting Plug-In für Twig-Template-Engine von Symfony." href="http://plugins.netbeans.org/plugin/37069/php-twig">Plug-In</a> von Sebastian Hörl zu verwenden. Dieses wird anschließend auch in die kommende NetBeans-Version aufgenommen.</p>
<p>(via <a href="http://blogs.oracle.com/netbeansphp/entry/initial_support_for_symfony2">Initial support for Symfony2</a>)</p>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/C06J6wUkClw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/netbeans-7-1-rc2-mit-symfony2-unterstuetzung/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/netbeans-7-1-rc2-mit-symfony2-unterstuetzung/</feedburner:origLink></item>
		<item>
		<title>Probleme beim Upload von Dateien bei Field collections – Drupal 7</title>
		<link>http://feedproxy.google.com/~r/starstormdesign/~3/dTWcCzryhwA/</link>
		<comments>http://www.starstormdesign.de/probleme-beim-upload-von-dateien-bei-field-collections-drupal-7/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 10:51:03 +0000</pubDate>
		<dc:creator>Alexander Bogomolov</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Drupal 7]]></category>
		<category><![CDATA[Field collection]]></category>
		<category><![CDATA[Modul]]></category>

		<guid isPermaLink="false">http://www.starstormdesign.de/?p=261</guid>
		<description><![CDATA[Heute mussten wir im Büro feststellen, dass das Modul „Field collection“, in der aktuellen Version „7.x-1.0-beta2“, einen größeren Bug aufweist. Es war nicht möglich Bilder hochzuladen, wenn die Felder in der Field-collection untergebracht sind. Man sieht die Felder zwar und man kann auch Bilder auswählen jedoch passiert gar nichts, wenn man auf „Upload“ klickt. Nach [...]]]></description>
			<content:encoded><![CDATA[<p>Heute mussten wir im Büro feststellen, dass das Modul „<a href="http://drupal.org/project/field_collection">Field collection</a>“, in der aktuellen Version „<em>7.x-1.0-beta2</em>“, einen größeren Bug aufweist. Es war nicht möglich Bilder hochzuladen, wenn die Felder in der Field-collection untergebracht sind. Man sieht die Felder zwar und man kann auch Bilder auswählen jedoch passiert gar nichts, wenn man auf „Upload“ klickt.<span id="more-261"></span></p>
<p>Nach etwas Recherche fand ich einen <a title="Image field malfunctioning on embedded field collection form." href="http://drupal.org/node/1187010#comment-4919048">Patch</a>, der das Problem löst. Einfach die Datei <em>field_collection.module</em> patchen und schon geht alles.</p>
<img src="http://feeds.feedburner.com/~r/starstormdesign/~4/dTWcCzryhwA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.starstormdesign.de/probleme-beim-upload-von-dateien-bei-field-collections-drupal-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.starstormdesign.de/probleme-beim-upload-von-dateien-bei-field-collections-drupal-7/</feedburner:origLink></item>
	</channel>
</rss>

