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

World: r3wp

[!REBOL3-OLD1]

Pekr
28-May-2007
[2772x3]
I do understand you properly, Henrik. My dilemma is different. Last 
4 or so years, I see BIG diversification in how companies aproach 
UI, even MS themselves!
Should I do a screenshot of MS Outlook? And then some other app, 
using their dev. tool? Those look different in that respect! So, 
what I just said is - the trend is towards moving away from traditional 
looks, more so with inclination to web based like apps ...
but I think we just want the same ;-) My intention is just to have 
it available as nested styles, no new concept, if we can make it 
that way. But some aspects of certain look & behavior could be rebol 
specific and cross platform imo.
Henrik
28-May-2007
[2775]
Yes. And I don't agree with those design philosophies. :-) It may 
have something to do with those programs being so amazingly huge 
and have 2-digit sized development teams, so the program itself will 
reflect what the team is doing. MS is known to reinvent the wheel 
for each product. This is a bad trend.
Pekr
28-May-2007
[2776]
Look at some of Office 2007 screenshots. I am still not used to it. 
There is NO menu - it is replaced by tabs plus big icons/configuration 
sections ...
Henrik
28-May-2007
[2777]
I've seen it, and I hate it.
Pekr
28-May-2007
[2778x4]
What I will accept - containers, where I can put whatever inside. 
I will not accept anything specific, which will be more than general 
pane box, because it will push certain usage scenario on me. I want 
to decide, if I place Cyphre's menu there, or yours toolbar ...
And when we talk about split-window (app-window), we can even talk 
about native VID windowing :-)
Do you remember the so called MDI or SDI app guidelines? I am not 
sure I agree with any of them :-)
that should be discussed in VID group probably :-)
Henrik
28-May-2007
[2782x2]
If I try to make a MacOSX program in Cocoa, I'm actually pretty restricted 
in what I can do in terms of UI guidelines. I have to follow their 
menu system and structure. I have to follow their windowing system 
behaviour. I have to have an icon in the dock and I can do certain 
specific things with the icon. If I choose to, I can even let MacOSX 
handle loading and saving of data and preferences for me and handle 
the aspect of multiple documents for me.

I could probably code my own stuff, but since Apple have spent years 
designing these UI elements and guidelines, I see no reason to do 
that, since it provides a high amount of consistency. It's actually 
pretty hard to make something that looks shoddy or amateurish, unless 
you start drawing up your own graphics elements and ignore existing 
guidelines, which would be a huge waste of time. MacOSX is exactly 
being touted as being a fast environment to develop in, because many 
of the tough design decisions have already been made.
moving to VID...
Will
28-May-2007
[2784]
Henrik, the link above state exaclty what you say: The NIB (stands 
for NeXTStep Interface Builder) file is a loosely coupled, standalone, 
user interface definition. It wouldn't make sense to double-click 
a button and immediately be taken to a code-behind. Instead, you 
have to create a controller class, and then ctrl-drag from the button 
to the controller and then pick the outlet you're going to use (something 
like click: or calculate:). To me, as a huge fan of the MVC pattern, 
this makes perfect sense. And it seems so elegant in its simplicity, 
and so incredibly cool in the fact that it is truly enforcing good 
design simply by the way the IDE works.
Henrik
28-May-2007
[2785]
yes, the guidelines are in fact inherent to Cocoa itself. I didn't 
think of it that way :-)
Pekr
28-May-2007
[2786]
well, listening to raising requests to be tight to os-native widgets 
(not only windows behavior), I start to think that it would be better 
to scrap View altogether, and to go with some other UI toolkits, 
as gtk, qt, or simply to wrap OS ones ;-)
Henrik
28-May-2007
[2787x2]
why? it's simply adding a layer above VID to guide how to handle 
certain dialogs and multiple groups of widgets. it doesn't have to 
be more than a few kb's of code in total.
think of it as a layer above VID as VID is a layer above View. imagine 
how it would be to code layouts without having VID in REBOL...
Pekr
28-May-2007
[2789]
layer about VID ... maybe the thing is, I can't imagine it. Kind 
of 'View function dialect? e.g. view/custom, or view/specific custom 
block configuration?
Henrik
28-May-2007
[2790]
no, just advanced styles with many single faces grouped into one. 
just like you said yourself.
Pekr
28-May-2007
[2791x2]
ok then ...
so, now what? We wait for Gabriele to come out with some prototype?
Henrik
28-May-2007
[2793]
yes, I think we should see how that works out. if it will be as extensible 
as it's claimed to be, then this can easily be done.
Pekr
28-May-2007
[2794x3]
I wonder about one thing - will layout be changed to grid model?
.... and ... not sure it is possible or if it would be vital, but 
Chris requested future VID being CSS like, simply put that widgets 
would be separate from styling. But not sure it is possible. The 
trouble is, that once layout is decomposed into view objects, there 
is no way back. There is nothing like DOM ....
so - would anyone else find the ability to get back to layout usable? 
I don't remember, what exactly Chris had in mind with that ...
Henrik
28-May-2007
[2797]
well, I wouldn't mind seeing a way to store UI skins centrally, so 
there would be a way for the user to customize it, like you can with 
MUI on a per application basis.
Gregg
28-May-2007
[2798]
Between Cyphre, Geomol, and Christian, we have three solid menuing 
systems to analyze as prototypes. If someone wants to write an interface 
to native OS menus, that can probably be written as an extension 
to R3. The only critical thing would seem to be the ability to attach 
an OS menu to a REBOL window.
Anton
28-May-2007
[2799x2]
Four
do http://anton.wildit.net.au/rebol/gui/demo-menu.r
Christian's menu-system-demo is showing some interesting memory-eating 
behaviour on my system. I'll try to isolate that tomorrow.
Chris
28-May-2007
[2801]
Petr, just to be clear, system menus are OS neutral.  Every platform 
that View runs on has a menu system that is essentially the same. 
 The mode of access may be different platform to platform, but how 
