AltME: Liquid

Messages

Josh
I am sure Max is changing it, but this was the ormer documentation http://www.pointillistic.com/open-REBOL/moa/steel/liquid/plug/plug-quickstart.html
ormer=>former
Josh
I would suggest this for an example:  http://www.rebol.org/view-script.r?script=blood.r
DocKimbel
Max, where can I find GLayout dialect examples?
Typically, I'm interested in how you connect a scrollbar to a face, is that done at dialect level, or inside the GUI engine?

Josh
Max, this may be a naive suggestion, but for enabling folks to use your libs, in my mind, it may make sense to give a complete repository that contains slim at the root with the various libs in subdirectories.  Finally got things in working order, but rebol.org's blood.r is broken with the latest liquid version
Josh
The reason for that is I ran into this with pretty much every script I tried to run:
REBOL/View 2.7.8.3.1 1-Jan-2011
Copyright 2000-2011 REBOL Technologies.  All rights reserved.
REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM
>> do %slim.r
>> do %libs/liquid/fluid.r
** User Error: SLiM/open() utils-words library not found (paths: )
** Near: to error! :value
I assume either I need to download the utils-lib from its repository or I need to use the SLIM dialect to open fluid, but may take me time to sort out which
Josh
I guess UTILS-WORDS and UTILS-LIB are not the same, not sure what to do then
Josh
Guess it's just the dialect:  liquid-lib: slim/open/expose 'liquid 0.7.0 [liquify link content fill !plug attach]
Josh
Threw together an initial attempt at my scheduling problem using Liquid:  https://raw.github.com/kealist/rebol/master/slim/schedule.r
Josh
Josh
Would like to know how to connect multiple plugs, like have a target plug, that sets a day and time, and the schedule plugs contain the data for all of the days/times
multiple types of plugs
Josh
Re: ealier question about complete slim:   Just say: https://github.com/moliad/slim-complete-set

Josh
just say => just saw
Josh
Maxim, I think I need a little help with a paradigm shift with making my code more efficient.   I rewrote the above schedule.r here: https://raw.github.com/kealist/rebol/master/slim/libs/liquid-libs/schedule2.r
However, I see some kind of race condition (with all the other plugs, where even if the variable FREE? is false, it still does the code in the if FREE? [do stuff] conditional.    If that particular value in any of the plugs is set to true, it causes it to be true for all of them
Maxim
hi guys, sorry was out for the week-end.   :-)
Maxim
Doc, GLayout was pretty ordinary stuff basically just a big layer over VID.
in, Glass links between a few plugs creates the algorythm which keep scrolling and face offset in sync.  this is one of the most advanced setups in Glass because there are 3 values in sycn through a bridge plug.  basically, you have pixel offset/range of the faces, pixel offset/range of the scroll bar and value offset from the scrollbar.   Its all done within the scrollface group style.
Josh, wrt distribution, there is that project ( https://github.com/moliad/slim-complete-set ) which basically allows you to get all of the sub repositories, but that might be removed at some point because you still need to know how to get all the sub libs and its a pain through Git.
in my next release push (which I'm working on right now) I will fill up a new repository with a throve of tools and stuff, one of which is a script to Get and update all slim libraries from Git, all you need is a version of Git installed and available from CALL .
Arnold, to search for my stuff, write REBOL as the first keyword and then the project you want (ex: "REBOL GLASS") ... in general its pretty on-topic.
note that the releases I am going to be doing in the next few weeks should help all of you get to grips with my complete framework, which includes A LOT of tasty code to build apps which more polish in very few steps.

Last message posted 308 weeks ago.