1
vote
1answer
69 views

Cost Estimation For Aspect Oriented Programming AOP

There are many estimation techniques, such as counting lines of code, Function Points, Object Points, etc. However, my next project is using Aspect Oriented Programming. Are there any special ...
0
votes
2answers
109 views

API - How to handle scope based functionality?

TLDR; Where and possibly how should I implement scope based logic in the example code? I have got a ASP.NET Web Api. The Api uses OData (on top off REST) for data endpoints and OAuth 2.0 ...
0
votes
1answer
103 views

How should I handle measurement logging in my Discrete Event Simulation engine?

I'm attempting to build a Discrete Event Simulation library by following this tutorial and fleshing it out. How should I handle logging metrics in my Discrete Event Simulation engine? If you don't ...
7
votes
2answers
273 views

How to hide AOP implementation dependency without breaking encapsulation?

I have the concept of a SlowLoading thing: public interface SlowLoading { boolean hasLoaded(); } I also have a component MyComponent: public interface myComponent{ void doSomething(); } My ...
1
vote
2answers
191 views

Is it correct to say that CSS is AOP? [closed]

With selectors being a counterpart to pointcuts, and rules pretty much doing the same as advices do, - can we say that cascading style sheets are adhering to aspect-oriented paradigm ? And a corollary ...
1
vote
1answer
416 views

Can AspectJ or AOP in general be used to test exception handling?

I'm reading a book's chapter ("Controlled Exception Test" in "Testing Object-Oriented Testing") about testing exception handling in a running system (not at unit level). The conclusion is that it is ...
10
votes
3answers
581 views

Byte code weaving vs Lisp macros

I have been reading about the libraries people have written for languages like Java and C# that make use of byte code weaving to do things like intercept function calls, insert logging code, etc. I ...
7
votes
1answer
484 views

Loop fusion example using aspect-oriented framework

I had recently read a paper 'Aspect-Oriented Programming' by Gregor Kiczales and others, and found there the loop fusion example. Here is a definition of the loop fusion from the paper …the loop ...
2
votes
2answers
300 views

Progressbar patterns (Eclipse)

I've struggled quite a bit with Eclipse and progress-monitors to try to have good progressbars which report useful progress information to the user. Inevitably the code gets cluttered with lots of ...
0
votes
1answer
626 views

Spring AOP advice order

In Spring AOP, I can add an aspect at the following locations before a method executes (using MethodBeforeAdvice) after a method executes (using AfterReturningAdvice) around a method (both before ...
3
votes
1answer
623 views

Is Ruby on Rails' Active Record an example of Aspect-Oriented Programming?

From Clean Code, about Cross-Cutting Concerns: Note that concerns like persistence tend to cut across the natural object boundaries of a domain. You want to persist all your objects using ...
3
votes
3answers
254 views

if it's been designed correctly is AOP useful? [duplicate]

Possible Duplicate: Are certain problems solved more elegantly with AOP? I don't know much about aspect oriented programming (AOP) but I looked at a few examples and it seems to me more of ...
4
votes
1answer
553 views

PHP Aspect Oriented Design

This is a continuation of this Code Review question. What was taken away from that post, and other aspect oriented design is it is hard to debug. To counter that, I implemented the ability to turn ...
10
votes
1answer
2k views

What are the differences between aspect-oriented, subject-oriented, and role-oriented programming?

I know there are many papers describing these three paradigms but I'm looking for a schematic explanation. There are a few very good descriptions of aspect-oriented programming on here so I'm asking ...
5
votes
3answers
270 views

Is AOP widely used in the enterprise sector

I'm curious to here the opinions of people working in large enterprise organisation whether AOP is widely (or even modestly) used when they are developing? Is AOP something which is inherent in the ...
9
votes
4answers
605 views

Is exception handling a cross-cutting concern?

I don't see much of a difference between the concerns of exception handling and logging in that both are cross cutting concerns. What do you think? Shouldn't it be handled separately on its own rather ...
16
votes
1answer
1k views

AOP concepts explained for the dummy

I'm learning Aspect Oriented Programming and have isues understanding concepts. I'm not a bad programmer but my english is bad and can't understand fully the definitions. Can someone explain AOP ...
8
votes
3answers
565 views

Is aspect-oriented programming a misnomer?

From everything I have learned about "Aspect-Oriented Programming" or "Aspect-Oriented Software Development," labeling it as a programming paradigm or methodology appears to be inaccurate. From what ...
17
votes
6answers
6k views

Aspect Oriented Programming: When to start using a framework?

I just watched this talk by Greg Young warning people to KISS: Keep It Simple Stupid. One of the things he suggested is that to do aspect-oriented programming, one does not need a framework. He ...
7
votes
1answer
670 views

Enforcement of returning non-null

We are implementing some web services, and need to ensure that some of our methods always return non-null values. We've investigated two ways of doing this: Using code contracts, and returning the ...
3
votes
2answers
485 views

are f# computational expressions a form of aspect oriented programming?

are monads, or more specifically f# computational expressions, a form of aspect oriented programming? Update: f# workflow builders have methods other than bind and unit. They have hooks for lots of ...
2
votes
3answers
310 views

How does one think about object oriented design and Aspect oriented Design for solution

I have worked on few projects in which both AOP and Object oriented paradigm were used. But, AOP usage was limited to logging only. I think AOP is a much more powerful technique. My question, to those ...
0
votes
2answers
67 views

Marking services for secure handling; Annotation or inheritance?

We have a lot of services, some that demand some security, some that don't. We want an easy way of telling, in code, if a service will be secure or not. What would be the better way: Annotation or ...
3
votes
3answers
263 views

The Underlying Value of Aspect-Oriented Programming

I recently got into PostSharp, an AOP tool for weaving in code. I've been finding a lot of resistance with other developers over giving up writing code to perform the tasks the weaving was meant to ...
5
votes
2answers
244 views

Aspect oriented programming and implicitness

Lets suppose that I have a class which represent an image and has a number of methods. class Image { circle(x,y,radius,color); square(x,y,w,h,color); floodfill(x,y,color) clear(); } ...
15
votes
3answers
873 views

Are certain problems solved more elegantly with AOP?

I've come across the idea of Aspect Oriented Programming, and I have some concerns with it. The basic idea seems to be that we want to take cross-cutting concerns which aren't well modularized using ...
10
votes
6answers
1k views

What alternatives are there for cross cutting concerns other than aspect oriented programming?

Aspect oriented programming promises to deal with cross cutting concerns, but I'm not completely sold on it yet. Have there been any other attempts to deal with this problem?