RTBuilder>>build?

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

RTBuilder>>build?

abergel
Hi!

Doru, would it make sense to have RTBuilder>>build returns the view?
Like that, there is no need of the last line in:

-=-=-=-=-=-=-=-=
| b |
b := RTGraphBuilder new.

b build.
b view
-=-=-=-=-=-=-=-=

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RTBuilder>>build?

Tudor Girba-2
Hi,

Interesting. But, I think it should return itself because this is what you are working with.

What you want is just an extension to GTInspector. You have it now in the latest GT-Inspector.

But, you should give it a try to extend the inspector for your own needs :). For example, let's play with what would be needed for debugging a view. What do you say?

Doru


On Mon, Apr 21, 2014 at 8:48 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

Doru, would it make sense to have RTBuilder>>build returns the view?
Like that, there is no need of the last line in:

-=-=-=-=-=-=-=-=
| b |
b := RTGraphBuilder new.

b build.
b view
-=-=-=-=-=-=-=-=

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RTBuilder>>build?

abergel
> But, you should give it a try to extend the inspector for your own needs :). For example, let's play with what would be needed for debugging a view. What do you say?

The inspector could be aware of the builder.
This is something what has to be well oiled to support nice demos. We will work on this on some point. FYI, we have extended the GTInspector to support different visualization of the tallies. We will announce it soon.

Alexandre

>
>
> On Mon, Apr 21, 2014 at 8:48 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> Doru, would it make sense to have RTBuilder>>build returns the view?
> Like that, there is no need of the last line in:
>
> -=-=-=-=-=-=-=-=
> | b |
> b := RTGraphBuilder new.
> …
> b build.
> b view
> -=-=-=-=-=-=-=-=
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RTBuilder>>build?

Juraj Kubelka-5
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: RTBuilder>>build?

Tudor Girba-2
In reply to this post by abergel
Hi,



On Mon, Apr 21, 2014 at 11:24 PM, Alexandre Bergel <[hidden email]> wrote:
> But, you should give it a try to extend the inspector for your own needs :). For example, let's play with what would be needed for debugging a view. What do you say?

The inspector could be aware of the builder.

What do you mean? Once you have a builder object, it is the object that decides what the inspector should do. So, from that perspective, the is aware of the builder. That is why I said that build should return the builder. And that is why now you have a simple extension that lets you view the rendering for RTGraphBuilder. Is that what you meant?
 
This is something what has to be well oiled to support nice demos. We will work on this on some point. FYI, we have extended the GTInspector to support different visualization of the tallies. We will announce it soon.

Great.

Doru
 

Alexandre

>
>
> On Mon, Apr 21, 2014 at 8:48 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> Doru, would it make sense to have RTBuilder>>build returns the view?
> Like that, there is no need of the last line in:
>
> -=-=-=-=-=-=-=-=
> | b |
> b := RTGraphBuilder new.
> …
> b build.
> b view
> -=-=-=-=-=-=-=-=
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RTBuilder>>build?

abergel
In reply to this post by Juraj Kubelka-5
Maybe. The builder infrastructure is still very young. We need to build more builders (!) to understand what the proper interface should be…

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Apr 21, 2014, at 8:11 PM, Juraj Kubelka <[hidden email]> wrote:

> I have an impression that we could create class AbstractBuilder or ProtoBuilder where we could have all the methods which all builders should understand. For example addElementOn:, addElementsOn:, view, view:, etc. I think it could be useful documentation for someone who wants to create new builder.
>
> It could be also useful if someone decide to compose builders.
>
> What do you thing? Does it have sense?
> Cheers,
> Jura
>
>
> El 21-04-2014, a las 18:24, Alexandre Bergel <[hidden email]> escribió:
>
>>> But, you should give it a try to extend the inspector for your own needs :). For example, let's play with what would be needed for debugging a view. What do you say?
>>
>> The inspector could be aware of the builder.
>> This is something what has to be well oiled to support nice demos. We will work on this on some point. FYI, we have extended the GTInspector to support different visualization of the tallies. We will announce it soon.
>>
>> Alexandre
>>
>>>
>>>
>>> On Mon, Apr 21, 2014 at 8:48 PM, Alexandre Bergel <[hidden email]> wrote:
>>> Hi!
>>>
>>> Doru, would it make sense to have RTBuilder>>build returns the view?
>>> Like that, there is no need of the last line in:
>>>
>>> -=-=-=-=-=-=-=-=
>>> | b |
>>> b := RTGraphBuilder new.
>>> …
>>> b build.
>>> b view
>>> -=-=-=-=-=-=-=-=
>>>
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Every thing has its own flow"
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RTBuilder>>build?

Tudor Girba-2
Hi,

Ideally, the only thing that should be shared is an object that accumulates like a stream. You should be able to pass the view from builder to builder and it should ideally work.

Right now, the view plays that role. However, the view is not (yet) scope-able. For example, imagine that I would like to build a graph using the graph builder and each node should display a chart using GraphET. For this to work, we would need to pass to GraphET an object that can construct the view only inside (or related to) a node. At the moment I cannot really do that.

Doru


On Tue, Apr 22, 2014 at 6:59 PM, Alexandre Bergel <[hidden email]> wrote:
Maybe. The builder infrastructure is still very young. We need to build more builders (!) to understand what the proper interface should be…

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Apr 21, 2014, at 8:11 PM, Juraj Kubelka <[hidden email]> wrote:

> I have an impression that we could create class AbstractBuilder or ProtoBuilder where we could have all the methods which all builders should understand. For example addElementOn:, addElementsOn:, view, view:, etc. I think it could be useful documentation for someone who wants to create new builder.
>
> It could be also useful if someone decide to compose builders.
>
> What do you thing? Does it have sense?
> Cheers,
> Jura
>
>
> El 21-04-2014, a las 18:24, Alexandre Bergel <[hidden email]> escribió:
>
>>> But, you should give it a try to extend the inspector for your own needs :). For example, let's play with what would be needed for debugging a view. What do you say?
>>
>> The inspector could be aware of the builder.
>> This is something what has to be well oiled to support nice demos. We will work on this on some point. FYI, we have extended the GTInspector to support different visualization of the tallies. We will announce it soon.
>>
>> Alexandre
>>
>>>
>>>
>>> On Mon, Apr 21, 2014 at 8:48 PM, Alexandre Bergel <[hidden email]> wrote:
>>> Hi!
>>>
>>> Doru, would it make sense to have RTBuilder>>build returns the view?
>>> Like that, there is no need of the last line in:
>>>
>>> -=-=-=-=-=-=-=-=
>>> | b |
>>> b := RTGraphBuilder new.
>>> …
>>> b build.
>>> b view
>>> -=-=-=-=-=-=-=-=
>>>
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Every thing has its own flow"
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev