<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <channel>
        <title>Poo-tee-weet</title>
        <link>http://www.pooteeweet.org</link>
        <description>Poo-tee-weet: ramblings on PHP, SQL, the web, politics, ultimate frisbee and what else is on in my life</description>
        <dc:language>en</dc:language>
        <generator>WebBuilder2</generator>
        <managingEditor>smith@pooteeweet.org (Lukas Kahwe Smith)</managingEditor>
        <webMaster>smith@pooteeweet.org (Lukas Kahwe Smith)</webMaster>
        <ttl>1440</ttl>
        <item>
            <title>Re: State of PHPCR</title>
            <link>http://www.pooteeweet.org/blog/2088/2097</link>
            <guid>http://www.pooteeweet.org/blog/2088/2097</guid>
            <category>general</category>
            <description>I live in enschede, which is about 2 hours away by car from Amsterdam, so its not exactly next door... also I&apos;ll be on holiday untill june 9th so I don&apos;t think I&apos;ll get much work done on phpcr and ariadne in the mean time. Let&apos;s see how it goes :)

</description>
            <content:encoded>&lt;p&gt;I live in enschede, which is about 2 hours away by car from Amsterdam, so its not exactly next door... also I&apos;ll be on holiday untill june 9th so I don&apos;t think I&apos;ll get much work done on phpcr and ariadne in the mean time. Let&apos;s see how it goes :)&lt;/p&gt;

</content:encoded>
            <pubDate>Tue, 15 May 2012 16:42:26 +0200</pubDate>
            <dc:creator>Auke van Slooten</dc:creator>
        </item>
        <item>
            <title>Query parameter handling in Symfony2</title>
            <link>http://www.pooteeweet.org/blog/0/2096</link>
            <guid>http://www.pooteeweet.org/blog/0/2096</guid>
            <category>general</category>
            <description>So this topic has been going back and forth in my head a lot over the last months: how do we best handle query parameters in Symfony2? Obviously you can already access query parameters today already but it could be easier. Essentially what I want is a way for developers to easily configure what query parameters they expect and what values they expect. This is useful for several things like easier reading and validating of query parameters, self documenting API both for  API docs for humans but also for machines. Now thanks to Alexander we have a solution that works. But there is the big question if this is really the right approach. For now ignore the fact that it only works with annotations for now, because that is fixable. But it does point to the question if this shouldn&apos;t be integrated into the routing configuration itself by adding query support for our implementation of uri-templates.

</description>
            <content:encoded>&lt;p&gt;So this topic has been going back and forth in my head a lot over the last months: how do we best handle query parameters in Symfony2? Obviously you can already &lt;a href=&quot;http://symfony.com/doc/master/components/http_foundation/introduction.html#accessing-request-data&quot;&gt;access query parameters&lt;/a&gt; today already but it could be easier. Essentially what I want is a way for developers to easily configure what query parameters they expect and what values they expect. This is useful for several things like easier reading and validating of query parameters, self documenting API both for &lt;a href=&quot;https://github.com/nelmio/NelmioApiDocBundle&quot;&gt; API docs&lt;/a&gt; for humans but also &lt;a href=&quot;https://github.com/FriendsOfSymfony/FOSRestBundle/issues/52&quot;&gt;for machines&lt;/a&gt;. Now thanks to &lt;a href=&quot;http://twitter.com/#!/iam_asm89&quot;&gt;Alexander&lt;/a&gt; we have a &lt;a href=&quot;https://github.com/FriendsOfSymfony/FOSRestBundle/pull/185&quot;&gt;solution&lt;/a&gt; that &lt;a href=&quot;https://github.com/liip/LiipHelloBundle/blob/query_param-proof-of-concept/Controller/RestController.php#L36&quot;&gt;works&lt;/a&gt;. But there is the big question if this is really the right approach. For now ignore the fact that it only works with annotations for now, because that is fixable. But it does point to the question if this shouldn&apos;t be integrated into the routing configuration itself by &lt;a href=&quot;https://github.com/symfony/symfony/issues/3227&quot;&gt;adding query support&lt;/a&gt; for our implementation of uri-templates.&lt;/p&gt;

