You can specify the actions you want to perform on a Thing in its .goo configuration file. For example the pm.goo file is for Perl module Things. Here is an excerpt from pm.goo:
# show a profile of a Perl module
[P]rofile Goo::Thing::pm::Profiler.pm
The left hand column is the action (i.e., [P]rofile) and the right hand column specifies the action handler (i.e., Goo::Thing::pm::Profiler.pm). I want The Goo to work with lots of different Things but also lots of different action handlers. Including action handlers written in another language (e.g., Python, Ruby, Java etc). So this has got to work too:
# show a profile of a Python module
[P]rofile Profiler.py
So I'm taking the opportunity to move the foundation stones of the Goo while I still can. Then I can set it on its way.
0 comments:
Post a Comment