different in function is a Windows menu to an OS X menu to an Amiga 
menu?  All I would like is a standard way to utilise them.
Gregg
28-May-2007
[2802]
Sorry, forgot yours Anton; so much chat here lately.
BrianH
28-May-2007
[2803]
Let's specify menus with a dialect that does not assume where they 
will be put, and then implement that dialect in a platform-specific 
way, with a cross-platform REBOL native fallback.
Gregg
28-May-2007
[2804]
Agreed Brian, though I would probably make the choice explicit, with 
REBOL native style being the default.
Chris
28-May-2007
[2805x2]
This seems to me a similar issue to using native file requesters. 
 Why reinvent a complex pattern in a way that is substandard and 
unfamiliar to users?
(and 'substandard' is not meant as offence to those that have developed 
such styles in View, but when you replicate a WinXP menu, then deploy 
on OS X, it looks substandard)
BrianH
28-May-2007
[2807]
I would only have the REBOL native style be the default on platforms 
that don't have a decent native style. That means platform-by-default 
on OS X but perhaps REBOL-by-default on Windows - there's a reason 
that MS uses custom controls on Windows. Let the platform implementor 
decide the default.
Chris
28-May-2007
[2808]
It's not just View apps that suffer in this way -- Inkscape is a 
formiddable application that looks at home on Linux, looks patchy 
on Windows and looks like an emulator window on OS X.
Gregg
28-May-2007
[2809x2]
Because trying to do it in a cross-platform way can be very complicated 
and force you into a lowest common denominator scenario. The question 
for me comes back to whether you're trying to emulate a native OS 
look in general or not. If you are, then the menus should match; 
if not, the menus won't match your app. And given that every web 
site seems to have a different nav system and menu look these days--and 
people seem OK with that, even if it's not good UI, and doesn't leverage 
existing knowledge--it's not a problem.
If you create a slick OSX look for your app, do you want a W2K menu 
attached to it?
Chris
28-May-2007
[2811x2]
How low can the lowest common denominator for menu systems be?
Ok, I don't think we have the same model in mind.
Gregg
28-May-2007
[2813]
Text description and a hot-key?
Chris
28-May-2007
[2814x2]
Submenus?  On-off?
Breaks?  Which applications exploit more than these and how much 
of a benefit does that bring?
BrianH
28-May-2007
[2816x2]
I actually like the Office 2007 model: No menus. At least on platforms 
that don't have menus on the top of the screen - I haven't thought 
about how to integrate this model into the OS X UI.
But then I prefer a mouse to a keyboard (hand injury).
Chris
28-May-2007
[2818]
Office 2007 does have some rudimentary menus.  Just not a menu strip.
BrianH
28-May-2007
[2819]
Still, if you are going to roll your own, why not go all out?
Gregg
28-May-2007
[2820]
Yes, Brian, I agree; or at least plan to go all out, even if you 
keep it simple to start with.
Chris
28-May-2007
[2821]
I'm in the camp against rolling your own :)