r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 GUI]

Henrik
16-Oct-2010
[3960]
I'm going to rephrase my idea: In general it could be possible to 
use blocks of blocks inside the layout. This would make it easier 
to generate layouts and not care about style argument lengths:

view [[button button] [field field]]


Of course you can't split a style in two blocks, but this wouldn't 
be needed anyway:

view [[button] [do [something]]]


This is similar to how gradients can be put in blocks inside DRAW. 
Is there anything that would conflict with that?
Ladislav
16-Oct-2010
[3961]
Yes, Henrik, your idea looks interesting as well
Robert
16-Oct-2010
[3962]
Henrik, good point. We need to consider "generate by script" in all 
dialects etc. IMO being able to use even more abstract descriptional 
approach and generate on the fly is a key pattern.
Pekr
16-Oct-2010
[3963]
yes, but ads lots of visual clutter, especially if the code is short.
Henrik
16-Oct-2010
[3964]
Pekr, no it doesn't, because you are free not to use it. The point 
is that auto-generated layouts would be much easier to make and rearrange.
Pekr
16-Oct-2010
[3965]
When Cyphre did the grid for RebGUI for me, that is what I suggested 
to him - to enclose column VID description into block, so that you 
can reorganise it easily .... so I am OK with that ...
Henrik
18-Oct-2010
[3966]
Status:


Not much new. We are discussing how to formalize actors, as this 
is only half-done. Other than that, it's simply bug grinding of styles.
Pekr
18-Oct-2010
[3967]
what do you mean by formalizing actors? Any problems with recent 
aproach?
Robert
18-Oct-2010
[3968]
No, we just want to make it really simple and common, so you don't 
have to know how things are named in styles.
shadwolf
19-Oct-2010
[3969x3]
what about this kind of IDE looks like small talk but for rebol and 
Rebol/GUI having such a tools could be crazy look at this and try 
it 
illumination Software Creator 
http://radicalbreeze.com/
maybe in a different way / shape but since along ago i like the idea 
very smalltalk like to organize Applications like a UML model ... 
And i think rebol GUI could shape that and use that ...
what i like is the hightly visual and abstracted side of this kind 
of IDE...  It's intuitive it's simple ... Rebol must have it ;)
shadwolf
20-Oct-2010
[3972x2]
as a matter of fact some lot of years ago we tryed something like 
a MERISE model representation of database with some people of french 
community (coccinelle; lucho) the project was Called LadyReb it was 
dropped  but the idea behind it was pretty similar.
main problem of this kind of representation is that it lacks flexibility 
you can't think out of the box.... But this would means finding some 
way for the user to add new items. Since rebol is easier to handle 
than most of languages around this interaction could be something 
really stunnish
Maxim
20-Oct-2010
[3974]
you means something like this:  


http://www.pointillistic.com/open-REBOL/moa/files/elixir-desktop.png

?

;-D
shadwolf
20-Oct-2010
[3975x2]
hum ...  yes but more with a meanning behind items  on the graph 
pattern. Featuring relations betwin item one to another
lets say more adapted to general programing ....
GrahamC
20-Oct-2010
[3977]
component based programming ..
shadwolf
20-Oct-2010
[3978]
yeah but in the rebol way ....
Maxim
20-Oct-2010
[3979]
ah... did you actually read the node names?  they are actually functions. 
  connecting them actually shows the value in the gray box in real 
time.
shadwolf
20-Oct-2010
[3980x2]
using such a tool is like describing your application steps through 
 you have the start point of your application then comes the splash 
