<?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"
	>
<channel>
	<title>Comments for PHP 10.0 Blog</title>
	<atom:link href="http://php100.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://php100.wordpress.com</link>
	<description>What if...</description>
	<pubDate>Thu, 24 Jul 2008 19:20:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>Comment on About by B.Buch</title>
		<link>http://php100.wordpress.com/about/#comment-13206</link>
		<dc:creator>B.Buch</dc:creator>
		<pubDate>Mon, 21 Jul 2008 08:13:20 +0000</pubDate>
		<guid isPermaLink="false">#comment-13206</guid>
		<description>Hi,

that's strange. I left a comment on "The Secrets of PHP" this morning. Now its gone. Did you delete it? Its not really good style to "control" the comments on a blog... 

Cheers,
Bastian.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>that&#8217;s strange. I left a comment on &#8220;The Secrets of PHP&#8221; this morning. Now its gone. Did you delete it? Its not really good style to &#8220;control&#8221; the comments on a blog&#8230; </p>
<p>Cheers,<br />
Bastian.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on the secret of PHP by B. Buch</title>
		<link>http://php100.wordpress.com/2008/05/21/secret-of-php/#comment-13205</link>
		<dc:creator>B. Buch</dc:creator>
		<pubDate>Mon, 21 Jul 2008 06:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://php100.wordpress.com/?p=44#comment-13205</guid>
		<description>Hi. I do like the discussion about this everlasting topic. For sure ... sometimes it's quite funny how taliban people think and fight for their favorite languages, platforms, styles (...) but at the end of the day discussions, even if they are somehow unobjective, improve the world... 

however...

I want to add one point. a point which is important for me as a teamleader and project manager in software development: PHP, in my eyes, becomes more unuseful the larger the project (not measured in lines of code but in aspects an application or enterprise modell has) and the amount of people working together in a team on that project. php does not support effective teamwork.... interface design without defined return and parameter types makes it hard to reuse and extend things such as it is possible in... say... java. the boundaries of java itself and the boundaries of interfaces and the usage of modules in java reduce the risk to fail and thus the time trying to integrate with other parts of an application. 
other missing features of php are effective namespaces and packaging (deployment) of applications. one example: you are working on an enterprise project which works with direct database interaction using some kind of DBConnection Class. Good enough - PHP is a nice language to abstracterize things that way. But over time the database model becomes more complex and demands a business layer which maps the database structure to an object oriented model. here comes the problem. in other languages you easily would develop this layer independently from the rest of the application in a single project. as soon as the model works in some test applications the subteam would deploy the model package (in java as a jar file) (including sokme configuration files) and providing it under a specific version to the subteam which develops the rest of the application. they would now implement some integration and mapping facilities against the interface of the included model package. The other team (the model team) could begin to improve or broaden the model in parallel without touching any other part of the application. they dont even have the possibility to touch and modify other parts since their project is independent from the rest. however, as soon as they could publish a newer and better version of the model project they will buzz the dev team and they will include the newer version to the classpath. thats it.

