<?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 Maurizio Conventi</title>
	<atom:link href="http://www.maurizioconventi.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maurizioconventi.com</link>
	<description>interaction and development</description>
	<lastBuildDate>Thu, 19 May 2011 09:48:53 +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 How to create plugins for the Moodgets’ Grid by No sortable columns in Moodgets &#124; Maurizio Conventi</title>
		<link>http://www.maurizioconventi.com/2010/10/21/how-to-create-plugins-for-the-moodgets-grid/#comment-99</link>
		<dc:creator>No sortable columns in Moodgets &#124; Maurizio Conventi</dc:creator>
		<pubDate>Thu, 19 May 2011 09:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=47#comment-99</guid>
		<description>[...] you need to create or modify features for moodgets I suggest to create a new plugin (see this post ) and, if possible to start from an existing [...]</description>
		<content:encoded><![CDATA[<p>[...] you need to create or modify features for moodgets I suggest to create a new plugin (see this post ) and, if possible to start from an existing [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About using css classes with javascript by Lonnie</title>
		<link>http://www.maurizioconventi.com/2011/05/09/about-using-css-classes-with-javascript/#comment-98</link>
		<dc:creator>Lonnie</dc:creator>
		<pubDate>Wed, 18 May 2011 21:19:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=79#comment-98</guid>
		<description>I actually learned about a majority of this, but never the less, I still thought it turned out helpful. Good post!</description>
		<content:encoded><![CDATA[<p>I actually learned about a majority of this, but never the less, I still thought it turned out helpful. Good post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About using css classes with javascript by admin</title>
		<link>http://www.maurizioconventi.com/2011/05/09/about-using-css-classes-with-javascript/#comment-97</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 16 May 2011 10:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=79#comment-97</guid>
		<description>Hi Brain, thank you for the suggestion ;)

Now there are three buttons!! Twitter, Facebook Like and Facebook Send :D

Maurizio</description>
		<content:encoded><![CDATA[<p>Hi Brain, thank you for the suggestion <img src='http://www.maurizioconventi.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Now there are three buttons!! Twitter, Facebook Like and Facebook Send <img src='http://www.maurizioconventi.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Maurizio</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About using css classes with javascript by admin</title>
		<link>http://www.maurizioconventi.com/2011/05/09/about-using-css-classes-with-javascript/#comment-96</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 16 May 2011 10:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=79#comment-96</guid>
		<description>Ciao Davide and thank you for your comment. 

Yes, I used a really simple case to explain the approach that I prefer. I am sure that there are more complex examples where the advantages to use that approach.

If you want, could be useful have a link or an other example suggested by you.

Thank you to have read my post,
Maurizio</description>
		<content:encoded><![CDATA[<p>Ciao Davide and thank you for your comment. </p>
<p>Yes, I used a really simple case to explain the approach that I prefer. I am sure that there are more complex examples where the advantages to use that approach.</p>
<p>If you want, could be useful have a link or an other example suggested by you.</p>
<p>Thank you to have read my post,<br />
Maurizio</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About using css classes with javascript by Brain</title>
		<link>http://www.maurizioconventi.com/2011/05/09/about-using-css-classes-with-javascript/#comment-95</link>
		<dc:creator>Brain</dc:creator>
		<pubDate>Sat, 14 May 2011 18:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=79#comment-95</guid>
		<description>Where is the facebook like link ?</description>
		<content:encoded><![CDATA[<p>Where is the facebook like link ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About using css classes with javascript by Davide</title>
		<link>http://www.maurizioconventi.com/2011/05/09/about-using-css-classes-with-javascript/#comment-94</link>
		<dc:creator>Davide</dc:creator>
		<pubDate>Thu, 12 May 2011 06:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=79#comment-94</guid>
		<description>Though in general I agree with your approach (but I&#039;d also follow the advice of using better, semantical, names for your classes) I think the point of using a &quot;class&quot; instead operating directly on the style in this specific example is fairly weak.
You are still showing and hiding an element, so using a class instead of working on the style attribute of the element doesn&#039;t make that much difference at all; Moreover, you are already doing a &#039;semantic&#039; operation (hiding and showing an element); abstracting away the &quot;implementation&quot; of this operation (into a css class) could lend to make your code less meaningful (example ? you toggle a &quot;visibility&quot; class and then decide that your css implementatio just add/remove a border.. you end up with a semantic problem).

Your example of why using a class is better than fiddling with the attribute is unfair: When you apply/remove the class you take advantage of jQuery &quot;toggle&quot; function, but when you show or hide the element you decide to play directly with the DOM, when you could simply call:

$(&#039;myElement&#039;).toggle();  

I generally agree with you, but in specific situations like this one (showing or hiding something) I personally see no problems in working with the style directly.

Thanks anyway for your valuable opinion on that. Striving for a semantical approach to Javascript/CSS coding is always the best approach to Front End Development.</description>
		<content:encoded><![CDATA[<p>Though in general I agree with your approach (but I&#8217;d also follow the advice of using better, semantical, names for your classes) I think the point of using a &#8220;class&#8221; instead operating directly on the style in this specific example is fairly weak.<br />
You are still showing and hiding an element, so using a class instead of working on the style attribute of the element doesn&#8217;t make that much difference at all; Moreover, you are already doing a &#8216;semantic&#8217; operation (hiding and showing an element); abstracting away the &#8220;implementation&#8221; of this operation (into a css class) could lend to make your code less meaningful (example ? you toggle a &#8220;visibility&#8221; class and then decide that your css implementatio just add/remove a border.. you end up with a semantic problem).</p>
<p>Your example of why using a class is better than fiddling with the attribute is unfair: When you apply/remove the class you take advantage of jQuery &#8220;toggle&#8221; function, but when you show or hide the element you decide to play directly with the DOM, when you could simply call:</p>
<p>$(&#8216;myElement&#8217;).toggle();  </p>
<p>I generally agree with you, but in specific situations like this one (showing or hiding something) I personally see no problems in working with the style directly.</p>
<p>Thanks anyway for your valuable opinion on that. Striving for a semantical approach to Javascript/CSS coding is always the best approach to Front End Development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About using css classes with javascript by Riccardo</title>
		<link>http://www.maurizioconventi.com/2011/05/09/about-using-css-classes-with-javascript/#comment-92</link>
		<dc:creator>Riccardo</dc:creator>
		<pubDate>Mon, 09 May 2011 12:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=79#comment-92</guid>
		<description>Hiya, 
I like your approach, though I think you should you another class name instead of &quot;hidden&quot; cause, it could get confused with the &quot;hidden&quot; in &quot;visibility: hidden&quot;, and at a quick glance could be not so readable.

R</description>
		<content:encoded><![CDATA[<p>Hiya,<br />
I like your approach, though I think you should you another class name instead of &#8220;hidden&#8221; cause, it could get confused with the &#8220;hidden&#8221; in &#8220;visibility: hidden&#8221;, and at a quick glance could be not so readable.</p>
<p>R</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to create plugins for the Moodgets’ Grid by admin</title>
		<link>http://www.maurizioconventi.com/2010/10/21/how-to-create-plugins-for-the-moodgets-grid/#comment-87</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 30 Apr 2011 09:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=47#comment-87</guid>
		<description>Yes, you can find me at http://www.linkedin.com/in/maurizioconventi

Thank you,
Maurizio</description>
		<content:encoded><![CDATA[<p>Yes, you can find me at <a href="http://www.linkedin.com/in/maurizioconventi" rel="nofollow">http://www.linkedin.com/in/maurizioconventi</a></p>
<p>Thank you,<br />
Maurizio</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to create plugins for the Moodgets’ Grid by How much house can I afford</title>
		<link>http://www.maurizioconventi.com/2010/10/21/how-to-create-plugins-for-the-moodgets-grid/#comment-84</link>
		<dc:creator>How much house can I afford</dc:creator>
		<pubDate>Sun, 17 Apr 2011 22:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=47#comment-84</guid>
		<description>are you on linkedin?</description>
		<content:encoded><![CDATA[<p>are you on linkedin?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Is it time for a new project? by click here</title>
		<link>http://www.maurizioconventi.com/2011/03/09/is-it-time-for-a-new-project/#comment-71</link>
		<dc:creator>click here</dc:creator>
		<pubDate>Thu, 17 Mar 2011 22:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.maurizioconventi.com/?p=55#comment-71</guid>
		<description>it seems quite trivial to expect</description>
		<content:encoded><![CDATA[<p>it seems quite trivial to expect</p>
]]></content:encoded>
	</item>
</channel>
</rss>

