<?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>typo3.schloebe.de &#187; Entwicklung</title>
	<atom:link href="http://typo3.schloebe.de/kategorie/entwicklung/feed/" rel="self" type="application/rss+xml" />
	<link>http://typo3.schloebe.de</link>
	<description>TYPO3, TypoScript, Erweiterungen, Tipps</description>
	<lastBuildDate>Sat, 13 Aug 2011 18:18:12 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Screenshots von der TYPO3 4.2.0 Beta1a</title>
		<link>http://typo3.schloebe.de/allgemein/screenshots-von-der-typo3-420-beta1a/</link>
		<comments>http://typo3.schloebe.de/allgemein/screenshots-von-der-typo3-420-beta1a/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 10:45:45 +0000</pubDate>
		<dc:creator>Oliver Schlöbe</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[backend]]></category>
		<category><![CDATA[Beta Version]]></category>
		<category><![CDATA[Cleaner Backend]]></category>
		<category><![CDATA[entwicklerversion]]></category>
		<category><![CDATA[screenshots]]></category>
		<category><![CDATA[typo3]]></category>

		<guid isPermaLink="false">http://typo3.schloebe.de/allgemein/screenshots-von-der-typo3-420-beta1a/</guid>
		<description><![CDATA[F&#252;r alle, die noch kein PHP 5.2 zur Verf&#252;gung oder nicht die Zeit oder Lust haben, die TYPO3 4.2.0 Beta1a zu installieren, habe ich ein paar Impressionen der neusten 4.2er Version gemacht. Zu sehen gibt es einige der neuen Funktionen und Umstellungen, die u.a. aus dem &#8220;Cleaner Backend&#8221;-Projekt heraus entstanden sind. Leider wird es der [...]]]></description>
			<content:encoded><![CDATA[<p>F&#252;r alle, die noch kein PHP 5.2 zur Verf&#252;gung oder nicht die Zeit oder Lust haben, die TYPO3 4.2.0 Beta1a zu installieren, <span id="more-35"></span> habe ich ein paar Impressionen der neusten 4.2er Version gemacht.</p>
<p>Zu sehen gibt es einige der <a href="http://wiki.typo3.org/index.php/4.2_Development" target="_blank">neuen Funktionen und Umstellungen</a>, die u.a. aus dem &#8220;Cleaner Backend&#8221;-Projekt heraus entstanden sind. Leider wird es der neue Installer 2.0 nicht in diese Version schaffen, sodass es dazu auch keine neuen Screenshots an dieser Stelle gibt.</p>
<blockquote><p><strong><a href="http://typo3.schloebe.de/screenshots-bilder/typo3-420beta1a/" target="_blank">&raquo; Zur Screenshot-Galerie</a></strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://typo3.schloebe.de/allgemein/screenshots-von-der-typo3-420-beta1a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Werte von Checkboxen auslesen</title>
		<link>http://typo3.schloebe.de/entwicklung/werte-von-checkboxen-auslesen/</link>
		<comments>http://typo3.schloebe.de/entwicklung/werte-von-checkboxen-auslesen/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 11:59:19 +0000</pubDate>
		<dc:creator>Oliver Schlöbe</dc:creator>
				<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[TCA]]></category>

		<guid isPermaLink="false">http://typo3.schloebe.de/entwicklung/werte-von-checkboxen-auslesen/</guid>
		<description><![CDATA[Erstellt man mittels $TCA BE-Formulare, um vom Nutzer Daten eingeben zu k&#246;nnen, werden die Werte bei Checkboxen als Dual-Werte in die DB geschrieben. [inspic=31,right,fullscreen,250] Doch wie liest man nun aus, welche Checkboxes gew&#228;hlt wurden? Dazu nutzen wir eine for-Schleife mit einigen speziellen Operationen f&#252;r bitweises Arbeiten. Als Beispiel und Grundlage dienen die rechts abgebildeten Checkboxen. [...]]]></description>
			<content:encoded><![CDATA[<p>Erstellt man mittels $TCA BE-Formulare, um vom Nutzer Daten eingeben zu k&#246;nnen, werden die Werte bei Checkboxen als Dual-Werte in die DB geschrieben. <span id="more-32"></span></p>
<p>[inspic=31,right,fullscreen,250] Doch wie liest man nun aus, welche Checkboxes gew&#228;hlt wurden? Dazu nutzen wir eine for-Schleife mit einigen speziellen Operationen f&#252;r bitweises Arbeiten. Als Beispiel und Grundlage dienen die rechts abgebildeten Checkboxen.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$cats</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2B&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2C&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2B/B2C&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2C/B2B&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;A2A&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;A2C&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">6</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2A&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">7</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2E&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;C2B&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">9</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;C2C&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span><span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$datenbank_feld</span> <span style="color: #339933;">&gt;&gt;</span> <span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$catsarray</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$catsoutput</span> <span style="color: #339933;">=</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;, &quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$catsarray</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$catsoutput</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>In Zeile 1 schreiben wir die im BE-Formular angegebenen Checkbox-Werte zusammen mit ihren Ordnungsnummern in einen mehrdimensionalen Array:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$cats</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2B&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2C&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2B/B2C&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2C/B2B&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;A2A&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;A2C&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">6</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2A&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">7</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;B2E&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;C2B&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">9</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;C2C&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Diese lesen wir dann beim bitweisen Durchgehen aus, und geben die entsprechende Bezeichnung aus.</p>
<p>In Zeile 2 startet die Schleife zum bitweisen Durchgehen der Werte:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span><span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>Als Parameter ist hier nur die <em>10</em> relevant, denn das ist die Anzahl unserer Optionen. Dieser Wert wird je nach der Anzahl unserer Checkboxen vergeben.</p>
<div class="veraltet"><strong>Hinweis</strong>: Es k&#246;nnen maximal 10 Checkboxes verwendet werden, da die Ordnungsnummern nur von 0 bis 9 vergeben werden k&#246;nnen.</div>
<p>In Zeile 3 f&#252;hren wir das bitweise Verschieben durch:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$datenbank_feld</span> <span style="color: #339933;">&gt;&gt;</span> <span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>Hervorzuhebende Operatoren sind<br />
>> -> schiebe Wert bitweise um x Stellen nach rechts<br />
&#038; -> Bitweises Und</p>
<p>Damit werden nun nacheinander in x Durchg&#228;ngen alle Stellen durchgegangen, und im n&#228;chsten Schritt mit</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		<span style="color: #000088;">$catsarray</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>in das Array <em>$catsarray[]</em> geschrieben. Der eingangs erstellte Array (mit Count-Parameter <em>$i</em>) <em>$cats[$i]</em> &#252;bergibt beim Durchlauf an <em>$catsarray[]</em> die jeweilige Ordnungsnummer.</p>
<p>In der derzeitigen Form haben wir alle gew&#252;nschten Werte in einem String in unserem Array. Zur Ausgabe als kommaseparierte Liste trennen wir die Werte mit einem Komma. Dies geschieht mit:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>8
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$catsoutput</span> <span style="color: #339933;">=</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;, &quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$catsarray</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Die Ausgabe erfolgt schlie&#223;lich &#252;ber:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>9
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$content</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'Kategorien: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$catsoutput</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Die Ausgabe k&#246;nnte dann in diesem Beispiel so aussehen:</p>
<blockquote><p>Kategorien: B2B, B2C</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://typo3.schloebe.de/entwicklung/werte-von-checkboxen-auslesen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screenshots von TYPO3 4.2.0alpha2</title>
		<link>http://typo3.schloebe.de/allgemein/screenshots-von-typo3-420alpha2/</link>
		<comments>http://typo3.schloebe.de/allgemein/screenshots-von-typo3-420alpha2/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 20:27:23 +0000</pubDate>
		<dc:creator>Oliver Schlöbe</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Alpha Version]]></category>
		<category><![CDATA[backend]]></category>
		<category><![CDATA[entwicklerversion]]></category>
		<category><![CDATA[screenshots]]></category>
		<category><![CDATA[typo3]]></category>

		<guid isPermaLink="false">http://typo3.schloebe.de/allgemein/screenshots-von-typo3-420alpha2/</guid>
		<description><![CDATA[K&#252;rzlich hat das TYPO3 Kernentwickler-Team die neue Entwicklerversion 4.2.0alpha2 von TYPO3 ver&#246;ffentlicht, die an Entwickler gerichtet ist und nicht f&#252;r den Produktiveinsatz gedacht ist. Ich habe es mir angesehen. Folgend einige Screenshot der neuesten Alpha-Version von TYPO3: [mygal=typo3-4] Auff&#228;lligste Neuerung ist dabei, dass es keine Frame mehr gibt, sondern nun alles in DIVs angeordnet ist. [...]]]></description>
			<content:encoded><![CDATA[<p>K&#252;rzlich hat das TYPO3 Kernentwickler-Team die neue Entwicklerversion 4.2.0alpha2 von TYPO3 ver&#246;ffentlicht, <span id="more-24"></span> die an Entwickler gerichtet ist und nicht f&#252;r den Produktiveinsatz gedacht ist. Ich habe es mir angesehen.</p>
<p>Folgend einige Screenshot der neuesten Alpha-Version von TYPO3:</p>
<p>[mygal=typo3-4]</p>
<p>Auff&#228;lligste Neuerung ist dabei, dass es keine Frame mehr gibt, sondern nun alles in DIVs angeordnet ist. Zudem sind die Buttons zum Speichern eines Datensatzes nun immer am oberen Rand sichtbar.</p>
<p>Weiterhin lag der aktuellen Alpha2 der neue Installer 2.0 bei.</p>
<p>Downloaden kann man die Alpha2-Pakete hier: <a href="http://typo3.org/download/packages/">http://typo3.org/download/packages/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://typo3.schloebe.de/allgemein/screenshots-von-typo3-420alpha2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