in php such things are possible, of course, but you must force yourself to do so. you must force yourself not to choose the line of the least resistence. forcing yourself is easy. forcing 20 developers in a team is almost unpossible. that is my biggest problem with php.</description>
		<content:encoded><![CDATA[<p>Hi. I do like the discussion about this everlasting topic. For sure &#8230; sometimes it&#8217;s quite funny how taliban people think and fight for their favorite languages, platforms, styles (&#8230 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> but at the end of the day discussions, even if they are somehow unobjective, improve the world&#8230; </p>
<p>however&#8230;</p>
<p>I want to add one point. a point which is important for me as a teamleader and project manager in software development: PHP, in my eyes, becomes more unuseful the larger the project (not measured in lines of code but in aspects an application or enterprise modell has) and the amount of people working together in a team on that project. php does not support effective teamwork&#8230;. interface design without defined return and parameter types makes it hard to reuse and extend things such as it is possible in&#8230; say&#8230; java. the boundaries of java itself and the boundaries of interfaces and the usage of modules in java reduce the risk to fail and thus the time trying to integrate with other parts of an application.<br />
other missing features of php are effective namespaces and packaging (deployment) of applications. one example: you are working on an enterprise project which works with direct database interaction using some kind of DBConnection Class. Good enough - PHP is a nice language to abstracterize things that way. But over time the database model becomes more complex and demands a business layer which maps the database structure to an object oriented model. here comes the problem. in other languages you easily would develop this layer independently from the rest of the application in a single project. as soon as the model works in some test applications the subteam would deploy the model package (in java as a jar file) (including sokme configuration files) and providing it under a specific version to the subteam which develops the rest of the application. they would now implement some integration and mapping facilities against the interface of the included model package. The other team (the model team) could begin to improve or broaden the model in parallel without touching any other part of the application. they dont even have the possibility to touch and modify other parts since their project is independent from the rest. however, as soon as they could publish a newer and better version of the model project they will buzz the dev team and they will include the newer version to the classpath. thats it.</p>
<p>in php such things are possible, of course, but you must force yourself to do so. you must force yourself not to choose the line of the least resistence. forcing yourself is easy. forcing 20 developers in a team is almost unpossible. that is my biggest problem with php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on duck operator by Jon Lebensold &#187; Blog Archive &#187; PHP: What is Duck Typing?</title>
		<link>http://php100.wordpress.com/2008/06/05/duck-operator/#comment-13177</link>
		<dc:creator>Jon Lebensold &#187; Blog Archive &#187; PHP: What is Duck Typing?</dc:creator>
		<pubDate>Sat, 14 Jun 2008 04:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://php100.wordpress.com/?p=45#comment-13177</guid>
		<description>[...] I was going through my rss feeds, I read that Stas published an article about duck typing in PHP. I noticed that some of the posts response showed a lack of understanding between the difference of [...]</description>
		<content:encoded><![CDATA[<p>[...] I was going through my rss feeds, I read that Stas published an article about duck typing in PHP. I noticed that some of the posts response showed a lack of understanding between the difference of [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ICU+PHP=love by Posin India</title>
		<link>http://php100.wordpress.com/2007/12/12/icuphplove/#comment-13176</link>
		<dc:creator>Posin India</dc:creator>
		<pubDate>Tue, 10 Jun 2008 15:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://php100.wordpress.com/2007/12/12/icuphplove/#comment-13176</guid>
		<description>I hope PHP 6.0 will come with more PECL inbuilt.</description>
		<content:encoded><![CDATA[<p>I hope PHP 6.0 will come with more PECL inbuilt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on duck operator by robinf</title>
		<link>http://php100.wordpress.com/2008/06/05/duck-operator/#comment-13175</link>
		<dc:creator>robinf</dc:creator>
		<pubDate>Mon, 09 Jun 2008 15:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://php100.wordpress.com/?p=45#comment-13175</guid>
		<description>One interesting difference compared to formal declaration (explicit interface implementation) is that the duck operator would presumably take visibility into account. I assume this, since you talk about implementing it with is_callable(), which iirc does visibility checks. 

So, for example, in a context where MooingGrassEater's moo() method is visible, it would be considered to "implement" Cow. But from a different context where moo() is not visible, it wouldn't be considered to "implement" Cow.

Would only the method name be used for comparison? What about differing parameter pass semantics (value vs ref), type hints, default values etc...?</description>
		<content:encoded><![CDATA[<p>One interesting difference compared to formal declaration (explicit interface implementation) is that the duck operator would presumably take visibility into account. I assume this, since you talk about implementing it with is_callable(), which iirc does visibility checks. </p>
<p>So, for example, in a context where MooingGrassEater&#8217;s moo() method is visible, it would be considered to &#8220;implement&#8221; Cow. But from a different context where moo() is not visible, it wouldn&#8217;t be considered to &#8220;implement&#8221; Cow.</p>
<p>Would only the method name be used for comparison? What about differing parameter pass semantics (value vs ref), type hints, default values etc&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on the secret of PHP by Suresh Kumar</title>
		<link>http://php100.wordpress.com/2008/05/21/secret-of-php/#comment-13174</link>
		<dc:creator>Suresh Kumar</dc:creator>
		<pubDate>Sat, 07 Jun 2008 20:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://php100.wordpress.com/?p=44#comment-13174</guid>
		<description>PHP will rule the web Platform. its sure.

But only drawbacks are "PHP is not using in big enterprise"</description>
		<content:encoded><![CDATA[<p>PHP will rule the web Platform. its sure.</p>
<p>But only drawbacks are &#8220;PHP is not using in big enterprise&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on duck operator by Stas</title>
		<link>http://php100.wordpress.com/2008/06/05/duck-operator/#comment-13173</link>
		<dc:creator>Stas</dc:creator>
		<pubDate>Fri, 06 Jun 2008 19:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://php100.wordpress.com/?p=45#comment-13173</guid>
		<description>Thierry Stiegler, NiKo - that's for formal declarations. I was talking about informal contract implementation.

Alan - optional interfaces would be a nice idea too, but different one :)</description>
		<content:encoded><![CDATA[<p>Thierry Stiegler, NiKo - that&#8217;s for formal declarations. I was talking about informal contract implementation.</p>
<p>Alan - optional interfaces would be a nice idea too, but different one <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on duck operator by Stas</title>
		<link>http://php100.wordpress.com/2008/06/05/duck-operator/#comment-13172</link>
		<dc:creator>Stas</dc:creator>
		<pubDate>Fri, 06 Jun 2008 19:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://php100.wordpress.com/?p=45#comment-13172</guid>
		<description>Gosha, I think you need to chill a bit. And if for some reason, incomprehensible to me, you are interested in my national roots - I'm Jewish. The comments here are moderated, thanks to our friends the spammers. Unfortunately, I have some things of little importance to do besides the blog - like work, personal life, etc. - so approving comments sometimes could take forever, like a day. Sorry about that. 

Now with that out of the way, to the exception thing. You can do that easily with __call, but I see no reason why - throwing exceptions left in right is not really the style I'd like.</description>
		<content:encoded><![CDATA[<p>Gosha, I think you need to chill a bit. And if for some reason, incomprehensible to me, you are interested in my national roots - I&#8217;m Jewish. The comments here are moderated, thanks to our friends the spammers. Unfortunately, I have some things of little importance to do besides the blog - like work, personal life, etc. - so approving comments sometimes could take forever, like a day. Sorry about that. </p>
<p>Now with that out of the way, to the exception thing. You can do that easily with __call, but I see no reason why - throwing exceptions left in right is not really the style I&#8217;d like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on duck operator by NiKo</title>
		<link>http://php100.wordpress.com/2008/06/05/duck-operator/#comment-13171</link>
		<dc:creator>NiKo</dc:creator>
		<pubDate>Fri, 06 Jun 2008 15:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://php100.wordpress.com/?p=45#comment-13171</guid>
		<description>You can do this to

&#60;?php
interface Mooer {
  function moo();
}

class Cow implements Mooer {
  function moo() {
    echo 'moo!';
  }
}

var_dump(new Cow() instanceof Mooer); // bool(true)</description>
		<content:encoded><![CDATA[<p>You can do this to</p>
<p>&lt;?php<br />
interface Mooer {<br />
  function moo();<br />
}</p>
<p>class Cow implements Mooer {<br />
  function moo() {<br />
    echo &#8216;moo!&#8217;;<br />
  }<br />
}</p>
<p>var_dump(new Cow() instanceof Mooer); // bool(true)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on duck operator by Thierry Stiegler</title>
		<link>http://php100.wordpress.com/2008/06/05/duck-operator/#comment-13157</link>
		<dc:creator>Thierry Stiegler</dc:creator>
		<pubDate>Fri, 06 Jun 2008 02:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://php100.wordpress.com/?p=45#comment-13157</guid>
		<description>Maybe this link will help you : http://php.net/manual/en/function.class-implements.php

I never try this function, cause i have migrate to python now. But I will be happy if u do some kind of return :)</description>
		<content:encoded><![CDATA[<p>Maybe this link will help you : <a href="http://php.net/manual/en/function.class-implements.php" rel="nofollow">http://php.net/manual/en/function.class-implements.php</a></p>
<p>I never try this function, cause i have migrate to python now. But I will be happy if u do some kind of return <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