&lt;p&gt;While this at first seems like the right place for this sort of configuration, it raises the questions of its own since path parameters (i.e. /{foo}) should be handled differently than query parameters (i.e. /{?bar}). For one I don&apos;t think that a mismatch on a &lt;a href=&quot;http://symfony.com/doc/master/book/routing.html#adding-requirements&quot;&gt;route requirement&lt;/a&gt; of a query parameter cause the route to not match. However then it can quickly become confusing for the end user or it would require adding more and more syntax to handle all the different cases.&lt;/p&gt;

&lt;p&gt;Feedback much appreciated!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: I have just merged the &lt;a href=&quot;https://github.com/FriendsOfSymfony/FOSRestBundle/pull/185&quot;&gt;change&lt;/a&gt; to FOSRestBundle.&lt;/p&gt;

</content:encoded>
            <pubDate>Sat, 12 May 2012 16:02:25 +0200</pubDate>
            <dc:creator>Lukas Kahwe Smith</dc:creator>
        </item>
        <item>
            <title>Re: State of PHPCR</title>
            <link>http://www.pooteeweet.org/blog/2088/2095</link>
            <guid>http://www.pooteeweet.org/blog/2088/2095</guid>
            <category>general</category>
            <description>@Auke one thing to note is that PHPCR/Jackalope is Apache licensed which is incompatible with GPLv2. It is compatible with GPLv3 however. See the recent discussion on the PHPCR users mailing list.

</description>
            <content:encoded>&lt;p&gt;@Auke one thing to note is that PHPCR/Jackalope is Apache licensed which is incompatible with GPLv2. It is compatible with GPLv3 however. See the &lt;a href=&quot;http://groups.google.com/group/phpcr-users/browse_frm/thread/e99da9cf2a1925a6&quot;&gt;recent discussion&lt;/a&gt; on the PHPCR users mailing list.&lt;/p&gt;

</content:encoded>
            <pubDate>Sat, 12 May 2012 11:19:31 +0200</pubDate>
            <dc:creator>Lukas Kahwe Smith</dc:creator>
        </item>
        <item>
            <title>Re: State of PHPCR</title>
            <link>http://www.pooteeweet.org/blog/2088/2094</link>
            <guid>http://www.pooteeweet.org/blog/2088/2094</guid>
            <category>general</category>
            <description>Ok cool .. I will be in Amsterdam for http://www.windmillwindup.com/2012/ .. I will be quite busy .. but depending where you are located exactly .. we might be able to meet just to say hi at least.

</description>
            <content:encoded>&lt;p&gt;Ok cool .. I will be in Amsterdam for &lt;a href=&quot;http://www.windmillwindup.com/2012/&quot;&gt;http://www.windmillwindup.com/2012/&lt;/a&gt; .. I will be quite busy .. but depending where you are located exactly .. we might be able to meet just to say hi at least.&lt;/p&gt;

</content:encoded>
            <pubDate>Fri, 11 May 2012 16:10:17 +0200</pubDate>
            <dc:creator>Lukas Kahwe Smith</dc:creator>
        </item>
        <item>
            <title>Re: State of PHPCR</title>
            <link>http://www.pooteeweet.org/blog/2088/2093</link>
            <guid>http://www.pooteeweet.org/blog/2088/2093</guid>
            <category>general</category>
            <description>Well, started to create a phpcr implementation around Ariadne&apos;s store, but it&apos;s not going to be pretty. One of the things is that Ariadne hasn&apos;t migrated to namespaces yet. Fortunately the store is first on our list to refactor and update to PHP 5.3 and namespaces.

</description>
            <content:encoded>&lt;p&gt;Well, started to create a phpcr implementation around Ariadne&apos;s store, but it&apos;s not going to be pretty. One of the things is that Ariadne hasn&apos;t migrated to namespaces yet. Fortunately the store is first on our list to refactor and update to PHP 5.3 and namespaces.&lt;/p&gt;

&lt;p&gt;For now I&apos;m rather hacking the thing together, learning the structure of the API as I go. Not sure how far I&apos;ll get :)&lt;/p&gt;

</content:encoded>
            <pubDate>Fri, 11 May 2012 15:15:39 +0200</pubDate>
            <dc:creator>Auke van Slooten</dc:creator>
        </item>
    </channel>
</rss>
