Dear all
After the short preview at the last Moose Dojo, I am happy to let you know
that the first version of the brand new CodeCity is out.
CodeCity is a 3D visualization engineased on a city metaphor, which enables
us to depict software systems as cities. If you want to know more about
this approach, have a look here:
http://www.inf.usi.ch/phd/wettel/codecity.html
I have now implemented the basic functionality of CodeCity in Pharo and
integrated it with Moose. Here is a code city of ArgoUML in the new
CodeCity:
[image: Inline image 1]
To install CodeCity, you need to run this code in a Moose image (setting
Moose as a prerequisite is on my TODO list):
Gofer new smalltalkhubUser: 'RichardWettel' project: 'CodeCity';
configuration; load. (Smalltalk at: #ConfigurationOfCodeCity)
loadDevelopment
You can also get the latest successful build from:
http://ci.inria.fr/moose/job/codecity/lastSuccessfulBuild/artifact/codecity…
The new CodeCity does not provide a configuration UI, but it relies on
scripting. A script to obtain a city visualization of a Moose model is
shown here:
[image: Inline image 4]
A good way to get familiar with the scripting API of CodeCity are the
examples. You can open CCBuilder in the new workspace (Playground) and you
can browse the examples (the "e.g." tab).
[image: Inline image 2]
While CodeCity was initially aimed at software systems only, there is
nothing that stops us to use it at visualizing any kind of data! One
example was the visualization of the data taken from a database
(population, city, countries, continents) presented at the Moose Dojo. I'm
sure Doru will be pleased to show you more of that.
In conclusion, I hope you'll enjoy playing/working with CodeCity as much as
I have been enjoying re-implementing it in the last few months. Playing
with CodeCity integrated in the Moose workflows is pure fun. But don' take
my word for it, just give it a try!
Cheers
Ricky