• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

Gregg
30-Nov-2012
[4427x2]
I agree with Henrik 90%. The hard part is picking the target app 
and important elements. A game, or modern app with animation elements 
is a very different target than an "efficiency above all" business 
app. One of my failed attempts with REBOL was to get Carl, for just 
this reason, to identify a target audience. It guides your design. 


In the case of a Red/REBOL GUI, maybe there is no single design or 
dialect. Making small apps simple is hard to match to the needs of 
complex apps. If you're writing database/CRUD apps, wouldn't it be 
great to have a toolset designed just for that? That same toolset 
won't work well for games though.


I think using an IDE as the first target app is a *fantastic* idea. 
It covers a lot of areas, including the possibility of building on 
an extensible app framework (something lighter than Eclipse :-), 
files, documents, workflow, tool integration, customization, and 
many UI elements. And *we*, developers, are the target audience.
VID gets a lot of things right. Let's not forget that.
GrahamC
30-Nov-2012
[4429x2]
If Carl is going to open source the R3/3 documentation, can't we 
just add a Red section ?
Or add to the existing wikibooks stuff?
Gregg
30-Nov-2012
[4431x4]
Docs are always a hard question. I have always appreciated the docs 
that Carl and others spent time and care creating; the old Core manual 
appeals to me. Wikis are good for many things, though I seem to lose 
or confuse wiki logins more than other accounts, and their presentation 
rarely impresses me. It's an easy way to make things open for contributions 
though.
Of course, I prefer REBOL data, with makedoc being my preferred markup 
format. I don't know if Carl's WIP wiki is worth asking about, or 
another wiki engine or site would not lock us in too much. Some of 
us did some work on a wikimedia interface for R3 docs, which didn't 
get far. And I have a wikidot site we can play with if people want.
I also like EasyVID and the other active document and lab tools.
REBOL data, tags, and a way to push and pull. That's all. :-)
GrahamC
30-Nov-2012
[4435x2]
also the help system can be sent to a wiki
There are two main types of documentation, reference docs and guides
NickA
30-Nov-2012
[4437]
I'm looking forward to making Red versions of my tutorials and examples 
scripts.  Those will be guides - someone else will need to focus 
on reference docs.
DocKimbel
30-Nov-2012
[4438x5]
I am thinking about a reference documentation. How to do it without 
rewritting REBOL/Core documentation?

If Carl is going to open source the R3/3 documentation,
 I haven't read anything about that.
