[Subversion] / PEAK  

Revision 279


Jump to revision:
Previous Next
Author: pje
Date: Sun Jun 3 17:36:21 2001 UTC (22 years, 10 months ago)

Log Message:

YAGR.3 - Y.A.Great Refactoring, Part 3: Aspects die, Components are Born

TW.Aspects is now TW.Components, and bears little resemblance to its former
self.  Everything is now organized along the "build components to
specifications" metaphor (with the slightly incongruous notions of
Catalyst, Recipe, and Template also present).  The interfaces and docs have
been thoroughly revamped (although still far from complete, IMHO), along
with the test suites where applicable.

Some highlights of this revision:

* Recipe('package.module.object','package.module:object.subobject') --
  recipes can be used to build stuff easily, with dynamically imported
  specifications as their "ingredients".

* Ref('some.name.within.the.specification.tree') -- simple delayed binding
  operator, usable as a base class in a specification, or as a

* Eval('expression') -- was FeatureExpression(), now is less verbose.

* Template(name,bases,dict) -- replaces AspectObject (or _Aspect in the 0.1
  preview release) as the class for programmatically creating
  specifications.

* Catalyst -- base class for things which transform specifications when
  used as a mixin to the specification.

* Singletons now work even when a component is reused as a specification.


Several minor bugs were also stomped.

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/src/peak/metamodels/uml/Model.py modified X   (diff to previous)
PEAK/src/peak/metamodels/xmi/Reading.py modified X   (diff to previous)
PEAK/src/peak/tests/__init__.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help