screen then comme the main window  in it you put those items etc...
Maxim hum on the graph i can't say you where it starts where it ends 
or what it does ... but the main idea behind a graph representation 
is the one look to it you understand it
Maxim
20-Oct-2010
[3982x2]
elixir actually is a generic procedural data engine.  follow the 
arrows... its just sprawled right now... but if you ordered them 
from left to right, or top to bottom it would be very clear.
but the pic I posted is just a very preliminary prototype... though 
it still works well for demoing the idea for the other levels of 
the system which have never been attempted... well only a little 
bit in my latest glass work.
shadwolf
20-Oct-2010
[3984]
sounds like i'm feuding ... lol well the idea is since GUI is planned 
to evolve then maybe we can start thinking toward that kind of extensiv 
graphical use to see how this can be meaningfull with rebol context 
of writing applications...
Maxim
20-Oct-2010
[3985x2]
even my current R3 Open GL work is to push forward this vision... 
(to make this back on topic  ;-
)
shadwolf
20-Oct-2010
[3987]
Maxim it looks great but it's too open ... in my idea what you show 
with elixir should be part of  it  the "free to add thing" part but 
the other part is we have a set of ready made boxes/items you just 
need to set an execution path and give them some related information 
like position size text etc...
Maxim
20-Oct-2010
[3988]
that's already limiting in my POV.   elixir actually allows you to 
build the system that you describe interactively  (In theory, not 
in practice, since its really not done yet(
shadwolf
20-Oct-2010
[3989]
i like the idea of having a really simple way to look at rebol app 
and then you can edit part of it add new boxes with crazy new stuff 
etc.... it's somehow what we do in text based coding 

but on heavy fragmented project it's hard to have an over view to 
it ...
Maxim
20-Oct-2010
[3990]
I just wanted to show you that there is someone already tackling 
the idea... thoug it will still be a few months before I have any 
R3 version of elixir (the move to R3 and the wait for extensions 
is the main reason I stopped working actively on elixir)... it was 
just tooo demanding for the R2 platform, in just about every way 
possible.
shadwolf
20-Oct-2010
[3991]
problem with this kind of representation as a former small talk extensive 
programer is deeper you go in the specifications more blurry is you 
view ... it's like a melt of lot of boxes everywhere with arrows 
linking them to any direction ... that's pretty hard to handle ...
Maxim
20-Oct-2010
[3992]
it can be.. with some compositing I've done I had hundreds of nodes 
in a single shelf... at some point we would do node art   ;-)
shadwolf
20-Oct-2010
[3993]
maxim it's noted ;) and i appreciate that we have somehow the same 
goal
Maxim
20-Oct-2010
[3994]
(compositing as in Motion Pictire Visual effects )
shadwolf
20-Oct-2010
[3995]
I know I want the basic repitive task to be handle faster... then 
the other probleme is in a function setting a hierachy of calls ....
GrahamC
20-Oct-2010
[3996]
to get the best result need async processes for each pipe in the 
graph
Maxim
20-Oct-2010
[3997]
it goes beyond that... at the purely language level R2 was really 
limiting many things I wanted to do.  view and AGG limitations where 
also very present in my tests.
shadwolf
20-Oct-2010
[3998x2]
this aspect is  not usefull on linear easy applicaitons very straight 
forwarded but on complexe application what comes first can be determining 
betwin a working application and a crashing application
maybe somthing like a popup note  when you passe your mouse over 
the node you have like an insight of the node contents and maybe 
a closer view to the links to arrows
Maxim
20-Oct-2010
[4000x2]
all I can say is that on a theoretical level it scales better than 
any other system out there... because using dynamically adapting 
networks of any kind, the structure has as much value as the rest. 
  the fact that its also visual is just icing.
also because these types of networks presents multiple concurrent 
states, you can do much more advanced problem solving than with objects 
and functions.
shadwolf
20-Oct-2010
[4002x4]
i like the ideal of rebol being able to gui draw iit's own gui ... 
in my opinion most of the interest using rebol hides there ...
then how can we graphically represents it maybe the tree or node 
based representation isn't the best way that's why i want to speak 
with others and get several point of view on this topic ...
one pretty rare feature on illumination software creator is the hability 
to create applications for HAiku OS desktop (fork projet from beOS)
one thing that should be cool to should be the capability to export 
new feature item. Let say i create a splash screen ready to use window 
you just have to provide an image to it so new in my tool box i have 
this new "piece" of ready to use code it would be pretty fun to be 
able to exchange it to others ...
Maxim
20-Oct-2010
[4006]
these are called pools in elixir. :-)
shadwolf
20-Oct-2010
[4007x2]
if those sharable items can be synchronised from a network source 
this should be really awsome... recently i saw google document was 
able to share document editions in live that's cool stuff too for 
an IDE to be able to discuss code and then co-write it ...
i do'nt know if that way is applicable on large script probably not 
...
Maxim
20-Oct-2010
[4009]
with elixir you can build google-wave like concurrent user apps with 
just a few nodes.  then you can wrap them in a pool and just provide 
the pool as the data to another node.


it is even project that we will be able to reverse-script a pool 
and provide its structure as an output, so that you can actually 
share the pool's structure in real time along with the data it is 
linked to.