I have some cool ideas about guides too, mainly for first steps with 
Red and how to clearly explaining concepts to beginners, but I have 
issue imagining a reference documentation content different from 
REBOL/Core docs.
So, can we do a better than REBOL/Core documentation? Can we present 
the same content in a radically different (better?) way?
(By REBOL/Core documentation, I'm referring to the "old Core manual" 
as Gregg said)
About the tooling, a wiki approach + makedoc format makes sense to 
me.
Pekr
30-Nov-2012
[4443x3]
Well, as for me, it is easy as that - f*ck off native controls :-) 
What does that really mean today? I have really no intention seeing 
GTK or other crap. Either use your own GUI, or HTML, that's almost 
the only standard, which will prevail anyway. We should ask ourselves 
- how relevant is e.g. the Gnome GUI guide? And who cares in the 
big picture? So - for easy embedded stuff, just give me a small GUI 
system, for bigger picture, give me a  HTML5. I e.g. don't understand, 
why Kaj tries to port something like Enlightenment. I really miss 
the big picture. Who and why should ever use it? For personal purposes, 
or some specific stuff - why not, but that's not imo a strategic 
direction ...
I do remember the times when Win95 came. All the world was claiming 
- your apps need the menu, a toolbar, etc. Free style Amiga like 
apps were a dirty world. Now, 15 years later, such aproach looks 
archaic, laughable. The time has changed. Let's target mobile platforms.
And I even don't agree with Henrik. I really can't see, how your 
top-down aproach might work. You need a solig gfx engine (View), 
general enough, to build up. Carl's GUI was OK. And imo Saphirion 
did a bad mistake - we heard, for so long time, that the look is 
the final step. All those years, and the look is really a crap. Much 
worse, than what Carl brought up, even if I can see many improvements 
in engine itself. Look sells, take it, or leave it, and then - please 
don't even try to do your own GUI. No matter how good it is, if it 
looks like 80'ties Solaris, it will never get accepted ...
Henrik
30-Nov-2012
[4446]
Pekr, the look is only crap, because I don't have time to work on 
the skin yet.
Gregg
30-Nov-2012
[4447]
So you're saying don't use native toolkits and don't do your own 
GUI? ;-)
Henrik
30-Nov-2012
[4448]
And appearance really is quite separate from the underpinnings.
Pekr
30-Nov-2012
[4449x3]
No, it is just how you understand it. After 15 years, I still can 
see similar mistakes ....
I would never want my app to look like GTK, easy as that. Maybe because 
I have zero intention to do Linux native GUI app. Linux, in a big 
picture (desktop), is irrelevant. Alway was. Who claims otherwise, 
lives in separate reality :-) Mobile will prevail classical PC sales 
very soon (if not already). Own GUI, for small niche, might be good. 
But - it has to have attractive design. The situation with Saphirion 
was, that the substantially rewritten Carl's engine. Nice enhancements, 
resizing and other stuff. But I NEVER understood, why the look was 
so totally unattractive. You see, Henrik once again claiming the 
old stuff, which was the basic reason of a failure. Design is a separate 
animal, which was supposed to come later, which could be done by 
anyone, which "just" needs material system which never appeared, 
etc. And result for me (as a sigle person)? Carl's GUI desing attracts 
me by some 60% more, just because of look. Once again - look sells 
...
In fact, what I think is, that Saphirion was really close to the 
GUI engine, which adressed most of what we wanted to solve by VID2 
to VID3 transition. It was just not polished. And because of that, 
ppl did not find it attractive enough to play with. And that's a 
real pity. Anyone doing native platform GUI will make me to close 
that demo at first sight, easy as that. Doc is in kind of difficult 
situation - as we can see, many former/recent rebollers are still 
interested in View like engine. The same reason why Doc dismissed 
LLVM in Carl's blog post, the same reason many will dismiss attempts 
to link to GTK, Enlightenment, etc - I don't want to use 5+MB crap 
...
Henrik
30-Nov-2012
[4452]
which 

just" needs material system which never appeared, etc." - the material 
system should be included in the current Saphirion release.
Gregg
30-Nov-2012
[4453]
...for easy embedded stuff, just give me a small GUI system, for 
bigger picture, give me a  HTML5


