Tag Archive 'api'

As part of the Patternity effort, I spent some time creating a simple Java API to generate UML diagrams programmatically from Java, in SVG format.
This small API called for now Patternity Graphic is working and available here: patternitygraphic_src as a source Zip (alpha release of course).
It can render small class diagrams with hierarchic, flow and [...]

I have experimented an approach that considers every design pattern as the recursive composition of smaller patterns. This led to a prototype tool to illustrate its benefits by generating design-level documentation of annotated source code.
Eat your own dog food
The source code of this tool itself was used as the code base to apply the tool [...]

It’s a complete mistake to think design patterns could be written in a library for later reuse, it just does not work !
In theory, first, design patterns are expected to be tailored to each particular situation. What you reuse is the abstract solution, not the code itself.
And it is true, whatever the design pattern [...]