<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Metadata/Attributes in PHP</title>
	<atom:link href="http://interfacelab.com/metadataattributes-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://interfacelab.com/metadataattributes-in-php/</link>
	<description></description>
	<lastBuildDate>Fri, 23 Jul 2010 00:06:59 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: PCSpectra</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-202</link>
		<dc:creator>PCSpectra</dc:creator>
		<pubDate>Tue, 25 Nov 2008 02:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-202</guid>
		<description>Excellent idea...in fact dare I say brilliant? :P&lt;br&gt;&lt;br&gt;I&#039;ve been poking around for a while now trying to figure out a way to use reflection that would be &quot;interesting&quot; and &quot;innovative&quot; I think this might be it.&lt;br&gt;&lt;br&gt;The part where you said, using reflection to obtain meta data and have that information be discoverable rather than declarative...I&#039;m not sure I agree 100% but the idea of marking my methods as REST-able (for lack of a better word) by indicating that in the comment as meta-data...&lt;br&gt;&lt;br&gt;Damn thats a good idea and I owe it all to this article. :P&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Alex</description>
		<content:encoded><![CDATA[<p>Excellent idea&#8230;in fact dare I say brilliant? <img src='http://interfacelab.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>I&#39;ve been poking around for a while now trying to figure out a way to use reflection that would be &#8220;interesting&#8221; and &#8220;innovative&#8221; I think this might be it.</p>
<p>The part where you said, using reflection to obtain meta data and have that information be discoverable rather than declarative&#8230;I&#39;m not sure I agree 100% but the idea of marking my methods as REST-able (for lack of a better word) by indicating that in the comment as meta-data&#8230;</p>
<p>Damn thats a good idea and I owe it all to this article. <img src='http://interfacelab.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Cheers,<br />Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jawngee</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-206</link>
		<dc:creator>jawngee</dc:creator>
		<pubDate>Sun, 03 Aug 2008 04:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-206</guid>
		<description>JSON would be great here as well.  Honestly, the only reason I chose YAML is because all of our other configuration is done with that.</description>
		<content:encoded><![CDATA[<p>JSON would be great here as well.  Honestly, the only reason I chose YAML is because all of our other configuration is done with that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-205</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sun, 03 Aug 2008 04:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-205</guid>
		<description>I had an idea that might work out well in replacement for the format. Maybe using a JSON object and parsing it with json_decode. That way it&#039;s converted to an associated array on it&#039;s own without the need to convert it manually.</description>
		<content:encoded><![CDATA[<p>I had an idea that might work out well in replacement for the format. Maybe using a JSON object and parsing it with json_decode. That way it&#39;s converted to an associated array on it&#39;s own without the need to convert it manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jawngee</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-204</link>
		<dc:creator>jawngee</dc:creator>
		<pubDate>Fri, 01 Aug 2008 19:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-204</guid>
		<description>Well, it definitely isn&#039;t blazing fast, but I don&#039;t believe the overhead is too taxing.  That said, we use APC&#039;s shared memory cache to cache metadata so that we only really load it when the application starts up (the cache sticks around until you restart the server or until APC restarts itself).  Using this strategy, once it&#039;s cached it&#039;s barely noticeable.&lt;br&gt;&lt;br&gt;You could do the same thing using memcached, but APC&#039;s is much faster as the memory is local to its process.</description>
		<content:encoded><![CDATA[<p>Well, it definitely isn&#39;t blazing fast, but I don&#39;t believe the overhead is too taxing.  That said, we use APC&#39;s shared memory cache to cache metadata so that we only really load it when the application starts up (the cache sticks around until you restart the server or until APC restarts itself).  Using this strategy, once it&#39;s cached it&#39;s barely noticeable.</p>
<p>You could do the same thing using memcached, but APC&#39;s is much faster as the memory is local to its process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-203</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 01 Aug 2008 14:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-203</guid>
		<description>Thank you so much... You just saved me a ton of time. &lt;br&gt;&lt;br&gt;Any speed issues using this approach?</description>
		<content:encoded><![CDATA[<p>Thank you so much&#8230; You just saved me a ton of time. </p>
<p>Any speed issues using this approach?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quocbao</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-207</link>
		<dc:creator>quocbao</dc:creator>
		<pubDate>Wed, 16 Jul 2008 15:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-207</guid>
		<description>Your post was quite wonderful :D , I just translate the technique, give your example.&lt;br&gt;&lt;br&gt;Thanks for your nice post :)</description>
		<content:encoded><![CDATA[<p>Your post was quite wonderful <img src='http://interfacelab.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  , I just translate the technique, give your example.</p>
<p>Thanks for your nice post <img src='http://interfacelab.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP MetaData &#124; Bao's blog</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-19</link>
		<dc:creator>PHP MetaData &#124; Bao's blog</dc:creator>
		<pubDate>Thu, 03 Jul 2008 13:02:38 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-19</guid>
		<description>[...] m?t th?i gian tìm hi?u thì c?ng có ng??i ??a ra gi?i pháp  . Trong PHP không có c? ch? ??nh ngh?a meta data c? th?, tuy [...]</description>
		<content:encoded><![CDATA[<p>[...] m?t th?i gian tìm hi?u thì c?ng có ng??i ??a ra gi?i pháp  . Trong PHP không có c? ch? ??nh ngh?a meta data c? th?, tuy [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jgmassify</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-209</link>
		<dc:creator>jgmassify</dc:creator>
		<pubDate>Sat, 21 Jun 2008 04:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-209</guid>
		<description>Nice one.&lt;br&gt;&lt;br&gt;Yeah, it&#039;s unfortunate that this is really a huge hack to get a language feature that would be a nice to have.&lt;br&gt;&lt;br&gt;I&#039;m going to be re-posting a patch for PHP that enables array shortcut notation in the next couple of days.  The patch was originally by  Ryusuke Sekiyama, posted here:  &lt;a href=&quot;http://marc.info/?l=php-internals&amp;m=119995972028293&amp;w=2&quot; rel=&quot;nofollow&quot;&gt;http://marc.info/?l=php-internals&amp;m=11999597202...&lt;/a&gt;&lt;br&gt;&lt;br&gt;Instead of using array() you can use [], eg:&lt;br&gt;&lt;br&gt;$var=[1,2,3,4];&lt;br&gt;$othervar=[ &#039;test&#039; =&gt; [1,2], &#039;sick&#039; =&gt; [1,[3,4]]];</description>
		<content:encoded><![CDATA[<p>Nice one.</p>
<p>Yeah, it&#39;s unfortunate that this is really a huge hack to get a language feature that would be a nice to have.</p>
<p>I&#39;m going to be re-posting a patch for PHP that enables array shortcut notation in the next couple of days.  The patch was originally by  Ryusuke Sekiyama, posted here:  <a href="http://marc.info/?l=php-internals&#038;m=119995972028293&#038;w=2" rel="nofollow"></a><a href="http://marc.info/?l=php-internals&#038;m=11999597202.." rel="nofollow">http://marc.info/?l=php-internals&#038;m=11999597202..</a>.</p>
<p>Instead of using array() you can use [], eg:</p>
<p>$var=[1,2,3,4];<br />$othervar=[ &#39;test&#39; =&gt; [1,2], &#39;sick&#39; =&gt; [1,[3,4]]];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-208</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 19 Jun 2008 16:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-208</guid>
		<description>I use annotations with a array style notation like:&lt;br&gt;&lt;br&gt;/**&lt;br&gt; * @someAnno(1=&gt;2, &quot;yeah&quot;=&gt; array(&quot;no&quot;,&quot;yes&quot;))&lt;br&gt; */&lt;br&gt;&lt;br&gt;It&#039;s really too bad that the language itself doesn&#039;t support it (outside doc comments) as it would be much faster and not require the caching.</description>
		<content:encoded><![CDATA[<p>I use annotations with a array style notation like:</p>
<p>/**<br /> * @someAnno(1=&gt;2, &#8220;yeah&#8221;=&gt; array(&#8220;no&#8221;,&#8221;yes&#8221;))<br /> */</p>
<p>It&#39;s really too bad that the language itself doesn&#39;t support it (outside doc comments) as it would be much faster and not require the caching.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Carr</title>
		<link>http://interfacelab.com/metadataattributes-in-php/comment-page-1/#comment-210</link>
		<dc:creator>James Carr</dc:creator>
		<pubDate>Wed, 18 Jun 2008 10:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://interfacelab.com/metadataattributes-in-php/#comment-210</guid>
		<description>That&#039;s VERY interesting</description>
		<content:encoded><![CDATA[<p>That&#39;s VERY interesting</p>
]]></content:encoded>
	</item>
</channel>
</rss>
