This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
examples:example5 [2009/10/20 02:00] aspectscript |
examples:example5 [2009/11/06 20:43] (current) aspectscript |
| ====== Identifying New Kinds of Events ====== |
| |
In Facebook, a user can interact with applications, events, messages, and many other elements. When a user interacts with one of these elements, a description is added to the user wall (i.e. a single page overview of recent user activity). Wall reporting is clearly a crosscutting concern; it can be modularized using an aspect. | In Facebook, a user can interact with applications, events, messages, and many other elements. When a user interacts with one of these elements, a description is added to the user wall (i.e. a single page overview of recent user activity). Wall reporting is clearly a crosscutting concern; it can be modularized using an aspect. |
| |
| |
The implementation follows: | The implementation follows: |
| |
| |
<html> | <html> |
<iframe src="/aspectscript/external/aspectscript/paperExamples/example5" width="830" height="350"></iframe> | <link href="/aspectscript/external/aspectscript/paperExamples/style.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" language="javascript" src="/aspectscript/external/aspectscript/paperExamples/lib.js"> </script> |
| <iframe id="example" src="/aspectscript/external/aspectscript/paperExamples/example5" width="810" height="370"></iframe> |
| <iframe id="code" style="display:none" src="/aspectscript/external/aspectscript/paperExamples/example5/script.js" width="810" height="370"></iframe> |
| <a id="button" class="button" onclick="toggle('code','example')"> <span>Toggle between the code and example </span></a> |
</html> | </html> |
| |