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

World: r3wp

[!REBOL3-OLD1]

Pekr
15-Feb-2009
[11553x2]
Graham - I think noone criticised you.  But honestly - you started 
your description like if R3 GUI plan would need any inspiration in 
JS.  There were many many discussions about it, and also from some 
docs it starts to be apparent, how R3 GUI is flexible ...
... besides that, there also were some talks of R3 GUI generating 
some output to web .... we will see, where all this leads ...
Graham
15-Feb-2009
[11555x4]
I started by saying that I was reading about ujs ... and picked on 
aspect of it knowing full well that most of ujs did not apply
on => one
I know my own screens are horribly complex with all the code attached 
to buttons
And then I looked for R3G examples and did not see any separation 
there either. So, I asked ...
Pekr
15-Feb-2009
[11559]
No need to reopen the discussion, but the thing you wanted was to 
separate gui description (elements and its placing, look) from the 
action code?
Graham
15-Feb-2009
[11560x2]
yes.
So, one person could design the gui, and another could design the 
functionality
Pekr
15-Feb-2009
[11562]
I don't know any other system than web, which does it.
Graham
15-Feb-2009
[11563]
Which does what?
Pekr
15-Feb-2009
[11564x2]
Separation of form from action.
form = presentation
Graham
15-Feb-2009
[11566x2]
are you saying that it's not necessary?
because noone else does it?
Pekr
15-Feb-2009
[11568x2]
Absolutly not. I am just saying, that looking into Delphi, SAP, or 
other tools, which are used to build apps, it is not simply common 
methodology. Web came from presentations. Remember - some 5 - 7 years 
ago, some companies don't even allowed JS to be run. "Nowadays there 
is no web without JS" - remember that statement, as it is proof, 
the web is patched beast, not something very well thought out from 
the beginning ...
There is surely still time to talk about those things for R3 gui.
Graham
15-Feb-2009
[11570]
That's what we're doing :)
Pekr
15-Feb-2009
[11571]
While basic concepts are in place, there still might be room to allow 
many things. R3 gui is really very flexible ...
Graham
15-Feb-2009
[11572]
And unfinished
Pekr
15-Feb-2009
[11573]
Every thing in development is - unfinished ...
Graham
15-Feb-2009
[11574x2]
I merely offer my observation for discussion :)
I realize that Carl doesn't read this group ...
Pekr
15-Feb-2009
[11576]
You will be able to post some notes via chat system. Dunno when we 
will be back to GUI though. RebDev aka DevBase is still not finished 
...
BrianH
15-Feb-2009
[11577]
The R3 GUI does the separation of form and function better than Delphi 
(or even HTML/CSS/Javascript).
Graham
15-Feb-2009
[11578]
the chat system is too hard on my eyes :(
BrianH
15-Feb-2009
[11579]
And Carl is currently busy generating R3 documentation.
kib2
15-Feb-2009
[11580]
When do new-users will be accepted inside the chat app in R3 ?
Pekr
15-Feb-2009
[11581]
Carl is doing very good and needed infrastructure thing. I always 
support such things. Both DevBase and Docs are needed.
BrianH
15-Feb-2009
[11582]
Kib2, likely when the chat server is finished being ported to R3 
on Linux. We were running into problems with Unicode user names on 
R2, since R2 can't do case-insensitive comparisons of Unicode strings, 
even when encoded in UTF-8.
kib2
15-Feb-2009
[11583]
BrianH: ok, thanks. What about  allowing ASCII chars in user names 
until it's really finished?
BrianH
15-Feb-2009
[11584x2]
Nowadays there is no web without JS
 - I take it you are not:
- Blind
- Using a text-mode browser (similar constraints to blind)

- Running a safe browser (similar constraints to Firefox with the 
NoScript extension)

Of course there is the web without JS - otherwise "Unobtrusive Javascript" 
wouldn't be needed.
Don't forget: Running old or mobile hardware - JS sucks on those 
too.
Graham
15-Feb-2009
[11586]
Here's a non-contrived example for separating structure from form.
BrianH
15-Feb-2009
[11587]
Kib2: Not my call, though I think chat could use better user management 
functions before we open it up again. We need to be able to *delete* 
users and all of their messages to deal with spammers - not just 
disable. We also need for the admin to be able to rename a user on 
request, to cut down on duplicate user accounts when users change 
their mind about their ID - we already have those.
Graham
15-Feb-2009
[11588x2]
At present I allow users to write a custom screen in RebGUI that 
loads into a tab.  Of course they can write as much REBOL code there 
as they want.  But it would be safer if they just wrote presentation 
layer stuff .. and let my program allow the appropriate functionality.
Of course I could write my own layout function and disable any Rebol 
actions ..
BrianH
15-Feb-2009
[11590x2]
You can do that by disabling the DO action and just having the other 
actions, which *you* write. Your users will just do layouts, and 
your artist will do the styles.
The definition of actions is separate from their use. The users just 
specify the use.
Pekr
15-Feb-2009
[11592]
BrainH: I insist - there is no web without JS :-) What you describe 
is anomalies :-)
Graham
15-Feb-2009
[11593]
Is the web patched or just evolving?
BrianH
15-Feb-2009
[11594]
Yes, badly and slowly, respectively :(
Graham
15-Feb-2009
[11595]
Umm... one of the aims of Unobtrusive JS is to allow nonJS enabled 
browsers to work
BrianH
15-Feb-2009
[11596]
Yup. The equivalent in the R3 GUI is to change the implementation 
of the actions.
Graham
15-Feb-2009
[11597]
Eg. if submitting a form, a JS enabled browser would see an acknowledgement 
in the div below the form, but a nonJS browser would be taken to 
a new page with the acknowledgement
BrianH
15-Feb-2009
[11598]
Pekr, working for a web company, those "anomalies" are the bane of 
my existence :(
Graham
15-Feb-2009
[11599]
Does qtask.com work with JS disabled??
BrianH
15-Feb-2009
[11600]
The mobile vversion does.
Pekr
15-Feb-2009
[11601]
I wonder why there should be a problem to have decent JS engine for 
mobile platforms? Don't they have full browsers already?
BrianH
15-Feb-2009
[11602]
Mostly not. Only a few new phones made in the last year come close.