<?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 for justjs.org</title>
	<atom:link href="http://justjs.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://justjs.org</link>
	<description>Object Oriented Javascript : OOP in javascript, Polymorphisim, Inheritance, Delegation, ... that looks like Java</description>
	<lastBuildDate>Tue, 15 Nov 2011 00:34:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Static Methods in Javascript by AerenCarter</title>
		<link>http://justjs.org/js-oop/static-methods-in-javascript/comment-page-1/#comment-267</link>
		<dc:creator>AerenCarter</dc:creator>
		<pubDate>Tue, 15 Nov 2011 00:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://justjs.org/?p=49#comment-267</guid>
		<description>Hey $author , I dont usually comment on these things but your post, Static Methods in Javascript &#124; justjs.org , was really well written and I enoyed reading it. Keep it up!!</description>
		<content:encoded><![CDATA[<p>Hey $author , I dont usually comment on these things but your post, Static Methods in Javascript | justjs.org , was really well written and I enoyed reading it. Keep it up!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Object Oriented Javascript by Blaine</title>
		<link>http://justjs.org/object-oriented-javascript/comment-page-1/#comment-27</link>
		<dc:creator>Blaine</dc:creator>
		<pubDate>Thu, 08 Jul 2010 00:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://justjs.org/?page_id=9#comment-27</guid>
		<description>Wow, with your long OO history, I see that you haven&#039;t coded Java regularly.  Knowing that you &quot;extend&quot; classes and that you initialize arrays with {} is pre-SCJP-level knowledge.</description>
		<content:encoded><![CDATA[<p>Wow, with your long OO history, I see that you haven&#8217;t coded Java regularly.  Knowing that you &#8220;extend&#8221; classes and that you initialize arrays with {} is pre-SCJP-level knowledge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DnD Drag-N-Drop Javascript simplified by Jeff</title>
		<link>http://justjs.org/dnd-drag-n-drop-javascript-simplified/comment-page-1/#comment-7</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 06 Jan 2010 13:26:32 +0000</pubDate>
		<guid isPermaLink="false">http://justjs.org/?page_id=14#comment-7</guid>
		<description>If you are using scriptaculous just set the scroll option when you create the Draggable to the container that you want to scroll.</description>
		<content:encoded><![CDATA[<p>If you are using scriptaculous just set the scroll option when you create the Draggable to the container that you want to scroll.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DnD Drag-N-Drop Javascript simplified by Thiruppathi</title>
		<link>http://justjs.org/dnd-drag-n-drop-javascript-simplified/comment-page-1/#comment-6</link>
		<dc:creator>Thiruppathi</dc:creator>
		<pubDate>Tue, 01 Dec 2009 10:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://justjs.org/?page_id=14#comment-6</guid>
		<description>Hi
 i need to automative scroll div when drag and drop table cell using javascript.</description>
		<content:encoded><![CDATA[<p>Hi<br />
 i need to automative scroll div when drag and drop table cell using javascript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Object Oriented Programming (OOP) Primer by Jeff</title>
		<link>http://justjs.org/js-oop/object-oriented-programming-oop-primer/comment-page-1/#comment-10</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 10 Mar 2009 02:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://justjs.org/?p=66#comment-10</guid>
		<description>This site is about developing Object Oriented JavaScript, but you can apply the same techniques to php as well.

As far as your global function, why not create a utility class and stick all of your global functions in it.  If you have more information about the user then you could create a user object to that has a getId function and others as needed.</description>
		<content:encoded><![CDATA[<p>This site is about developing Object Oriented JavaScript, but you can apply the same techniques to php as well.</p>
<p>As far as your global function, why not create a utility class and stick all of your global functions in it.  If you have more information about the user then you could create a user object to that has a getId function and others as needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Object Oriented Programming (OOP) Primer by Mike</title>
		<link>http://justjs.org/js-oop/object-oriented-programming-oop-primer/comment-page-1/#comment-9</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 03 Mar 2009 19:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://justjs.org/?p=66#comment-9</guid>
		<description>I&#039;m designing a site using OO (in PHP5).  The problem is that some actions, like getting the current &#039;user ID&#039; (of the user currently logged in) take more than one line of code as I have a &#039;login session&#039; object.

The problem is that a global function which just returns the &#039;user ID&#039; as an integer, e.g. &#039;get_current_user_id()&#039; would make it easier, but this isn&#039;t OO.

I&#039;m not sure if a 100% pure OO approach is ALWAYS sensible.  I do try and minimise global functions (I only have warning() and error() functions at the moment, but what to do about really common functions such as the &#039;get_current_user_id&#039; requirement?

Any ideas? :-)</description>
		<content:encoded><![CDATA[<p>I&#8217;m designing a site using OO (in PHP5).  The problem is that some actions, like getting the current &#8216;user ID&#8217; (of the user currently logged in) take more than one line of code as I have a &#8216;login session&#8217; object.</p>
<p>The problem is that a global function which just returns the &#8216;user ID&#8217; as an integer, e.g. &#8216;get_current_user_id()&#8217; would make it easier, but this isn&#8217;t OO.</p>
<p>I&#8217;m not sure if a 100% pure OO approach is ALWAYS sensible.  I do try and minimise global functions (I only have warning() and error() functions at the moment, but what to do about really common functions such as the &#8216;get_current_user_id&#8217; requirement?</p>
<p>Any ideas? <img src='http://justjs.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

