This is an old revision of the document!
Examples
In this page can be found all the examples presented int the “AspectScript: Expressive Aspects for the Web” paper. In these examples, we implement a number of extra functionalities to Facebook, a representative Web-2.0 application. For each case, an aspect-oriented solution with AspectScript enables a modular and straightforward specification.
- A Simple Example. This simple example illustrates how to define and deploy a simple aspect.
- Pointcuts: Matching Sequences. An example about how to match simple sequences using higher-order pointcuts in AspectScript.
- variation
- Giving Life to Javascript Values. An example about how to introducing basic support for reactive values.
* Access Control with Scoping Strategies. An example about how to introducing basic support for access control.
here
- Access control with Dynamic Deployment and Scoping Strategies:
- Avoiding Malicious Actions using dynamic deployment of aspects. An example of dynamic deployment.
- Avoiding Malicious Actions using Scoping Strategies. An examplo of dynamic deployment refined with scoping strategies.
- Updating Messages Using Reactive Objects. Rective features in JavaScript using AspectScript.
- Blocking Users. An example about higher-order aspects in AspectScript.