CodeCity

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

CodeCity

Richard Wettel-3
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:

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:

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:

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:

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

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
Reply | Threaded
Open this post in threaded view
|

Re: CodeCity

Tudor Girba-2
Beautiful! (I have been spoiled by being exposed to this for quite some time now :))

Thanks, Ricky. This is a valuable addition.

Cheers,
Doru




On Tue, Mar 11, 2014 at 2:29 PM, Richard Wettel <[hidden email]> wrote:
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:

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:

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:

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:

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

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



--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: CodeCity

Sven Van Caekenberghe-2
In reply to this post by Richard Wettel-3
Wow !

On 11 Mar 2014, at 14:29, Richard Wettel <[hidden email]> wrote:

> 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:
>
> <CodeCity-Argo.png>
>
> 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:
>
> <CodeCity-ArgoScript.png>
>
>
> 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).
>
> <PharoScreenshot.5.png>
>
> 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


Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] CodeCity

pharo4Stef@free.fr
In reply to this post by Richard Wettel-3
Hi richie

This is really cool. 
Do you use NBOpenGL?
I have another question why Moose is a prerequisite?
We have ring and Smalltalk classes and methods objects so it would be nice to have an API that lets people use different kinds of objects 
as city.

Stef



On 11 Mar 2014, at 14:29, Richard Wettel <[hidden email]> wrote:

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:

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:

<CodeCity-Argo.png>

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:

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:

<CodeCity-ArgoScript.png>


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

<PharoScreenshot.5.png>

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
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

Reply | Threaded
Open this post in threaded view
|

Re: CodeCity

Richard Wettel-3
In reply to this post by Tudor Girba-2
You’re welcome, Doru.
I’m happy to give something back to the moose and pharo communities.

Ricky



On 11 Mar 2014, at 14:35, Tudor Girba <[hidden email]> wrote:

Beautiful! (I have been spoiled by being exposed to this for quite some time now :))

Thanks, Ricky. This is a valuable addition.

Cheers,
Doru




On Tue, Mar 11, 2014 at 2:29 PM, Richard Wettel <[hidden email]> wrote:
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:

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:

<CodeCity-Argo.png>

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:

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:

<CodeCity-ArgoScript.png>


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

<PharoScreenshot.5.png>

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



--

"Every thing has its own flow"

Reply | Threaded
Open this post in threaded view
|

Re: CodeCity

Stephan Eggermont-3
In reply to this post by Richard Wettel-3
Nice job, Ricky!

Playground is great for showing off CodeCity examples.
I found the browse source menu on an example.
I had expected to have a source view tab for that.

Stephan


Reply | Threaded
Open this post in threaded view
|

Re: CodeCity

Richard Wettel-3
Thanks, Stephan.
Tudor and I were talking about this some days ago. The actual goal would be to be able to see both the script/source code and the visualization at the same time.

Cheers
Ricky


On Wed, Mar 12, 2014 at 10:55 AM, Stephan Eggermont <[hidden email]> wrote:
Nice job, Ricky!

Playground is great for showing off CodeCity examples.
I found the browse source menu on an example.
I had expected to have a source view tab for that.

Stephan



Reply | Threaded
Open this post in threaded view
|

Re: CodeCity

Tudor Girba-2
The example support in GTInspector is just a prototype. More will come there.

Doru


On Wed, Mar 12, 2014 at 11:26 AM, Richard Wettel <[hidden email]> wrote:
Thanks, Stephan.
Tudor and I were talking about this some days ago. The actual goal would be to be able to see both the script/source code and the visualization at the same time.

Cheers
Ricky


On Wed, Mar 12, 2014 at 10:55 AM, Stephan Eggermont <[hidden email]> wrote:
Nice job, Ricky!

Playground is great for showing off CodeCity examples.
I found the browse source menu on an example.
I had expected to have a source view tab for that.

Stephan






--

"Every thing has its own flow"