<?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: OOP in PHP from a .NET OOP Perspective</title>
	<atom:link href="http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/</link>
	<description>Internet Marketing, Website Promotion and Blogging Advice</description>
	<lastBuildDate>Wed, 17 Mar 2010 06:00:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mike</title>
		<link>http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/comment-page-1/#comment-125503</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 28 Jan 2009 19:20:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/#comment-125503</guid>
		<description>&quot;...if your static method isn’t fast enough, you may lock out another process because the prior one isn’t finished yet&quot;

I simply do not agree with this assessment. I&#039;ve been using static _methods_ / classes for domain services for quite a while with absolutely zero impact on the multithreading ability of the class (nANT verified).  Now, if a static method is accessing some shared resource and locking access to it, then yes, that will definitely hold up other callers (by design).  But this is not a problem unique to static methods by themselves.

Now, static _data_ on the other hand, is a different story, requiring all the goodness of locking/synchronization/etc., and also having all the pains associated.

Also, me thinks the Zend folks may also take issue with your assessment of how _SESSION works in PHP:

&quot;The $_SESSION variable is an array of information and I am certain it serializes that array into the browser header for you and unserializes it back out&quot;

The actual values in the _SESSION array are kept on the server-side; only the session ID is sent as a cookie (PHPSessID).  Sending the actual data in a header would be a terrible security risk.</description>
		<content:encoded><![CDATA[<p>&#8220;&#8230;if your static method isn’t fast enough, you may lock out another process because the prior one isn’t finished yet&#8221;</p>
<p>I simply do not agree with this assessment. I&#8217;ve been using static _methods_ / classes for domain services for quite a while with absolutely zero impact on the multithreading ability of the class (nANT verified).  Now, if a static method is accessing some shared resource and locking access to it, then yes, that will definitely hold up other callers (by design).  But this is not a problem unique to static methods by themselves.</p>
<p>Now, static _data_ on the other hand, is a different story, requiring all the goodness of locking/synchronization/etc., and also having all the pains associated.</p>
<p>Also, me thinks the Zend folks may also take issue with your assessment of how _SESSION works in PHP:</p>
<p>&#8220;The $_SESSION variable is an array of information and I am certain it serializes that array into the browser header for you and unserializes it back out&#8221;</p>
<p>The actual values in the _SESSION array are kept on the server-side; only the session ID is sent as a cookie (PHPSessID).  Sending the actual data in a header would be a terrible security risk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Best of Search-This 2007</title>
		<link>http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/comment-page-1/#comment-31714</link>
		<dc:creator>Best of Search-This 2007</dc:creator>
		<pubDate>Mon, 31 Dec 2007 16:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/#comment-31714</guid>
		<description>[...] OOP in PHP from a .NET OOP Perspective [...]</description>
		<content:encoded><![CDATA[<p>[...] OOP in PHP from a .NET OOP Perspective [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Mansen</title>
		<link>http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/comment-page-1/#comment-6247</link>
		<dc:creator>Peter Mansen</dc:creator>
		<pubDate>Sat, 26 May 2007 09:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/#comment-6247</guid>
		<description>What do you think about UML, PHP and OOP?
The UML can help you to write easy the OOP classes.</description>
		<content:encoded><![CDATA[<p>What do you think about UML, PHP and OOP?<br />
The UML can help you to write easy the OOP classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zoid</title>
		<link>http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/comment-page-1/#comment-5626</link>
		<dc:creator>zoid</dc:creator>
		<pubDate>Fri, 18 May 2007 08:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/#comment-5626</guid>
		<description>Another great read, i was having a paradox between PHP and .NET and finally switched to .NET.</description>
		<content:encoded><![CDATA[<p>Another great read, i was having a paradox between PHP and .NET and finally switched to .NET.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/comment-page-1/#comment-5359</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Sun, 13 May 2007 22:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/#comment-5359</guid>
		<description>Hi, i just stumbled across your posting and I read your profile too. You sound like a cool guy, I have also wanted to be a software developer. I have just always wanted to code and as of late last year I got a job programming in PHP and I know it, but I still feel like I don&#039;t really know it. Basically, I&#039;m happy to see you posting on such things and I can&#039;t wait to read more...Thx again</description>
		<content:encoded><![CDATA[<p>Hi, i just stumbled across your posting and I read your profile too. You sound like a cool guy, I have also wanted to be a software developer. I have just always wanted to code and as of late last year I got a job programming in PHP and I know it, but I still feel like I don&#8217;t really know it. Basically, I&#8217;m happy to see you posting on such things and I can&#8217;t wait to read more&#8230;Thx again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OOP in PHP from a .NET OOP Perspective: The Database Class</title>
		<link>http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/comment-page-1/#comment-331</link>
		<dc:creator>OOP in PHP from a .NET OOP Perspective: The Database Class</dc:creator>
		<pubDate>Wed, 07 Feb 2007 01:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/#comment-331</guid>
		<description>[...] Home &#187; OOP in PHP from a .NET OOP Perspective: The Database Class    February 6th, 2007        For those just joining, it is suggested that you begin with OOP in PHP from a .NET OOP Perspective as this is Part 3 of a series. This time I am going to talk about the Database class, as every project now-a-days typically stores their information in a database. A good database class can save you time and memory in retrieving results. It should be able to cache previous queries, to recall them later, and it should clear out the results from memory when they are no longer needed.  As with previous articles, it should be stated that the below code will only work using PHP 5. In this article, I am going to post my code first and then give a break down of the important segments. Again, this is my take on solving a problem for my applications and I am sure there are other approaches, but this is the one I am most please with. PLAIN TEXTPHP: class Database [...]</description>
		<content:encoded><![CDATA[<p>[...] Home &raquo; OOP in PHP from a .NET OOP Perspective: The Database Class    February 6th, 2007        For those just joining, it is suggested that you begin with OOP in PHP from a .NET OOP Perspective as this is Part 3 of a series. This time I am going to talk about the Database class, as every project now-a-days typically stores their information in a database. A good database class can save you time and memory in retrieving results. It should be able to cache previous queries, to recall them later, and it should clear out the results from memory when they are no longer needed.  As with previous articles, it should be stated that the below code will only work using PHP 5. In this article, I am going to post my code first and then give a break down of the important segments. Again, this is my take on solving a problem for my applications and I am sure there are other approaches, but this is the one I am most please with. PLAIN TEXTPHP: class Database [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Introducing Matt Wilkin - aka cpradio</title>
		<link>http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/comment-page-1/#comment-183</link>
		<dc:creator>Introducing Matt Wilkin - aka cpradio</dc:creator>
		<pubDate>Wed, 24 Jan 2007 04:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/01/15/oop-in-php-from-a-net-oop-perspective/#comment-183</guid>
		<description>[...] Look for Matt&#8217;s, or rather cpradio&#8217;s first article this Monday titled: &#8220;OOP in PHP from a .NET OOP Perspective&#8221; - should be a good read. [...]</description>
		<content:encoded><![CDATA[<p>[...] Look for Matt&#8217;s, or rather cpradio&#8217;s first article this Monday titled: &#8220;OOP in PHP from a .NET OOP Perspective&#8221; &#8211; should be a good read. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
