<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<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/"
	>

<channel>
	<title>prototyp.ical.ly</title>
	<link>http://prototyp.ical.ly</link>
	<description>prototypical scriptings all over the place</description>
	<pubDate>Fri, 29 Feb 2008 11:59:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>How to work with Symfony 1.1(dev) and Doctrine 1.0</title>
		<link>http://prototyp.ical.ly/index.php/2007/11/21/how-to-work-with-symfony-11dev-and-doctrine-10/</link>
		<comments>http://prototyp.ical.ly/index.php/2007/11/21/how-to-work-with-symfony-11dev-and-doctrine-10/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 15:40:34 +0000</pubDate>
		<dc:creator>caefer</dc:creator>
		
		<category><![CDATA[Symfony Framework]]></category>

		<category><![CDATA[Howto]]></category>

		<category><![CDATA[PHP]]></category>
<category>development version</category><category>doctrine</category><category>sfDoctrinePlugin</category><category>Symfony</category>
		<guid isPermaLink="false">http://prototyp.ical.ly/index.php/2007/11/21/how-to-work-with-symfony-11dev-and-doctrine-10/</guid>
		<description><![CDATA[For running Symfony 1.1 development version in  parallel to your 1.0.x installation you may refer to http://www.symforc.com/post/2006/08/01/Testing-Symfony-11. It explains everything you need in great detail.

For running a 1.1Dev version only project you do:

cd /usr/share/pear/
svn co http://svn.symfony-project.com/trunk/lib symfony
svn co http://svn.symfony-project.com/trunk/data data/symfony

In my case I use /usr/share/php/ rather than /usr/share/php.

Now you have to choose whether to [...]]]></description>
			<content:encoded><![CDATA[<p>For running Symfony 1.1 development version in  parallel to your 1.0.x installation you may refer to <a href="http://www.symforc.com/post/2006/08/01/Testing-Symfony-11">http://www.symforc.com/post/2006/08/01/Testing-Symfony-11</a>. It explains everything you need in great detail.</p>

<p>For running a 1.1Dev version only project you do:</p>

<pre>cd /usr/share/pear/
svn co http://svn.symfony-project.com/trunk/lib symfony
svn co http://svn.symfony-project.com/trunk/data data/symfony</pre>

<p>In my case I use /usr/share/php/ rather than /usr/share/php.</p>

<p>Now you have to choose whether to run a real symfony installation or to just run a sandbox.</p>

<p><strong>For a sandbox:</strong></p>

<p>Go to the directory where you want to place your sandbox and run:</p>

<pre>$ /usr/share/pear/data/symfony/bin/create_sandbox.sh</pre>

<p><strong>For a real installation:</strong></p>

<p>Make a softlink from /usr/bin/symfony to /usr/share/pear/data/symfony/bin/symfony
Go to the directory you want to start your project in and run:</p>

<pre>$ symfony generate:project &lt;your_project_name&gt;</pre>

<p><strong>Now install sfDoctrinePlugin:</strong></p>

<p>In your projects root directory you checkout the trunk of sfDoctrinePlugin by running:</p>

<p>$  svn co http://svn.symfony-project.com/plugins/sfDoctrinePlugin/trunk plugins/sfDoctrinePlugin</p>

<p>This will effectively install the correct version of doctrine corresponding to your Symfony installation.</p>

<p><strong>Beware sometimes you can get the following error:</strong></p>

<pre>
Fatal error: Class 'sfDoctrineBaseTask' not found in
/var/www/localhost/plugins/sfDoctrinePlugin/lib/task/
sfDoctrineInitCrudTask.class.php on line 18
</pre>

<p>To solve this you have to remove all files from /tmp that have &#8217;sf&#8217; or &#8217;symfony&#8217; or &#8216;cache&#8217; in their name. this is a bug in Symfony 1.1 that keeps some informations persistent in /tmp that are no longer valid.</p>

<p>Not too much information here but it took me a while to figure it out. <img src='http://prototyp.ical.ly/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

<p>Thanks to Ian P. Christian for pointing me towards the /tmp solution!</p>

<p>Powered by <a href="http://scribefire.com/">ScribeFire</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://prototyp.ical.ly/index.php/2007/11/21/how-to-work-with-symfony-11dev-and-doctrine-10/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Routing international URLs in Symfony</title>
		<link>http://prototyp.ical.ly/index.php/2007/08/29/routing-international-urls-in-symfony/</link>
		<comments>http://prototyp.ical.ly/index.php/2007/08/29/routing-international-urls-in-symfony/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 18:22:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Symfony Plugin]]></category>

		<category><![CDATA[I18n]]></category>

		<category><![CDATA[Symfony Framework]]></category>

		<category><![CDATA[Howto]]></category>

		<category><![CDATA[PHP]]></category>
<category>csi18nrouting</category><category>csi18nroutingplugin</category><category>i18n</category><category>internationalisation</category><category>L10N</category><category>PHP</category><category>plugin</category><category>routing</category><category>Symfony</category>
		<guid isPermaLink="false">http://prototyp.ical.ly/index.php/2007/08/29/routing-international-urls-in-symfony/</guid>
		<description><![CDATA[Symfonys I18n support is pretty neat once you&#8217;ve got the hang of it. The one thing I always missed was to have a set of URLs per culture in order to name the urls in different languages.

Consider the following:
You have to build an application that is served in English, French and German.

Now you would probably [...]]]></description>
			<content:encoded><![CDATA[<p>Symfonys I18n support is pretty neat once you&#8217;ve got the hang of it. The one thing I always missed was to have a set of URLs per culture in order to name the urls in different languages.</p>

<p>Consider the following:
You have to build an application that is served in English, French and German.</p>

<p>Now you would probably name your starting page &#8216;homepage&#8217;. But then it would be nice to call it &#8216;pagedaccueil&#8217; for your french visitors and &#8217;startseite&#8217; for the german speaking, wouldn&#8217;t it?</p>

<p>For example with this routing you can achieve just that.</p>

<p><code></code></p>

<pre>
homepage:
  url:
    de:   /startseite
    en:   /homepage
    fr:   /pagedaccueil
  params: [ module: home, action: index ]
</pre>

<p></p>

<p>Well with a bit of tweaking I managed to find a way to achieve this. It&#8217;s currently not too easy to extend the originally shipped sfRouting,you have to use a filter to achieve that but from there it&#8217;s easy.</p>

<p>The slightly enhanced UrlHelper functions are not yet well documented and probably not very complete either but then again I will come round to better them as time will come and request will be made.</p>

<p>Oh and of course you can still have your old routes working as before. I18n routes are an optional feature you get with this plugin.</p>

<p>Find out more about csI18nRoutingPlugin <a href="http://prototyp.ical.ly/csI18nRoutingPlugin-0.1.0.tgz">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://prototyp.ical.ly/index.php/2007/08/29/routing-international-urls-in-symfony/feed/</wfw:commentRss>
		</item>
		<item>
		<title>sfTwitterPlugin - Microblogging in Symfony</title>
		<link>http://prototyp.ical.ly/index.php/2007/07/25/sftwitterplugin-microblogging-in-symfony/</link>
		<comments>http://prototyp.ical.ly/index.php/2007/07/25/sftwitterplugin-microblogging-in-symfony/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 09:17:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Symfony Framework]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://prototyp.ical.ly/index.php/2007/07/27/sftwitterplugin-microblogging-in-symfony-2/</guid>
		<description><![CDATA[to be completed soon..

Powered by ScribeFire.
]]></description>
			<content:encoded><![CDATA[<p>to be completed soon..</p>

<p class="poweredbyperformancing">Powered by <a href="http://scribefire.com/">ScribeFire</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://prototyp.ical.ly/index.php/2007/07/25/sftwitterplugin-microblogging-in-symfony/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Javascript Design Patterns - 1. The Singleton</title>
		<link>http://prototyp.ical.ly/index.php/2007/03/01/javascript-design-patterns-1-the-singleton/</link>
		<comments>http://prototyp.ical.ly/index.php/2007/03/01/javascript-design-patterns-1-the-singleton/#comments</comments>
		<pubDate>Thu, 01 Mar 2007 10:45:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Javascript Design Patterns]]></category>

		<category><![CDATA[Javascript]]></category>
<category>class</category><category>design pattern</category><category>instance</category><category>javascript</category><category>oop</category><category>pattern</category><category>private</category><category>prototype</category><category>public</category><category>singleton</category><category>static</category>
		<guid isPermaLink="false">http://prototyp.ical.ly/index.php/2007/03/01/javascript-design-patterns-1-the-singleton/</guid>
		<description><![CDATA[This being the first part of a series of posts that I plan to write  (hopefully) I will provide bits of basics as well.  So on the way to implement a Singleton pattern I also briefly show how to create classes and how to have public as well as private attributes and methods.
]]></description>
			<content:encoded><![CDATA[<p>This being the first part of a series of posts that I plan to write  (hopefully) I will provide bits of basics as well.  So on the way to implement a Singleton pattern I also briefly show how to create classes and how to have public as well as private attributes and methods.</p>

<p><a href="http://prototyp.ical.ly/index.php/2007/03/01/javascript-design-patterns-1-the-singleton/#more-6" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://prototyp.ical.ly/index.php/2007/03/01/javascript-design-patterns-1-the-singleton/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Eclipse as your IDE for developing PHP webapplications</title>
		<link>http://prototyp.ical.ly/index.php/2007/03/01/installing-eclipse-as-your-ide-for-developing-php-webapplications/</link>
		<comments>http://prototyp.ical.ly/index.php/2007/03/01/installing-eclipse-as-your-ide-for-developing-php-webapplications/#comments</comments>
		<pubDate>Thu, 01 Mar 2007 10:35:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[XUL]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[PHP]]></category>
<category>aptana</category><category>css</category><category>databases</category><category>eclipse</category><category>eclipsexul</category><category>html</category><category>ide</category><category>installation</category><category>installing</category><category>javascript</category><category>mysql</category><category>pdt</category><category>PHP</category><category>plugins</category><category>sqlexplorer</category><category>subclipse</category><category>subversion</category><category>vi</category><category>vim</category><category>viPlugin</category><category>XHTML</category><category>xul</category>
		<guid isPermaLink="false">http://prototyp.ical.ly/index.php/2007/03/01/installing-eclipse-as-your-ide-for-developing-php-webapplications/</guid>
		<description><![CDATA[During the last couple of month I had to install my development environment over and over again. On my private as well as on work computers. It took me a while to find the ideal setup for myself and in the process of that I tried and tested many plugins.

This is to describe my current [...]]]></description>
			<content:encoded><![CDATA[<p>During the last couple of month I had to install my development environment over and over again. On my private as well as on work computers. It took me a while to find the ideal setup for myself and in the process of that I tried and tested many plugins.</p>

<p>This is to describe my current Eclipse setup for developing web applications. Techniques used include Javascript, XHTML, CSS, PHP, MySQL, XUL and Subversion.</p>

<p><a href="http://prototyp.ical.ly/index.php/2007/03/01/installing-eclipse-as-your-ide-for-developing-php-webapplications/#more-11" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://prototyp.ical.ly/index.php/2007/03/01/installing-eclipse-as-your-ide-for-developing-php-webapplications/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Messaging - Object interaction on custom events</title>
		<link>http://prototyp.ical.ly/index.php/2007/02/21/messaging-object-interaction-on-custom-events/</link>
		<comments>http://prototyp.ical.ly/index.php/2007/02/21/messaging-object-interaction-on-custom-events/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 15:04:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Proof-of-concept]]></category>

		<guid isPermaLink="false">http://prototyp.ical.ly/index.php/2007/02/21/messaging-object-interaction-on-custom-events/</guid>
		<description><![CDATA[message.js

How can we implement a messaging service in Javascript to enhance encapsulation of classes? This post shows my idea of the implementation and how to use it.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://prototyp.ical.ly/wp-content/uploads/2007/07/message1.js" title="message.js">message.js</a></p>

<p>How can we implement a messaging service in Javascript to enhance encapsulation of classes? This post shows my idea of the implementation and how to use it.</p>

<p><a href="http://prototyp.ical.ly/index.php/2007/02/21/messaging-object-interaction-on-custom-events/#more-5" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://prototyp.ical.ly/index.php/2007/02/21/messaging-object-interaction-on-custom-events/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Extending PHP5&#8217;s XMLReader for server-side validation and localization of XHTML files</title>
		<link>http://prototyp.ical.ly/index.php/2007/02/11/4/</link>
		<comments>http://prototyp.ical.ly/index.php/2007/02/11/4/#comments</comments>
		<pubDate>Sun, 11 Feb 2007 18:28:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Proof-of-concept]]></category>
<category>DTD</category><category>Entities</category><category>Entity</category><category>L10N</category><category>Localization</category><category>PHP</category><category>PHP5</category><category>translation</category><category>validation</category><category>XHTML</category><category>XML</category><category>XMLReader</category><category>XMLRenderer</category><category>xul</category>
		<guid isPermaLink="false">http://prototyp.ical.ly/index.php/2007/02/11/4/</guid>
		<description><![CDATA[Introduction

Just recently a collegue of mine (thanks Kai-Ingo) introduced me to PHP5&#8217;s XMLReader library. I have to admit that I probably missed a lot of new extensions lately but if you look into the online documentation over at php.net you can see that there are a lot of them, certainly more than there were when [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>

<p>Just recently a collegue of mine (thanks Kai-Ingo) introduced me to PHP5&#8217;s <a href="http://www.php.net/xmlreader" title="XMLReader documentation">XMLReade</a>r library. I have to admit that I probably missed a lot of new extensions lately but if you look into the online documentation over at <a href="http://www.php.net" title="PHP Homepage">php.net</a> you can see that there are a lot of them, certainly more than there were when I first started with PHP2. The last novelty I enjoyed being added to PHP5 was <a href="http://www.php.net/simplexml" title="SimpleXML documentation">SimpleXML</a> which by far improves XML handling in PHP in comparision to SAX.</p>

<p><a href="http://prototyp.ical.ly/index.php/2007/02/11/4/#more-4" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://prototyp.ical.ly/index.php/2007/02/11/4/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stair-climbing robot</title>
		<link>http://prototyp.ical.ly/index.php/2006/12/08/stair-climbing-robot/</link>
		<comments>http://prototyp.ical.ly/index.php/2006/12/08/stair-climbing-robot/#comments</comments>
		<pubDate>Fri, 08 Dec 2006 14:28:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Puzzles]]></category>
<category>algorithm</category><category>javascript</category><category>lamda</category><category>puzzle</category><category>robot</category>
		<guid isPermaLink="false">http://prototyp.ical.ly/index.php/2007/02/11/stair-climbing-robot/</guid>
		<description><![CDATA[A friend of mine recently posted a puzzle he took from Lambda the Ultimate and asked several people to send in possible solutions in their favourite language. My choice was Javascript naturally and I&#8217;m quite fond of it. After some discussion the solution seems to be approved by everyone included in the original thread.

Your stair-climbing [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine recently posted a puzzle he took from <a href="http://lambda-the-ultimate.org" title="Lambda the Ultimate - The programming languages weblog">Lambda the Ultimate</a> and asked several people to send in possible solutions in their favourite language. My choice was Javascript naturally and I&#8217;m quite fond of it. After some discussion the solution seems to be approved by everyone included in the original thread.<br /></p>

<blockquote>Your stair-climbing robot has a very simple low-level API: the &#8220;step&#8221; function takes no argument and attempts to climb one step as a side effect. Unfortunately, sometimes the attempt fails and the robot clumsily <em>falls</em> one step instead. The &#8220;step&#8221; function detects what happens and returns a boolean flag: true on success, false on failure. Write a function &#8220;step_up&#8221; that climbs one step up (by repeating &#8220;step&#8221; attempts if necessary). Assume that the robot is not already at the top of the stairs, and neither does it ever reach the bottom of the stairs. How small can you make &#8220;step_up&#8221;? Can you avoid using variables (even immutable ones) and numbers?</blockquote>

<p><br />taken from <a href="http://lambda-the-ultimate.org/node/1872" title="Programming (language) puzzles">Lambda the Ultimate</a>.<br /><br /> <a href="http://prototyp.ical.ly/index.php/2006/12/08/stair-climbing-robot/#more-3" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://prototyp.ical.ly/index.php/2006/12/08/stair-climbing-robot/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
