Re: [Pharo-dev] Tools for automatic recognition of Design Patterns

2015-02-01 Thread Hernán Morales Durand
Hi Nevena,

I don't know of such tool for Smalltalk. But if you feel inspired to build
something you could check : DPB: A Benchmark for Design Pattern Detection
Tools which is a good review.
Cheers,

Hernán

2015-01-30 13:07 GMT-03:00 Nevena Milojkovic nev...@iam.unibe.ch:

 Hi,

 Can anyone suggest me tool for automatic design patterns detection in
 Smalltalk?

 Cheers,
 Nevena Milojkovic


 
 Nevena Milojkovic
 Research assistant
 Software Composition Group
 Institute of Computer Science and Applied Mathematics
 University of Bern

 email: nev...@iam.unibe.ch
 office phone: +41 (0)31 511 7639
 webpage: http://scg.unibe.ch/staff/Milojkovic









Re: [Pharo-dev] Tools for automatic recognition of Design Patterns

2015-01-31 Thread stepharo

Roel Wuyts PhD was exactly this topic and it was in 1998.
This is why he built SOUL.

Le 31/1/15 13:05, Atlas a écrit :

stepharo wrote

Now if you are interested in a topic that is somehow related: one of the
key challenge for today software development is how do we document in an
executable way
frameworks so that during the next 10 ot 15 years they can be maintained
an extended even when the main developers left.

It's not a question of how, but when, really.

There are many answers to this question and one of them is
Chimera: https://www.ics.uci.edu/~taylor/ics228/chimera.pdf

http://forum.world.st/file/n4802920/chimera.png

There are no perfect solutions of course, but a lot could be done to improve
the current situation, for example, executable flow charts (Grail is a great
example) would be also a great start. Visual arrangement of concepts such as
classes and annotations (in the form of mind maps) would be also great.

The concepts are there, they just have to be rediscovered and integrated
into Pharo. What your system needs is a hypermedia system and the liveliness
would make it a perfect candidate.

I have written about future directions, but nobody seemed interested which
was quite a surprise to me.





--
View this message in context: 
http://forum.world.st/Tools-for-automatic-recognition-of-Design-Patterns-tp4802777p4802920.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.








Re: [Pharo-dev] Tools for automatic recognition of Design Patterns

2015-01-31 Thread stepharo

Hi nevena

You probably know that Design patterns are about intent, description and 
names.
Their implementation is flexible and do not have to follow the book so I 
doubt that such a tool

can exist in any language.
Now if you look in my paper Software Architecture Extraction survey you 
will find a little section

with pointers on such research which was really at the top in 1996-2000.
Roel Wuyts and VUB logic meta programming used SOUL (a prolog unifying 
AST) to identify some DesignPatterns.
You can contact andy Kellens and Johan Brichau to get a version of Soul, 
I'm sure that they have it on their disc somewhere.
There was a version for Squeak and VisualWorks. It would be nice to get 
it running again and I'm sure that they had a lot of tests.


Now if you are interested in a topic that is somehow related: one of the 
key challenge for today
software development is how do we document in an executable way 
frameworks so that during the next 10 ot 15 years they can be maintained 
an extended even when the main developers left.

Architecture
Design P
Extension point
We have many excellent frameworks (Seaside, Athens, Fuel, ...) and we 
are asking ourselves the questions how to ensure their futures.


stef



Hi,

Can anyone suggest me tool for automatic design patterns detection in Smalltalk?

Cheers,
Nevena Milojkovic



Nevena Milojkovic
Research assistant
Software Composition Group
Institute of Computer Science and Applied Mathematics
University of Bern

email: nev...@iam.unibe.ch
office phone: +41 (0)31 511 7639
webpage: http://scg.unibe.ch/staff/Milojkovic












Re: [Pharo-dev] Tools for automatic recognition of Design Patterns

2015-01-31 Thread Atlas
stepharo wrote
 Now if you are interested in a topic that is somehow related: one of the 
 key challenge for today software development is how do we document in an
 executable way 
 frameworks so that during the next 10 ot 15 years they can be maintained 
 an extended even when the main developers left.

It's not a question of how, but when, really.

There are many answers to this question and one of them is
Chimera: https://www.ics.uci.edu/~taylor/ics228/chimera.pdf

http://forum.world.st/file/n4802920/chimera.png 

There are no perfect solutions of course, but a lot could be done to improve
the current situation, for example, executable flow charts (Grail is a great
example) would be also a great start. Visual arrangement of concepts such as
classes and annotations (in the form of mind maps) would be also great.

The concepts are there, they just have to be rediscovered and integrated
into Pharo. What your system needs is a hypermedia system and the liveliness
would make it a perfect candidate.

I have written about future directions, but nobody seemed interested which
was quite a surprise to me.





--
View this message in context: 
http://forum.world.st/Tools-for-automatic-recognition-of-Design-Patterns-tp4802777p4802920.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



[Pharo-dev] Tools for automatic recognition of Design Patterns

2015-01-30 Thread Nevena Milojkovic
Hi,

Can anyone suggest me tool for automatic design patterns detection in Smalltalk?

Cheers,
Nevena Milojkovic 



Nevena Milojkovic
Research assistant
Software Composition Group 
Institute of Computer Science and Applied Mathematics 
University of Bern 

email: nev...@iam.unibe.ch 
office phone: +41 (0)31 511 7639  
webpage: http://scg.unibe.ch/staff/Milojkovic 








Re: [Pharo-dev] Tools for automatic recognition of Design Patterns

2015-01-30 Thread Richard Sargent
Nevena Milojkovic wrote
 Can anyone suggest me tool for automatic design patterns detection in
 Smalltalk?

The rewrite tool in the Refactoring Browser has the potential, but I
strongly suspect the problem is intractable.

By the way, the rewrite tool is powerful but difficult to figure out and
use, even when you can find the documentation for it.




--
View this message in context: 
http://forum.world.st/Tools-for-automatic-recognition-of-Design-Patterns-tp4802777p4802789.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] Tools for automatic recognition of Design Patterns

2015-01-30 Thread Atlas
Sounds exciting, I'd be also happy to know if there is any tool I might have
missed.

You might want to take a look at the ASTInterpreter and write the analyses
yourselves, if that is an option.  As a matter of fact, I have some
experience in doing program analysis and design pattern detection, but
that's a long time ago. If you need any help, please let me know.





--
View this message in context: 
http://forum.world.st/Tools-for-automatic-recognition-of-Design-Patterns-tp4802777p4802793.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.