Re: when to use component-based design vs. stayign with traditional OOP



Sorry, I've not followed the complete discussion.

I saw a presentation by Gregor Kiczales on Aspect-Oriented
programming.

-------------------------------------------

http://en.wikipedia.org/wiki/Aspect-oriented_programming

Aspect-oriented programming (AOP) is a programming paradigm that
increases modularity by allowing the separation of cross-cutting
concerns, forming a basis for aspect-oriented software development.

Cross-cutting concerns: Even though most classes in an OO model will
perform a single, specific function, they often share common,
secondary requirements with other classes. For example, we may want to
add logging to classes within the data-access layer and also to
classes in the UI layer whenever a thread enters or exits a method.
Even though the primary functionality of each class is very different,
the code needed to perform the secondary functionality is often
identical.

-------------------------------------------

AOP helps with logging and security which are archetypal cross-cutting
concerns.

AOP'ers are trying to find uses for AOP outside of these areas.

Kiczales argues that OOP suffers from a limitation called the tyranny
of the dominant decomposition.


So, I'd reccomend component based design if the tyranny of the
dominant decomposition is getting to be too challenging.

--
Regards,
Casey
.



Relevant Pages

  • Vancouver : Gregor Kiczales at Meetup.
    ... to invite Gregor Kiczales to speak. ... doing work with Aspect Oriented Programming. ... He plans to talk mostly about AOP and AspectJ, but if i can get a few ...
    (comp.lang.lisp)
  • ILC 2003: some impressions
    ... remarking that Scheme continuations have indefinite extent while in Lisp ... The idea of programming languages in general and Scheme in particular as ... presentation on Aspect Oriented Programming (AOP) was also fascinating. ... instantiation of AOP for Java) is in debugging. ...
    (comp.lang.lisp)
  • Re: Raise of hands (virtually): How many here use AOP?
    ... very nice features of development environments like Eclipse that do NOT ... mis-uses of AOP try to change the GOAL of ... I become reluctant to throw exceptions in places where they might be ... am reduced to the level of a programming novice who determines if code ...
    (comp.lang.java.programmer)
  • Re: Vancouver : Gregor Kiczales at Meetup.
    ... drewc wrote: ... > doing work with Aspect Oriented Programming (AspectJ). ... > He plans to talk mostly about AOP and AspectJ, but if i can get a few ...
    (comp.lang.lisp)
  • Re: Raise of hands (virtually): How many here use AOP?
    ... thoughts on AOP. ... Other standard Java ... out and learn CLOS or something because a lot of people start writing ... intriguing-ly adds another dimension to programming and has to go ...
    (comp.lang.java.programmer)

Loading