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

World: r3wp

[!Liquid] any questions about liquid dataflow core.

RobertS
11-Apr-2009
[974]
Maxim - I have sent you a note on my intent to add to my piece on 
"slim Liquid Rebol" at eclectic-pencil -  I will pen that note in 
blood ...  piping can be so much more feral that ducts ; - )
Maxim
18-Apr-2009
[975x3]
Robert, there are some (old, yet still mostely accurate) docs here:

http://www.pointillistic.com/open-REBOL/moa/steel/liquid/index.html

and specific to the plug (less accurate)

http://www.pointillistic.com/open-REBOL/moa/steel/liquid/plug/index.html
any question you have, just ask here and will help as much as I can. 
 I've tutored three people so far, and it seemed to be easy enough 
to grasp that within a few hours, they where semi autonomous.
remember that dataflow is not just about using a new library, its 
a paradigm change in how you develop and design an application.  
so most of the difficutly is not in the actual coding of the plugs... 
which is really easy, its understanding what, how and why they are 
doing their stuff.
Graham
18-Apr-2009
[978]
write it up again so that those of us who didn't get personal tuition 
can understand it too!
Maxim
18-Apr-2009
[979]
it will happen. in a short while, I just had to stop working on personnal 
projects for a week or two... life has a tendency to cut into fun 
stuff... things like lawsuit threats, have a "slight" precedence 
over me hacking away at a keybord for the sheer fun of it   ;-)
Graham
18-Apr-2009
[980]
which songs have you rippped off?
Maxim
18-Apr-2009
[981]
no, its my neighbor.
Graham
18-Apr-2009
[982]
playing your guitar too late and loud at night?
Maxim
18-Apr-2009
[983x2]
actually, I buy all of my digital enternainment.  games, DVDs music, 
etc.  I mean, I (have/do/will) live off of all three mediums... so 
it would be a bit hypocritical for me not to encourage others in 
my own trades
just neighbors complaining, but its ok, I've actually managed to 
make things worse and solve the direct complaint... hahhaha
Graham
18-Apr-2009
[985x2]
I've got a relevant question
If I maintain copies of data in different gui aspects ... if I update 
one set at one place, can I automatically update all the other copies?
Maxim
18-Apr-2009
[987x3]
go.
yep. you pipe whatever relevant data is creating the gui.
change anyone, they all stay in sync.
Graham
18-Apr-2009
[990]
what about rebgui?
Maxim
18-Apr-2009
[991x2]
they can even have different data in each... as long as its a two-way 
conversion it would work.
rebgui, not a clue.
Graham
18-Apr-2009
[993]
you're clueless??
Maxim
18-Apr-2009
[994]
exactly.  I have never had the need to look at or use rebgui, ever.
Graham
18-Apr-2009
[995]
can you make some deductions
Maxim
18-Apr-2009
[996x2]
I tried downloading it once and after tortoise svc started fucking 
up and slowing down my computer, I got fed up, and uninstalled it, 
and rebgui wen't along with it ... hehe
I can tell you that its pretty easy to make it work in vid, so it 
should be pretty easy to make it work in rebgui.
Graham
18-Apr-2009
[998]
afterall, it's Rebol, view and data.
Maxim
18-Apr-2009
[999]
all you need to do is capture the action, send a message to the relevant 
liquid. if each control has a liquid which is responsible to set 
the control, when it receives data, they will update by themselves.
Graham
18-Apr-2009
[1000]
how about a one page example of two text lists upddating each other 
?
Maxim
18-Apr-2009
[1001x3]
in vid?
well actually, you have to understand, that technically they don't 
update each other...  they really are sharing the same data.
by "the same data" I don't mean the same rebol block... but the same 
data in the sense of individuality... they are two different views 
of the same original data set.
Graham
18-Apr-2009
[1004]
so just don't do a copy/deep!
Maxim
18-Apr-2009
[1005x8]
whenever one creates a change, that change is performed on the original 
data set, and everyone is made aware of the new data.
cause one data might be a string, another an issue, one a word, and 
still one a tag.
but they all share the same string information.
you could have a decimal range, and have it expressed in other formats, 
like colors, or sliders, progress bars... but they still all reflect 
the same original data.
change the page number in the field, the scroll bar updates by itself. 
 and vice versa.
one list might be filtered by gender, another by age, but add a new 
member to the list, and both will reflect the change... however it 
happened.
the advantage, is that there is no "global" understanding of what 
the data is being used for... each part of an application handles 
its own use of some data and really isn't aware of the rest of the 
application, and doesn't care.
doesn't have to.
Graham
18-Apr-2009
[1013x2]
vid
yes
Maxim
18-Apr-2009
[1015x3]
normally you have to know that whenever the list changes, you have 
a slew of functions to call, labels to update, what if the cursor 
changes, due to some insertion, deletion, what if the current selection 
is deleted... all examples which have to be handled globally... and 
the more the application grows, the hairier it becomes.
that will be my next personnal project..  I promise.
its easy to do... but right now I am working actually.
Graham
18-Apr-2009
[1018]
so it's not that easy then !
Maxim
18-Apr-2009
[1019x5]
liquid is not about less code... its about unbreakable and long-term 
feature creep indiference.
its not easy, because we have to mix three paradigms into one application.
and dataflow is a management layer, so patching a flaky event engine 
like view's has to be done properly.
really hard, I did blood.r which has 16 interconnected fields, in 
an evening.
most of the time was spent with non liquid related things... like 
vid.