So what do you propose for the GUI, that will allow it to look good? 
i.e., what is your constructive suggestion, rather than criticizing 
all the wrongs of the past.
Kaj
30-Nov-2012
[4454]
Petr, if you pay me enough, I might refrain from doing the GTK+ and 
Enlightenment bindings :-)
Pekr
30-Nov-2012
[4455x2]
Gregg - my constructive suggestion is to orientiate on the platforms, 
which have a future. Is that an AmigaOS (to which R3 got ported as 
a paradox), is that a BeOS? Is that even a Linux? I would vote - 
Android, iOS, WP8, BB10. If new players with new potential appear, 
let's add them. How many of us would ever need to do a real native 
Linux app? And Linxu, is a big name here.
So - it might seem, that I contradict what Doc wants. I think I don't 
do so. He wants to be native on those above platform. And that makes 
sense. But - are those above platforms done in GTK? Enlightenment? 
Look at Microsfot - I just yesterday was watching their 5 hours of 
SharePoint plus Office 2013 presentation - most of their new stuff 
is becoming - HTML5. They are even scratching Silverlight for the 
typical desktop ...
Gregg
30-Nov-2012
[4457x2]
My suggestion, then, is to make a list of target OSs, prioritize 
the value of a GUI on them, and propose the best GUI solution for 
each.
Would you be willing to set up a checklist for that Petr?
DocKimbel
30-Nov-2012
[4459]
Pekr: you don't get the right picture. When I mention "native widgets", 
I am mainly referring to the ones provided by each OS, which is what 
most users expect to find in an app for their OS, and what most developers 
wants, is to provide a consistent experience for users. So, actually, 
such approach will be lighter then /View, because the OS provides 
you with everything you need. In the case of Linux, GTK is the main 
standard and it is built-in many distros, so that is the one we will 
probably use for Linux target and you don't need to provide it with 
your app.
Gregg
30-Nov-2012
[4460]
Or even just a shared doc here.
Pekr
30-Nov-2012
[4461]
I think the check list is done :-) I think that in 2-3 months, Doc 
wants to start by - Android :-) And maybe something in that direction 
is already slowly starting to happen :-)
Gregg
30-Nov-2012
[4462]
Where is the checklist?
Pekr
30-Nov-2012
[4463x2]
No checklist, just general wishlist ...
Doc, fine - then I'll never use Linux as a desktop - hate it, easy 
as that, so no REBOL/Red apps for me there  ... What I wonder even 
more is, if you would be really able to unify, even in the case of 
Linux - what about e.g. Ubunty, and their Unity? Will it work just 
with GTK? Will such app look native in Ubuntu? Just curious ...
Kaj
30-Nov-2012
[4465]
GTK is the native GUI for Ubuntu. I've told you many times
DocKimbel
30-Nov-2012
[4466x2]
How many of us would ever need to do a real native Linux app?


We are talking about a cross-platform GUI framework, that means: 
write once, run everywhere. Using native widgets from the OS is an 
option, using custom ones (with non-standard look'n feel like /View) 
is another option. So, you write a Red GUI app on whatever system 
you like and your Linux users will be able to run it.
Unless you want to boycot Linux users and prevent them from using 
your Red-based product because you don't like Linux? :-)
Pekr
30-Nov-2012
[4468]
Yes, that's an old discussion. In case I want to be crossplaform, 
I only accept it with mobile OSes, which are very special. I want 
my View app, I want to look and behave it identical on all plaforms. 
Can't imagine how I would be using eg. this Altme on Linux, using 
GTK, then switching to Win7, having totally differnet look, feel, 
behaviour in details ...
Kaj
30-Nov-2012
[4469]
Feel free to write a custom GUI in Red
Pekr
30-Nov-2012
[4470]
Linux is dead since its beginning, as far as desktop goes anyway. 
It is here since mostly 1994? Where's the world domination? Look, 
I welcome alternatives, I grew up with them, I am just realistic. 
E.g. Haiku has some drive, so much energy of so many ppl spent, but 
hardly becoming a mainstream.
NickA
30-Nov-2012
[4471]
It's hard to imagine that the native UI interface would meet with 
criticism from any main stream developers - by definition, it's the 
_native UI.  Doing things that way just takes longer to port.  I 
honestly don't care which way it goes, as long as there's a usable 
GUI system with a _productive syntax_.
Gregg
30-Nov-2012
[4472]
So, you want something like VID/View, that looks great, and works 
on mobile platforms. Is that correct Petr?
Pekr
30-Nov-2012
[4473x2]
Kaj - I feel free to find some resources for someone to port View 
to Red, playing on your nerves, as it will quickly again becoming 
more popular :-)
Gregg - no, I want ALSO View/VID, which is being kind of dismissed 
here both by Doc and Kaj :-)
Kaj
30-Nov-2012
[4475]
My nerves are fine. It's yours I'm converned about :-)
Gregg
30-Nov-2012
[4476]
How is that different from what I said (and I think they agree that 
you can write it if you want)?