Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
examples [2009/10/16 18:59] aspectscript |
examples [2009/10/19 15:08] aspectscript |
====== Examples ====== | ====== Examples ====== |
| |
In this page can be found all the examples presented int the "AspectScript: Expressive Aspects for the Web" paper. | In this page you can find all the examples presented in the "AspectScript: Expressive Aspects for the Web" paper. |
In these examples, we implement a number of extra functionalities to [[http://www.facebook.com|Facebook]], a representative Web-2.0 application. For each case, an aspect-oriented solution with AspectScript enables a modular and straightforward specification. | In these examples, we implement a number of extra functionalities to [[http://www.facebook.com|Facebook]], a representative Web-2.0 application. For each case, an aspect-oriented solution with AspectScript enables a modular and straightforward specification. |
| |
* [[examples/example1|A Simple Example]]. This simple example illustrates how to define and deploy a simple aspect. | * [[examples/example1|A Simple Example]]. This simple example illustrates how to define and deploy a simple aspect. |
* [[http://www.dcc.uchile.cl/~pleger/js/aspectscript/paperExamples/example5/| Matching Users]]. An example about how to match simple sequences using higher-order pointcuts in AspectScript. | * [[examples/example2-1|Pointcuts: Matching Sequences]]. An example about how to match simple sequences using higher-order pointcuts in AspectScript. |
* Access control with Dynamic Deployment and Scoping Strategies: | * [[Variation|]]: Exposing the time as context information. |
* [[http://www.dcc.uchile.cl/~pleger/js/aspectscript/paperExamples/example3-1/| Avoiding Malicious Actions using dynamic deployment of aspects]]. An example of dynamic deployment. | * [[examples/example3|Giving Life to Javascript Values]]. An example about how to introducing basic support for reactive values. |
* [[http://www.dcc.uchile.cl/~pleger/js/aspectscript/paperExamples/example3-2/| Avoiding Malicious Actions using Scoping Strategies]]. An examplo of dynamic deployment refined with scoping strategies. | * [[examples/example4|Access Control with Scoping Strategies]]. An example about how to introducing basic support for access control. |
* [[http://www.dcc.uchile.cl/~pleger/js/aspectscript/paperExamples/example4/| Updating Messages Using Reactive Objects]]. Rective features in JavaScript using AspectScript. | * [[examples/example5|Identifying New Kinds of Events]]. An example about how to identify custom events in code. |
* [[http://www.dcc.uchile.cl/~pleger/js/aspectscript/paperExamples/example2/| Blocking Users]]. An example about higher-order aspects in AspectScript. | |