<?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: Making use of Magento getSingleton method</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/making-use-of-magento-getsingleton-method/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/making-use-of-magento-getsingleton-method/</link>
	<description>Inchoo - E-Commerce &#38; Magento discussion</description>
	<pubDate>Tue, 06 Jan 2009 05:04:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Branko Ajzele</title>
		<link>http://inchoo.net/ecommerce/magento/making-use-of-magento-getsingleton-method/comment-page-1/#comment-259</link>
		<dc:creator>Branko Ajzele</dc:creator>
		<pubDate>Thu, 23 Oct 2008 06:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=170#comment-259</guid>
		<description>"You are clearly uninformed of what true OOP is"

I come from .NET (C#) and I belive I have a pretty good understanding of what OOP is. PHP 5 lacks great amount of features as a language to even compare to C#. However, it still functions as OOP language. Hopefuly version 6 will be better. 

I agree the code is... hmmm... would not say bad, but disconnected. There is simply to many of the M, V and C-s around. What makes it catastrophic is the full lack of good comments in the code and the general lack of good (aka MS SDK) documentation. System this big needs good IDE, since I can't imagine any "expert" memorizing all the method names therefore working without code completion features ans so on. Not to mention the debugging which is a big no with PHP.

About the MVC arhitecture itself... I'm not a big fan of it. I find the ASP.Net and it's code behind files plus the App.config files to do the job just fine. However even ASP.Net has a MVC version nowdays, so I'm guessing there's something to it.

About the Magento itself... I'm currently loosing my mind with it :) I'm always for learning new things, digging into something ans stuff like that but Magento makes the simplest things so hard (stuff like Module development). All I know for now is that one should be Zend Framework master to get thing rolling with Magento.

Hopefully no hard feelings for the things said here :) 

I really appreciate other people views on things, cause no one is perfect. Plus we all sometimes change our views on some topics over time. I entered Magento waters with great enthusiasm, therefore I said a lot of good stuff about it. For the last two weeks I'm breaking my neck over it. So, as some of you might notice I paused my blogging for a while :)

All the best men. p.s. Feel free to put some comments on my site as well, http://activecodeline.com.

Thank you.</description>
		<content:encoded><![CDATA[<p>&#8220;You are clearly uninformed of what true OOP is&#8221;</p>
<p>I come from .NET (C#) and I belive I have a pretty good understanding of what OOP is. PHP 5 lacks great amount of features as a language to even compare to C#. However, it still functions as OOP language. Hopefuly version 6 will be better. </p>
<p>I agree the code is&#8230; hmmm&#8230; would not say bad, but disconnected. There is simply to many of the M, V and C-s around. What makes it catastrophic is the full lack of good comments in the code and the general lack of good (aka MS SDK) documentation. System this big needs good IDE, since I can&#8217;t imagine any &#8220;expert&#8221; memorizing all the method names therefore working without code completion features ans so on. Not to mention the debugging which is a big no with PHP.</p>
<p>About the MVC arhitecture itself&#8230; I&#8217;m not a big fan of it. I find the ASP.Net and it&#8217;s code behind files plus the App.config files to do the job just fine. However even ASP.Net has a MVC version nowdays, so I&#8217;m guessing there&#8217;s something to it.</p>
<p>About the Magento itself&#8230; I&#8217;m currently loosing my mind with it <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I&#8217;m always for learning new things, digging into something ans stuff like that but Magento makes the simplest things so hard (stuff like Module development). All I know for now is that one should be Zend Framework master to get thing rolling with Magento.</p>
<p>Hopefully no hard feelings for the things said here <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I really appreciate other people views on things, cause no one is perfect. Plus we all sometimes change our views on some topics over time. I entered Magento waters with great enthusiasm, therefore I said a lot of good stuff about it. For the last two weeks I&#8217;m breaking my neck over it. So, as some of you might notice I paused my blogging for a while <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>All the best men. p.s. Feel free to put some comments on my site as well, <a href="http://activecodeline.com" rel="nofollow">http://activecodeline.com</a>.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joy</title>
		<link>http://inchoo.net/ecommerce/magento/making-use-of-magento-getsingleton-method/comment-page-1/#comment-256</link>
		<dc:creator>Joy</dc:creator>
		<pubDate>Thu, 23 Oct 2008 02:44:29 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=170#comment-256</guid>
		<description>&lt;blockquote&gt;I have said it before, and I’m saying it again; Magento is a great peace of full OOP power of PHP. It’s architecture is something not yet widely seen in CMS solutions.&lt;/blockquote&gt;
You are clearly uninformed of what true OOP is. Hopefully we will not see more CMS solutions with this architecture because it is truly a terrible way to do things.

There is nothing Object-Oriented about Magento. It is built on the Zend framework, so a lot of the mess is caused by that. This awful code is what I call "object-based". Because the data and the methods to act on it are not totally encapsulated, you need kludgy functions like getSingleton and getData, so you can operate on some container of some values. You shouldn't need to do that in an object-oriented system. This generates a lot of code that is very similar and hard to debug and hard to maintain and has performance issues as well.

Sorry, I have nothing good to say about Magento, except that the concept is nice. The implementation is atrocious.  It reminds me of the code I was working on for the U.S. Postal system Point-of-Sale. It was so bad I  changed jobs. This code is very similar.  Awful!</description>
		<content:encoded><![CDATA[<blockquote><p>I have said it before, and I’m saying it again; Magento is a great peace of full OOP power of PHP. It’s architecture is something not yet widely seen in CMS solutions.</p></blockquote>
<p>You are clearly uninformed of what true OOP is. Hopefully we will not see more CMS solutions with this architecture because it is truly a terrible way to do things.</p>
<p>There is nothing Object-Oriented about Magento. It is built on the Zend framework, so a lot of the mess is caused by that. This awful code is what I call &#8220;object-based&#8221;. Because the data and the methods to act on it are not totally encapsulated, you need kludgy functions like getSingleton and getData, so you can operate on some container of some values. You shouldn&#8217;t need to do that in an object-oriented system. This generates a lot of code that is very similar and hard to debug and hard to maintain and has performance issues as well.</p>
<p>Sorry, I have nothing good to say about Magento, except that the concept is nice. The implementation is atrocious.  It reminds me of the code I was working on for the U.S. Postal system Point-of-Sale. It was so bad I  changed jobs. This code is very similar.  Awful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pointlessjon</title>
		<link>http://inchoo.net/ecommerce/magento/making-use-of-magento-getsingleton-method/comment-page-1/#comment-221</link>
		<dc:creator>Pointlessjon</dc:creator>
		<pubDate>Mon, 13 Oct 2008 18:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=170#comment-221</guid>
		<description>excellent. I can definitely see this helping when you're calling on data that has already been instantiated. Whereas other times, say, you want to get a different listing of products from a category than the one magento will already be loading, you would then instantiate an entirely new object utilizing the other methods. thanks again for sharing the infos Branko</description>
		<content:encoded><![CDATA[<p>excellent. I can definitely see this helping when you&#8217;re calling on data that has already been instantiated. Whereas other times, say, you want to get a different listing of products from a category than the one magento will already be loading, you would then instantiate an entirely new object utilizing the other methods. thanks again for sharing the infos Branko</p>
]]></content:encoded>
	</item>
</channel>
</rss>
