[Pharo-users] CodeCity

Richard Wettel wettel at gmail.com
Tue Mar 11 09:29:34 EDT 2014


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.zip

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20140311/2f273ee0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PharoScreenshot.5.png
Type: image/png
Size: 142794 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20140311/2f273ee0/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CodeCity-Argo.png
Type: image/png
Size: 127361 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20140311/2f273ee0/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CodeCity-ArgoScript.png
Type: image/png
Size: 172368 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20140311/2f273ee0/attachment-0005.png>


More information about the Pharo-users mailing list