<?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: Aspect Oriented Programming in JavaScript</title>
	<atom:link href="http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/</link>
	<description>It&#039;s not rocket science</description>
	<lastBuildDate>Sun, 06 May 2012 06:53:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Andrés Serrón</title>
		<link>http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/comment-page-1/#comment-1449</link>
		<dc:creator>Andrés Serrón</dc:creator>
		<pubDate>Thu, 21 Jul 2011 17:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.wordpress.com/?p=18#comment-1449</guid>
		<description>Of course, take the example of myObservable.addListener, this method is added to the Object class in the proto chain. 
This way framework add event listening to all other classes.
In order to add aspect tools you can define Aspect classes and add joint tools to the base classes, got the idea?

The best would be myObject.myMethod.createJoint(cfg), perhaps you know how to use reflection here to get the method name, if it so then the task is done.</description>
		<content:encoded><![CDATA[<p>Of course, take the example of myObservable.addListener, this method is added to the Object class in the proto chain.<br />
This way framework add event listening to all other classes.<br />
In order to add aspect tools you can define Aspect classes and add joint tools to the base classes, got the idea?</p>
<p>The best would be myObject.myMethod.createJoint(cfg), perhaps you know how to use reflection here to get the method name, if it so then the task is done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/comment-page-1/#comment-1448</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Sat, 16 Jul 2011 09:11:01 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.wordpress.com/?p=18#comment-1448</guid>
		<description>Oh, definitely - in practice, this is the kind of thing I&#039;d want to add while I&#039;m testing, rather than something I&#039;d use in production, especially if the chain of aspects is larger than one or two functions. Even where performance is not an issue, Javascript suffers a lot from it&#039;s flexibility when you&#039;re working at scale, and these things make it VERY difficult to keep track of what&#039;s affecting where - it can quickly become hell to maintain.

&quot;I found that to create joints you can also add this feature as Observable adds the event handling capabilities&quot; - Could you explain this further please?

Cheers! :)</description>
		<content:encoded><![CDATA[<p>Oh, definitely &#8211; in practice, this is the kind of thing I&#8217;d want to add while I&#8217;m testing, rather than something I&#8217;d use in production, especially if the chain of aspects is larger than one or two functions. Even where performance is not an issue, Javascript suffers a lot from it&#8217;s flexibility when you&#8217;re working at scale, and these things make it VERY difficult to keep track of what&#8217;s affecting where &#8211; it can quickly become hell to maintain.</p>
<p>&#8220;I found that to create joints you can also add this feature as Observable adds the event handling capabilities&#8221; &#8211; Could you explain this further please?</p>
<p>Cheers! <img src='http://karlagius.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrés Serrón</title>
		<link>http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/comment-page-1/#comment-1447</link>
		<dc:creator>Andrés Serrón</dc:creator>
		<pubDate>Fri, 15 Jul 2011 22:16:30 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.wordpress.com/?p=18#comment-1447</guid>
		<description>I was looking for answers regarding this matter.

What i found is in javascript we can&#039;t have programming tools at language level to define aspect, joint, crosses.

But by definition they are implementable, what i found is that you need a second pass to define those points, in a second pass you can pin any method.

Still events in most frameworks are handled by functions, with delegated scope this means that the concept of Event Handler is also missed, but we still work with events in more or less clear way.

I found that to create joints you can also add this feature as Observable adds the event handling capabilities, but remember adding this features will add weight to the already existent classes and implementation could be less indicated than the performance gain in the design.

cheers.</description>
		<content:encoded><![CDATA[<p>I was looking for answers regarding this matter.</p>
<p>What i found is in javascript we can&#8217;t have programming tools at language level to define aspect, joint, crosses.</p>
<p>But by definition they are implementable, what i found is that you need a second pass to define those points, in a second pass you can pin any method.</p>
<p>Still events in most frameworks are handled by functions, with delegated scope this means that the concept of Event Handler is also missed, but we still work with events in more or less clear way.</p>
<p>I found that to create joints you can also add this feature as Observable adds the event handling capabilities, but remember adding this features will add weight to the already existent classes and implementation could be less indicated than the performance gain in the design.</p>
<p>cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/comment-page-1/#comment-1446</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Fri, 15 Jul 2011 08:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.wordpress.com/?p=18#comment-1446</guid>
		<description>Thank you for your comment and the tip, Andrés :) Will try it as soon as I have a minute!</description>
		<content:encoded><![CDATA[<p>Thank you for your comment and the tip, Andrés <img src='http://karlagius.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Will try it as soon as I have a minute!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrés Serrón</title>
		<link>http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/comment-page-1/#comment-1445</link>
		<dc:creator>Andrés Serrón</dc:creator>
		<pubDate>Fri, 15 Jul 2011 06:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.wordpress.com/?p=18#comment-1445</guid>
		<description>Hello, 

I&#039;m glad you posted this document.

Please, consider this for your scope problem.

You can delegate the scope 2 times, you can operate in also in both aspect and object so the implementation is really at our reach.

Keep in touch, nice work.</description>
		<content:encoded><![CDATA[<p>Hello, </p>
<p>I&#8217;m glad you posted this document.</p>
<p>Please, consider this for your scope problem.</p>
<p>You can delegate the scope 2 times, you can operate in also in both aspect and object so the implementation is really at our reach.</p>
<p>Keep in touch, nice work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karlagius</title>
		<link>http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/comment-page-1/#comment-32</link>
		<dc:creator>karlagius</dc:creator>
		<pubDate>Thu, 12 Jun 2008 11:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.wordpress.com/?p=18#comment-32</guid>
		<description>Thanks for pointing it out, Andrea. What I should have said is that the arguments passed can be read from the arguments object *like* reading an array. Thanks for commenting :)</description>
		<content:encoded><![CDATA[<p>Thanks for pointing it out, Andrea. What I should have said is that the arguments passed can be read from the arguments object *like* reading an array. Thanks for commenting <img src='http://karlagius.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Giammarchi</title>
		<link>http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/comment-page-1/#comment-34</link>
		<dc:creator>Andrea Giammarchi</dc:creator>
		<pubDate>Thu, 12 Jun 2008 08:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.wordpress.com/?p=18#comment-34</guid>
		<description>Interesting, but please never say again that in JavaScript 3rd Edition, the arguments object is an array :D</description>
		<content:encoded><![CDATA[<p>Interesting, but please never say again that in JavaScript 3rd Edition, the arguments object is an array <img src='http://karlagius.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Link Bundle - June 11 &#124; franzone.com</title>
		<link>http://karlagius.com/2008/04/25/aspect-oriented-programming-in-javascript/comment-page-1/#comment-33</link>
		<dc:creator>Link Bundle - June 11 &#124; franzone.com</dc:creator>
		<pubDate>Wed, 11 Jun 2008 11:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.wordpress.com/?p=18#comment-33</guid>
		<description>[...] Aspect Oriented Programming in JavaScript Here is a really cool discussion (and some downloadable code) on using aspect oriented programming in JavaScript. [...]</description>
		<content:encoded><![CDATA[<p>[...] Aspect Oriented Programming in JavaScript Here is a really cool discussion (and some downloadable code) on using aspect oriented programming in JavaScript. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

