function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
solmyr721.3895262524876921E12solmyr721.3895262524876921E12 

Does 'foce.com' have 'Aspect Oriented Programming'?

When using force.com technologies (e.g. Apex or the point-and-click app logic),  is there support for Aspect Oriented Programming?
For example I'm looking for an easy way to inject my custom code before/after  major business functions, in order to measure how long they took. Or in order to audit them.

Thanks
Maros SitkoMaros Sitko
Pobably you should look at the triggers.  A trigger is a piece of code that executes before or after records of a particular type are inserted, updated, or deleted from the Force.com platform database. http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_qs_trigger.htm


Maros Sitko
Salesforce Developer
www.cassacloud.com (http://www.cassacloud.com" target="_blank)
GunnarGunnar
You will have to write something on your own.
When I have to time something, I have to start and stop the timers.
If I need to store these times, I save first to a variable, then save the variable.