<?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>André Kolell &#187; (Web) Development</title>
	<atom:link href="http://blog.andrekolell.de/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.andrekolell.de</link>
	<description>... and what about Life!?</description>
	<lastBuildDate>Mon, 05 Dec 2011 11:09:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WordPress &#8220;Contact Form 7&#8243; sendet keine E-Mails</title>
		<link>http://blog.andrekolell.de/2011/07/10/wordpress-contact-form-7-sendet-keine-e-mails/</link>
		<comments>http://blog.andrekolell.de/2011/07/10/wordpress-contact-form-7-sendet-keine-e-mails/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 14:04:28 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[Bugfix]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1927</guid>
		<description><![CDATA[Standardmäßig ist im &#8220;Von&#8221;-Feld von &#8220;Contact Form 7&#8221; folgendes eingetragen: [your-name] &#60;[your-email]&#62; Es kann sehr gut sein, dass diese Einstellung verhindert, dass die Daten erfolgreich per E-Mail gesendet werden. Ändert man diese Einstellung auf die Domain der WordPress-Installation, hier z.B. auf formular@blog.andrekolell.de, funktioniert alles reibungslos. Wer der Absender des Formulars gewesen ist, erfährt man nach [...]]]></description>
			<content:encoded><![CDATA[<p>Standardmäßig ist im &#8220;Von&#8221;-Feld von &#8220;<a href="http://contactform7.com/">Contact Form 7</a>&#8221; folgendes eingetragen:</p>
<blockquote>
<pre>[your-name] &lt;[your-email]&gt;</pre>
</blockquote>
<p>Es kann sehr gut sein, dass diese Einstellung verhindert, dass die Daten erfolgreich per E-Mail gesendet werden. Ändert man diese Einstellung auf die Domain der WordPress-Installation, hier z.B. auf formular@blog.andrekolell.de, funktioniert alles reibungslos.</p>
<p>Wer der Absender des Formulars gewesen ist, erfährt man nach wie vor aus der E-Mail.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2011/07/10/wordpress-contact-form-7-sendet-keine-e-mails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LAMP-Server in der Amazon Cloud (AWS)</title>
		<link>http://blog.andrekolell.de/2011/07/10/lamp-server-in-der-amazon-cloud-aws/</link>
		<comments>http://blog.andrekolell.de/2011/07/10/lamp-server-in-der-amazon-cloud-aws/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 08:11:39 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1708</guid>
		<description><![CDATA[Die wichtigsten Schritte zum Setup eines LAMP-Servers mit phpmyadmin in der AWS (EC2) unter Windows 7 (vielleicht benötigt diese Notizen noch jemand außer mir&#8230;): Instanz starten, z.B. Micro in der Zone eu-west-1a. AMI: Basic 64-bit Amazon Linux AMI 2011.02.1 Beta (AMI Id: ami-45cefa31) Markiere ggf. &#8220;Prevention against accidental termination&#8221;. Wähle einen geeigneten Namen. Security Group [...]]]></description>
			<content:encoded><![CDATA[<p>Die wichtigsten Schritte zum Setup eines LAMP-Servers mit phpmyadmin in der AWS (EC2) unter Windows 7 (vielleicht benötigt diese Notizen noch jemand außer mir&#8230;):</p>
<ol>
<li style="text-align: left;">Instanz starten, z.B. Micro in der Zone eu-west-1a.<br />
AMI: <strong>Basic 64-bit Amazon Linux AMI 2011.02.1 Beta</strong> (AMI Id: ami-45cefa31)</li>
<li style="text-align: left;">Markiere ggf. &#8220;Prevention against accidental termination&#8221;.</li>
<li style="text-align: left;">Wähle einen geeigneten Namen.</li>
<li style="text-align: left;">Security Group mit mindestens offenen Ports 22 (SSH) und 80 (HTTP).</li>
<li style="text-align: left;">&#8220;Elastic IP&#8221; mit der neu gestarteten Instanz assoziieren.</li>
<li style="text-align: left;">Mit Putty auf die IP mit hinterlegtem PPK verbinden und als ec2-user einloggen.</li>
<li style="text-align: left;">Nach &#8220;sudo su&#8221; mit &#8220;vi /etc/ssh/sshd_config&#8221; &#8220;PermitRootLogin forced-commands-only&#8221; durch &#8220;PermitRootLogin without-password&#8221; ersetzen.</li>
<li style="text-align: left;">Mit &#8220;vi /root/.ssh/authorized_keys&#8221; alls bis zu &#8220;ssh-rsa&#8221; entfernen.</li>
<li style="text-align: left;">Mit &#8220;service sshd restart&#8221; den SSH Service neu starten.</li>
<li style="text-align: left;">Apache: &#8220;yum install httpd&#8221;</li>
<li style="text-align: left;">PHP: &#8220;yum install php libmcrypt libmcrypt-devel php-mcrypt php-mbstring php-mysql&#8221;</li>
<li style="text-align: left;">MySQL: &#8220;yum install mysql mysql-server&#8221;</li>
<li style="text-align: left;">MySQL starten: &#8220;service mysqld start&#8221;</li>
<li style="text-align: left;">/usr/bin/mysqladmin -u root password &#8216;SUPERSECUREPASSWORD&#8217;</li>
<li style="text-align: left;">cd /var/www/html</li>
<li style="text-align: left;">Mit &#8220;wget http://sourceforge.net/projects/phpmyadmin/files%2FphpMyAdmin%2F3.4.3.1%2FphpMyAdmin-3.4.3.1-english.tar.gz&#8221; <a href="http://www.phpmyadmin.net/home_page/downloads.php">aktuelles phpMyAdmin</a> laden, mit &#8220;tar -xzvf phpMyAdmin-3.4.3.1-english.tar.gz -C /var/www/html&#8221; entpacken, mit &#8220;mv phpMyAdmin-3.4.3.1-english.tar.gz phpmyadmin&#8221; umbenennen und mit &#8220;rm -rf phpMyAdmin-3.4.3.1-english.tar.gz&#8221; die Ursprungsdatei löschen.</li>
<li style="text-align: left;">Nach &#8220;adduser phpmyadmin&#8221; und &#8220;passwd phpmyadmin&#8221; mit &#8220;chown -R phpmyadmin.apache phpmyadmin/&#8221; Rechte setzen.</li>
<li style="text-align: left;">phpMyAdmin vorbereiten: &#8220;mkdir /var/www/html/phpmyadmin/config&#8221;, &#8220;chmod o+rw /var/www/html/phpmyadmin/config&#8221;, &#8220;cp /var/www/html/phpmyadmin/config.sample.inc.php /var/www/html/phpmyadmin/config/config.inc.php&#8221; und &#8220;chmod o+w /var/www/html/phpmyadmin/config/config.inc.php&#8221;.</li>
<li style="text-align: left;">Apache starten: &#8220;service httpd start&#8221;</li>
<li style="text-align: left;">Unter &#8220;http://IP/phpmyadmin/setup/index.php&#8221; MySQL-Server (Passwort) anlegen.</li>
<li style="text-align: left;">Aufräumen: &#8220;rm -rf /var/www/html/phpmyadmin/config&#8221;.</li>
<li style="text-align: left;">Nach &#8220;mv /var/www/html/phpmyadmin/config.sample.inc.php /var/www/html/phpmyadmin/config.inc.php&#8221; mit &#8220;vi /var/www/html/phpmyadmin/config.inc.php&#8221; BlowFish Secret ergänzen.</li>
</ol>
<p>Ggf. nach der Installation von WordPress oder Piwik (oder was auch immer) mit &#8220;chown -R apache /var/www/html&#8221; und &#8220;chmod -R 755 /var/www/html&#8221; Apache entsprechende Rechte einräumen und mit &#8220;service httpd start&#8221; den Apache neu starten. Beim Upload von Dateien, z.B. via SCP, generell beachten.</p>
<h3>mod_rewrite</h3>
<p>Durch &#8220;yum install httpd&#8221; aus den Amazon Repositories ist mod_rewrite direkt enabled, aber: &#8220;If you want to use a directory-specific .htaccess file,  you will need to update the Directory configuration for /var/www/html/  in the httpd.conf.  By default .htaccess overrides are disabled, change  the httpd.conf file so that &#8220;AllowOverride None&#8221; becomes &#8220;AllowOverride  All&#8221; within the /var/www/html/ Directory tags.&#8221; (<a href="http://imperialwicket.com/aws-building-a-lamp-instance">Quelle</a>)</p>
<h3>Weitere interessante Links</h3>
<ul>
<li><a href="http://www.calebogden.com/multiple-websites-amazon-ec2-linux-virtual-hosts/">Multiple Websites on Amazon EC2 Linux with <strong>Virtual Hosts</strong></a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2011/07/10/lamp-server-in-der-amazon-cloud-aws/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eclipse mit XDebug unter Windows 7: Unexpected Termination of Script, Debugging Ended</title>
		<link>http://blog.andrekolell.de/2011/05/15/eclipse-mit-xdebug-unter-windows-7-unexpected-termination-of-script-debugging-ended/</link>
		<comments>http://blog.andrekolell.de/2011/05/15/eclipse-mit-xdebug-unter-windows-7-unexpected-termination-of-script-debugging-ended/#comments</comments>
		<pubDate>Sun, 15 May 2011 12:10:09 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[Bugfix]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1877</guid>
		<description><![CDATA[Beim Arbeiten in Eclipse erhalte ich mit verschiedenen XDebug-Versionen (php_xdebug-2.1.0-5.3-vc6.dll, php_xdebug-2.1.1-5.3-vc6.dll) neuerdings den Fehler: Unexpected Termination of Script, Debugging Ended Zwar laufen sowohl Apache als auch Debugging-Session (halbwegs) weiter, doch können keinerlei Variablen und Variableninhalte in Eclipse eingesehen werden. Meine bisherige Recherche hat folgende Lösungsvorschläge ergeben: Entfernen aller Expressions/Watches Die Windows Firewall blockt eingehende Eclipse [...]]]></description>
			<content:encoded><![CDATA[<p>Beim Arbeiten in Eclipse erhalte ich mit verschiedenen XDebug-Versionen (php_xdebug-2.1.0-5.3-vc6.dll, php_xdebug-2.1.1-5.3-vc6.dll) neuerdings den Fehler:</p>
<blockquote><p>Unexpected Termination of Script, Debugging Ended</p></blockquote>
<p>Zwar laufen sowohl Apache als auch Debugging-Session (halbwegs) weiter, doch können keinerlei Variablen und Variableninhalte in Eclipse eingesehen werden.</p>
<p>Meine bisherige Recherche hat <strong>folgende Lösungsvorschläge</strong> ergeben:</p>
<ol>
<li><a href="http://www.agilepman.com/2010/08/unexpected-termination-of-script-debugging-ended/">Entfernen aller Expressions/Watches</a></li>
<li><a href="http://eq-eq-eq.blogspot.com/2011/02/debugging-php-in-eclipse-with-xdebug.html">Die Windows Firewall blockt eingehende Eclipse Verbindungen</a></li>
</ol>
<p>Beides hat mir leider nicht weiter geholfen.</p>
<p>Immerhin scheint es ein <a href="http://bugs.xdebug.org/view.php?id=658">offiziellen Ticket</a> mit hoher Priorität zu geben; jedoch hat sich zu dem Problem seit Januar 2011 nicht wirklich viel getan&#8230; Falls jemand daher neue Erkenntnisse hat, bin ich dafür sehr dankbar :)</p>
<p><span id="more-1877"></span></p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "pub-5227722091639199"; google_ad_slot = "1568938395"; google_ad_width = 468; google_ad_height = 60;
// ]]&gt;</script></p>
<p style="text-align: center;"><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2011/05/15/eclipse-mit-xdebug-unter-windows-7-unexpected-termination-of-script-debugging-ended/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bedeutung &amp; Entschlüsselung des Google AdWords Auto-Tagging Parameters gclid</title>
		<link>http://blog.andrekolell.de/2011/05/11/bedeutung-und-entschlussung-des-google-adwords-auto-tagging-parameters-gclid/</link>
		<comments>http://blog.andrekolell.de/2011/05/11/bedeutung-und-entschlussung-des-google-adwords-auto-tagging-parameters-gclid/#comments</comments>
		<pubDate>Wed, 11 May 2011 18:51:51 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[Suchmaschinenmarketing]]></category>
		<category><![CDATA[Bid-Management]]></category>
		<category><![CDATA[Gebotsmanagement]]></category>
		<category><![CDATA[Google AdWords]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[SEA]]></category>
		<category><![CDATA[SEM]]></category>
		<category><![CDATA[Web Analytics]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1865</guid>
		<description><![CDATA[Schon seit längerem flehe ich erfolglos sämtliche mir bekannten Google-Ansprechpartner an, Keyword- und AdGroup-ID als ValueTrack-Parameter zur Verfügung zu stellen. Nun kam mir die Idee in Google AdWords das Auto-Tagging zu aktivieren. Dadurch wird jedem Link automatisch ein Parameter namens gclid angehangen. Diesen wollte ich auslesen und die darin enthaltenen Informationen entschlüssel, denn schließlich kann [...]]]></description>
			<content:encoded><![CDATA[<p>Schon seit längerem flehe ich erfolglos sämtliche mir bekannten Google-Ansprechpartner an, Keyword- und AdGroup-ID als <a href="http://adwords.google.com/support/aw/bin/answer.py?hl=de&amp;answer=178482">ValueTrack-Parameter</a> zur Verfügung zu stellen.</p>
<p>Nun kam mir die Idee in Google AdWords das <a href="http://adwords.google.com/support/aw/bin/answer.py?hl=en&amp;answer=55590">Auto-Tagging</a> zu aktivieren. Dadurch wird jedem Link automatisch ein Parameter namens gclid angehangen. Diesen wollte ich auslesen und die darin enthaltenen Informationen entschlüssel, denn schließlich kann Google Analytics ja auch anhand des gclid-Parameters die originäre AdWords-Struktur wiederherstellen&#8230;</p>
<p>Leider habe ich zu dem Ansatz nicht viel finden können und auch einige Tests förderten nichts nennenswertes zu Tage. Vermutlich ist es wie auf <a href="http://stackoverflow.com/questions/365888/how-to-decode-google-gclids">stackoverflow</a>, eine der wenigen Quellen zu dem Thema, vermutet:</p>
<p><strong>Die gclid wird weitgehend zufällig erzeugt und lediglich als Schlüssel für einen Google-internen Datenaustausch zwischen Google AdWords und Google Analytics verwendet. </strong></p>
<p>Jegliche Versuche von &#8220;gclid Reverse Engineering&#8221; und &#8220;gclid Entschlüsselung&#8221; dürften damit erfolglos bleiben.</p>
<p>Falls jemand doch andere Erkenntnisse hat, bin ich daran überaus interessiert! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2011/05/11/bedeutung-und-entschlussung-des-google-adwords-auto-tagging-parameters-gclid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PuTTY: Unable to use key file&#8230;</title>
		<link>http://blog.andrekolell.de/2010/11/29/putty-unable-to-use-key-file/</link>
		<comments>http://blog.andrekolell.de/2010/11/29/putty-unable-to-use-key-file/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 12:21:28 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[Bugfix]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1704</guid>
		<description><![CDATA[Gerade bin ich auf folgendes Problem bei der PuTTY-Nutzung gestoßen: Unable to use key file "C:\Users\Andre\key.pem" (Open SSH-2 private key) Ich hatte versucht einen OpenSSH-Key zu nutzen, ohne diesen vorher in PuTTYs ppk-Format umzuwandeln. Die Lösung des Problems ist recht simpel: Mit PuTTYgen lässt sich mit wenigen Klicks aus einem OpenSSH-Key ein PuTTY-ppk-Key erstellen. Sobald [...]]]></description>
			<content:encoded><![CDATA[<p>Gerade bin ich auf folgendes Problem bei der PuTTY-Nutzung gestoßen:</p>
<blockquote>
<pre>Unable to use key file "C:\Users\Andre\key.pem" (Open SSH-2 private key)</pre>
</blockquote>
<p>Ich hatte versucht einen OpenSSH-Key zu nutzen, ohne diesen vorher in PuTTYs ppk-Format umzuwandeln. Die Lösung des Problems ist recht simpel: Mit <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">PuTTYgen</a> lässt sich mit wenigen Klicks aus einem OpenSSH-Key ein PuTTY-ppk-Key erstellen. Sobald dieser in PuTTY hinterlegt ist, kann die Verbindung problemlos hergestellt werden.</p>
<p>Weitere Informationen gibt es <a href="http://the.earth.li/~sgtatham/putty/0.55/htmldoc/Chapter10.html">hier</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2010/11/29/putty-unable-to-use-key-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>setuptools &amp; easy_install unter Windows 7 (64 Bit)</title>
		<link>http://blog.andrekolell.de/2010/08/14/setuptools-easy_install-unter-windows-7-64-bit/</link>
		<comments>http://blog.andrekolell.de/2010/08/14/setuptools-easy_install-unter-windows-7-64-bit/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 16:22:36 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[Bugfix]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1604</guid>
		<description><![CDATA[Da ich mich gerade bei der Installation der Python setuptools unter Windows (64 Bit) etwas dämlich angestellt habe &#8211; der reguläre Windows Installer läuft nämlich nicht&#8230; &#8211; hier die einfache Lösung: Aktuelles setuptools-egg runterladen. Außerhalb der Python-Installation entpacken. Via Konsole python setup.py install ausführen. &#8230; und wo wir gerade dabei sind: Wer versucht SOAPpy via [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich mich gerade bei der Installation der Python setuptools unter Windows (64 Bit) etwas dämlich angestellt habe &#8211; der reguläre Windows Installer läuft nämlich nicht&#8230; &#8211; hier die einfache Lösung:</p>
<ol>
<li><a href="http://pypi.python.org/pypi/setuptools#downloads">Aktuelles setuptools-egg</a> runterladen.</li>
<li>Außerhalb der Python-Installation entpacken.</li>
<li>Via Konsole <em>python setup.py install</em> ausführen.</li>
</ol>
<p>&#8230; und wo wir gerade dabei sind: Wer versucht SOAPpy via easy_install zu installieren, der findet <a href="http://www.geewax.org/2009/11/01/soappy-package-building.html">hier</a> die Lösung.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2010/08/14/setuptools-easy_install-unter-windows-7-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Probleme mit cURL POST-Request: &#8220;Failed to open/read local data from file/application&#8221;</title>
		<link>http://blog.andrekolell.de/2009/09/29/probleme-mit-curl-post-request-failed-to-openread-local-data-from-fileapplication/</link>
		<comments>http://blog.andrekolell.de/2009/09/29/probleme-mit-curl-post-request-failed-to-openread-local-data-from-fileapplication/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 07:23:20 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[Bugfix]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1238</guid>
		<description><![CDATA[Nachdem ich eine Weile erfolglos versucht habe mit PHP&#8217;s cURL POST-Requests via SSL zu senden &#8211; es trat stets der Fehler 26 &#8220;Failed to open/read local data from file/application&#8221; auf &#8211; habe ich nach einer Weile die (wieder einmal sehr simple) Antwort gefunden. Selbst wenn keine Daten per POST gesendet werden, muss folgende Option gesetzt [...]]]></description>
			<content:encoded><![CDATA[<p>Nachdem ich eine Weile erfolglos versucht habe mit PHP&#8217;s cURL POST-Requests via SSL zu senden &#8211; es trat stets der Fehler 26 &#8220;Failed to open/read local data from file/application&#8221; auf &#8211; habe ich nach einer Weile die (wieder einmal sehr simple) Antwort gefunden. Selbst wenn keine Daten per POST gesendet werden, muss folgende Option gesetzt sein:</p>
<blockquote>
<pre>curl_setopt($ch, CURLOPT_POSTFIELDS, '');</pre>
</blockquote>
<p><em>&#8230; dann klappt&#8217;s auch mit dem cURL POST via SSL.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2009/09/29/probleme-mit-curl-post-request-failed-to-openread-local-data-from-fileapplication/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to use Ext JS with Pylons and Mako</title>
		<link>http://blog.andrekolell.de/2009/09/10/how-to-use-ext-js-with-pylons-and-mako/</link>
		<comments>http://blog.andrekolell.de/2009/09/10/how-to-use-ext-js-with-pylons-and-mako/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 04:25:57 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[Ext JS]]></category>
		<category><![CDATA[Pylons Web Framework]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Pylons]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1187</guid>
		<description><![CDATA[In this little tutorial I will show you how to use the Python web framework Pylons and the Mako template library with the cross-browser JavaScript framework Ext JS. I will explain how to set up a complex layout (this means an Ext.Viewport) and how to dynamically load its contents and further functionality. First of all, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.andrekolell.de/wp-content/uploads/2009/09/ext_js_ajax.gif"><img class="alignright size-full wp-image-1200" title="ExtJS and AJAX" src="http://blog.andrekolell.de/wp-content/uploads/2009/09/ext_js_ajax.gif" alt="ExtJS and AJAX" width="241" height="159" /></a>In this little tutorial I will show you how to use the <a href="http://pylonshq.com/">Python web framework Pylons</a> and the <a href="http://www.makotemplates.org/">Mako template library</a> with the <a href="http://www.extjs.com/products/extjs/">cross-browser JavaScript framework Ext JS</a>.</p>
<p>I will explain how to set up a <a href="http://www.extjs.com/deploy/dev/examples/layout/complex.html">complex layout</a> (this means an Ext.Viewport) and how to dynamically load its contents and further functionality.</p>
<p>First of all, you need to <a href="http://pylonshq.com/docs/en/0.9.7/gettingstarted">set up Pylons</a> and a create a new project. Let&#8217;s  name it &#8220;PylonsAndExt&#8221;. During setup, mako needs to be selected as our template engine. We do not require SQLAlchemy support&#8230;</p>
<p><span id="more-1187"></span></p>
<blockquote>
<pre>paster create -t pylons PylonsAndExt</pre>
</blockquote>
<p>If you like to, verify that everything&#8217;s working well by serving the application (paster serve development.ini) and visiting http://127.0.0.1:5000.</p>
<p>Now we need a controller. Since this controller should provide us with our main application, we name it &#8220;application&#8221;:</p>
<blockquote>
<pre>paster controller application</pre>
</blockquote>
<p>To map the application controller&#8217;s index() action to the root URL of the project, add a new line to the main route map in <em>config/routing.py</em> just after &#8220;# CUSTOM ROUTES HERE&#8221; and empty the <em>public </em>directory (to avoid serving static files):</p>
<blockquote>
<pre>map.connect('/', controller='application', action='index')</pre>
</blockquote>
<p>Next, we modify the ApplicationController&#8217;s index() method so that it returns a mako template. Putting all our Ext JS code into mako files enables us to better internationalize and localize our JavaScript:</p>
<blockquote>
<pre>def index(self):
   return render('/application.mako')</pre>
</blockquote>
<p>To create an Ext.Viewport, we first need Ext. After <a href="http://www.extjs.com/products/extjs/download.php">downloading</a>, place all (relevant) Ext JS files in <em>public/ext</em>.  Inside <em>application.mako</em>, we can now generate our viewport:</p>
<blockquote>
<pre>&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;Getting started with Pylons and Ext JS&lt;/title&gt;
  &lt;link rel="stylesheet" type="text/css"
    href="ext/resources/css/ext-all.css"/&gt;
  &lt;script src="ext/adapter/ext/ext-base.js"&gt;&lt;/script&gt;
  &lt;script src="ext/ext-all-debug.js"&gt;&lt;/script&gt;
  &lt;script&gt;
    Ext.onReady(function(){
      new Ext.Viewport({
        layout: 'border',
        items: [
          {region: 'north', height: 50},
          {region: 'west', width: 100},
          {region: 'south', height: 50},
          {region: 'east', width: 100},
          {region: 'center',
           xtype: 'tabpanel',
           items: [{
             title: 'Default Tab',
             html: 'The first tab\'s content.'
           }, {
             title: 'AJAX Tab',
             autoLoad: 'application/ajax'
           }]
        }]
      })
    });
  &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;&lt;/body&gt;
&lt;/html&gt;</pre>
</blockquote>
<p>Since we use AJAX to load the content of the second tab (&#8220;AJAX Tab&#8221;), we need to add the ajax() method we specified above to the ApplicationController:</p>
<blockquote>
<pre>def ajax(self):
   return 'Some AJAX Content'</pre>
</blockquote>
<p>Instead of returning a simple string, we could have used a mako template to return more sophisticated content again. Ok, that&#8217;s all really basic so far. I should continue with some more challenging functionalities within the next days&#8230;</p>
<p><em><strong>Any suggestions?</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2009/09/10/how-to-use-ext-js-with-pylons-and-mako/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Problem setting up psycopg2 under Windows</title>
		<link>http://blog.andrekolell.de/2009/09/04/problem-setting-up-psycopg2-under-windows/</link>
		<comments>http://blog.andrekolell.de/2009/09/04/problem-setting-up-psycopg2-under-windows/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 06:53:24 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[Pylons Web Framework]]></category>
		<category><![CDATA[Bugfix]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1170</guid>
		<description><![CDATA[When I set up Pylons today in a virtual isolated Python environment on my Windows machine, I had a little fight with psycopg2 (which usually allows me to connect to my PostgreSQL database). At first, everytime I tried to &#8220;easy_install psycopg2&#8243;, I ended up with the error message &#8220;unable to find vcvarsall.bat&#8221;. Luckily I found [...]]]></description>
			<content:encoded><![CDATA[<p>When I set up <a href="http://pylonshq.com/">Pylons</a> today in a virtual isolated Python environment on my Windows machine, I had a little fight with <strong>psycopg2</strong> (which usually allows me to connect to my PostgreSQL database). At first, everytime I tried to &#8220;easy_install psycopg2&#8243;, I ended up with the error message &#8220;unable to find vcvarsall.bat&#8221;.</p>
<p>Luckily I found a solution to get the  &#8220;<a href="http://thomas.broxrost.com/2009/06/01/how-to-compile-simpleparse-210a1-for-python-26-on-windows-vista/">unable to find vcvarsall.bat</a>&#8221; problem fixed.</p>
<p>But unfortunately there was another error when I wanted paster to serve:</p>
<blockquote><p>File &#8220;C:\Python26\lib\site-packages\psycopg2\__init__.py&#8221;,<br />
line 60, in &lt;module&gt;<br />
from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID<br />
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.</p></blockquote>
<p>Of course, reinstallation did not fix the problem. I thought the whole challenge might be caused by my virtual environment, because Jason Erickson (who publishes the psycopg Windows binaries) mentioned problems that would occur <a href="http://www.stickpeople.com/projects/python/win-psycopg/">when using psycopg with virtual environments</a> in his blog. But nothing I tried improved my situation.</p>
<p><strong>Solution: Use an older version (2.0.10) of psycopg2!</strong></p>
<p>Later on I found a post in Google Groups, where someone had a <a href="http://groups.google.com/group/django-users/browse_thread/thread/e1b628f0f75896f0?pli=1">similar problem with psycopg2 under Windows</a>. He figured out that there was something wrong with the build of psycopg2 (version 2.0.12) and that simply using an older version (for example 2.0.10) worked fine&#8230; That made my day!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2009/09/04/problem-setting-up-psycopg2-under-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Umfrage zu Web Analytics für Blogs</title>
		<link>http://blog.andrekolell.de/2009/09/02/umfrage-zu-web-analytics-fur-blogs/</link>
		<comments>http://blog.andrekolell.de/2009/09/02/umfrage-zu-web-analytics-fur-blogs/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 07:34:11 +0000</pubDate>
		<dc:creator>Andre Kolell</dc:creator>
				<category><![CDATA[(Web) Development]]></category>
		<category><![CDATA[MICT-Studium an der UWS]]></category>
		<category><![CDATA[Online-Marketing]]></category>
		<category><![CDATA[Persönliches]]></category>
		<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[MICT]]></category>
		<category><![CDATA[Visitor Statistics]]></category>
		<category><![CDATA[Web Analytics]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.andrekolell.de/?p=1154</guid>
		<description><![CDATA[Im Rahmen meines Studium an der University of Western Sydney führe ich bis zum 17. September eine Online-Umfrage zum Thema &#8220;Web Analytics für Blogs&#8221; durch. Konkret soll anhand der Umfrage festgestellt werden, ob und wie Blogger Web Analytics betreiben, sowie herauszuarbeiten, wodurch die Entscheidung Web Analytics im Zusammenhang mit Blogs zu verwenden beeinflusst wird. Aufruf! [...]]]></description>
			<content:encoded><![CDATA[<p>Im Rahmen meines Studium an der University of Western Sydney führe ich bis zum 17. September eine <a href="http://survey.wopsta.org/index.php?sid=76139">Online-Umfrage zum Thema &#8220;Web Analytics für Blogs&#8221;</a> durch. Konkret soll anhand der Umfrage festgestellt werden, ob und wie Blogger Web Analytics betreiben, sowie herauszuarbeiten, wodurch die Entscheidung Web Analytics im Zusammenhang mit Blogs zu verwenden beeinflusst wird.</p>
<p><img class="alignright size-full wp-image-1155" title="WordPress 2.7 Complete" src="http://blog.andrekolell.de/wp-content/uploads/2009/09/wordpress_2.7_complete.gif" alt="WordPress 2.7 Complete" width="162" height="200" /></p>
<h3 style="margin-bottom: 12px;">Aufruf!</h3>
<p>Hiermit rufe ich alle Blogger auf an der <a href="http://survey.wopsta.org/index.php?sid=76139">Online-Umfrage</a> teilzunehmen und auf die Umfrage hinzuweisen.</p>
<p>Die Teilnahme dauert <strong>weniger als fünf Minuten</strong> und <strong>unter allen Teilnehmern wird eine Ausgabe von <em>April Hodge Silver&#8217;s</em> und <em>Hasin Hayder&#8217;s</em> WordPress 2.7 Complete (eBook) verlost!</strong></p>
<p>&raquo; <span style="color: #993300;"><strong><a href="http://survey.wopsta.org/index.php?sid=76139">Zur Online-Umfrage</a></strong></span>!</p>
<p>Die Ergebnisse der auf der Umfrage aufbauenden Studie werden voraussichtlich im November auf der Website wopsta.org veröffentlicht, auf der es um <a href="http://www.wopsta.org/">Web Analytics für Blogs</a> im Allgemeinen und die Entwicklung eines <a href="http://www.wopsta.org/">WordPress real-time Visitor Statistics Plug-in</a> im Speziellen geht.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andrekolell.de/2009/09/02/umfrage-zu-web-analytics-fur-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

