Welcome, Guest. Please login or register.

Author Topic: Reaction vs MUI (as what concerns the API)  (Read 20497 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline lsmart

  • Sr. Member
  • ****
  • Join Date: Jun 2009
  • Posts: 433
    • Show only replies by lsmart
Re: Reaction vs MUI (as what concerns the API)
« Reply #14 on: February 13, 2011, 07:57:51 AM »
Quote from: matthey;615196

MUI/Zune:
[...]
- slow
- memory hog
- many different versions and classes make installation a pain
- user interface is non standard (e.g. PSI instead of standard screen mode requestor)


That was my impression too. But this is the user-level view. The original poster asked for the developers perspective. MUI fans keep claiming that it´d be so easy and flexible. I´d love to give my perspective on this, but I only coded GadTools and BOOPSI back in the day. I wrote a small Reaction GUI recently, but not enough to tell if it really has a serious advantage to the classic way of writing Amiga GUI, which actually was very straightforward and had all the gadgets my programs ever needed!!!!
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: Reaction vs MUI (as what concerns the API)
« Reply #15 on: February 13, 2011, 08:26:50 AM »
Quote from: itix;615210
In MorphOS PSI uses the standard screen mode widget, the very same widget what screen requester is using ;-)

Do you happen to have a screenshot from Reaction screenmode widget?


PSI doesn't use the standard asl.library screen mode requester under AmigaOS 3.x. Reaction leaves it up to the programmer but most use the standard screen mode requester which follows the Amiga User Interface Style Guide. Maybe MOS does something different but then it isn't AmigaOS and has redefined the user interface also. I prefer the AmigaOS and Reaction way as it's straight forward and less cumbersome to open a screen.

@Tcheko
PSI takes about 5 seconds to open it's window with my 68060@75MHz. That's just sad. Enough said.
 

Offline kolla

Re: Reaction vs MUI (as what concerns the API)
« Reply #16 on: February 13, 2011, 08:29:46 AM »
Both suck immensely.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Tcheko

  • Newbie
  • *
  • Join Date: Feb 2011
  • Posts: 16
    • Show only replies by Tcheko
Re: Reaction vs MUI (as what concerns the API)
« Reply #17 on: February 13, 2011, 08:47:14 AM »
Quote from: matthey;615219
PSI doesn't use the standard asl.library screen mode requester under AmigaOS 3.x. Reaction leaves it up to the programmer but most use the standard screen mode requester which follows the Amiga User Interface Style Guide. Maybe MOS does something different but then it isn't AmigaOS and has redefined the user interface also. I prefer the AmigaOS and Reaction way as it's straight forward and less cumbersome to open a screen.

@Tcheko
PSI takes about 5 seconds to open it's window with my 68060@75MHz. That's just sad. Enough said.


Is it more 4s or 6s?

Perceived time worth nothing.
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Reaction vs MUI (as what concerns the API)
« Reply #18 on: February 13, 2011, 08:49:47 AM »
Quote from: matthey;615219
Reaction leaves it up to the programmer but most use the standard screen mode requester which follows the Amiga User Interface Style Guide.

Problem is standard requester is not always what you want. You may wish to embed requester into your window or have custom options there.

Take a file browser as an example. With MUI's filepanel class you can attach standard file requester features into your software without using ASL requesters. It is useful for image viewers for example. If you use GadTools you have to build your own file panel using its crappy listview gadget.

Neither you can have your own GadTools widgets. Your only option is going BOOPSI which again leads you into Reaction or MUI.
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Reaction vs MUI (as what concerns the API)
« Reply #19 on: February 13, 2011, 09:14:08 AM »
Quote from: matthey;615219

PSI takes about 5 seconds to open it's window with my 68060@75MHz. That's just sad. Enough said.


Btw I saw your comment on another thread. I think you didnt understand purpose of PSI.

PSI is used to manage public screens for MUI software. Instead of re-implementing screen settings into every MUI application you use PSI to define what screen is used for each program.

When I implemented my BBS offline reader using GadTools aeons ago I had to implement screen mode selector (button which opens ASL screen requester), public screen selector and manager to manage my public screens. And this all have to be re-implemented into every software. And of course every software impements it always differently so behaviour is not consistent. Only advatage is that you get your standard ASL requester but screen management is different and re-implemented for each program.

Another advantage with MUI is that you get many other features as a standard: commodity support, Rexx port, iconify support (configurable as an icon or tools menu), standard fonts and many more. In GadTools application you can only read GfxBase to get your system font (how many implement it properly without potential race condition btw?) or use what is provided by default in your Window rastport. But you still dont get small/large font option and if you want configurable fonts you have to code it all yourself.

That is after all biggest gripe with GadTools. To support basic features properly you have to write thousands lines of code. When I converted good old SnoopDos to Snoopium (SnoopDos with MUI GUI) I could get rid of lot of old support code. MUI GUI version was not only much smaller than the original GadTools version but it was also much faster. Faster because due to reduced code size I could easily redesign its event management.
My Amigas: A500, Mac Mini and PowerBook
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: Reaction vs MUI (as what concerns the API)
« Reply #20 on: February 13, 2011, 09:19:24 AM »
@Tcheko
I apologize. I tried again and PSI came up nearly instantly this time. It must have been that CPU intensive task I had in the background slowing things down :O. MUI does seem to be slower although a fast processor makes it less of an issue.

Quote from: itix;615225
Problem is standard requester is not always what you want. You may wish to embed requester into your window or have custom options there.


True. The MUI way is powerful but it is also different from the standard AmigaOS user interface, slower and less obvious. A good example is in this thread...

http://www.amiga.org/forums/showthread.php?t=56505

Quote

Take a file browser as an example. With MUI's filepanel class you can attach standard file requester features into your software without using ASL requesters.


I don't see anything wrong with asl.library requesters. They are somewhat limiting in order to have a standard user interface.

Quote
If you use GadTools you have to build your own file panel using its crappy listview gadget.


Gadtools in primitive and was only meant to suffice until boopsi/Reaction became more powerful. Boopsi/Reaction/Datatypes is good but never got finished.
 

Offline lsmart

  • Sr. Member
  • ****
  • Join Date: Jun 2009
  • Posts: 433
    • Show only replies by lsmart
Re: Reaction vs MUI (as what concerns the API)
« Reply #21 on: February 13, 2011, 09:19:38 AM »
Quote from: Tcheko;615223
Is it more 4s or 6s?
Perceived time worth nothing.


Even 2,5 seconds is too slow for opening a simple window with hardly any data in it. Furthermore percieved time is actually quite relevant, when you are talking about GUI systems, maybe even more that the actual time measured.
 

Offline takemehomegrandma

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2990
    • Show only replies by takemehomegrandma
Re: Reaction vs MUI (as what concerns the API)
« Reply #22 on: February 13, 2011, 10:08:19 AM »
Quote from: Minuous;615159
ReAction is the official AmigaOS GUI, this applies to both 3.x and 4.x.


The vast support from third party developers made MUI the de facto standard Amiga GUI a long time before Haage&Partner and Hyperion gave things a try. This massive support from developers came from MUI being so easy yet so powerful from a developers point of view (which answers the original post in this thread). Go back and look what people have said about it over the years. Why did Stefan Burström choose MUI for IBrowse for example? It has simply been what most developers prefer!

The reason Haage&Partner (and later Hyperion) used something else, was for intellectual property and money reasons. Technology had probably nothing to do with it at all. This is also yet another example of Hyperion's "OS4" product having to settle with the left-over Amiga standards, after MorphOS already secured the best ones.

From a user's POV, MUI is available for all *miga OS's, and offer great flexibility and level of customization. From a developers POV, MUI is the easiest and most powerful GUI to work with. And don't take my word for it, listen to the testimonies from all the developers who used it during almost two decades.

The choice should be fairly easy! :)
MorphOS is Amiga done right! :)
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Reaction vs MUI (as what concerns the API)
« Reply #23 on: February 13, 2011, 11:00:32 AM »
Quote from: Minuous;615159
ReAction is the official AmigaOS GUI, this applies to both 3.x and 4.x.

Not quite. AmigaOS 3.0 and 3.1 official GUI is gadtools. ClassAct was some obscure GUI toolkit needed bu some random applications such as AWeb. It was inferior compared to MUI back then already and making it official GUI toolkit for later AmigaOS versions didn't change that fact.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: Reaction vs MUI (as what concerns the API)
« Reply #24 on: February 13, 2011, 11:27:28 AM »
Quote from: nicholas;615173
Strange you should say that as just this very evening I booted up a NOS Escom A1200 with Workbench 3.1, which had "MUI-AT" drawer with a readme that said "MUI 3.2 Amiga Technologies Edition".

No Reaction in sight........

Karlos was here with me and can confirm this as it was he who noticed it first.


Yep. I guess it was to support the included network software?
int p; // A
 

Offline Tcheko

  • Newbie
  • *
  • Join Date: Feb 2011
  • Posts: 16
    • Show only replies by Tcheko
Re: Reaction vs MUI (as what concerns the API)
« Reply #25 on: February 13, 2011, 11:51:43 AM »
Quote from: Piru;615238
Not quite. AmigaOS 3.0 and 3.1 official GUI is gadtools. ClassAct was some obscure GUI toolkit needed bu some random applications such as AWeb. It was inferior compared to MUI back then already and making it official GUI toolkit for later AmigaOS versions didn't change that fact.


Simple benchmark with Aminet to confirm Piru's quote.

How many search hits with words : MUI, ClassAct, GadTools, Reaction

MUI scores 793
ClassAct scores 34
GadTools scores 46
Reaction scores 32

Damn. MUI is #1. It can't be that bad then...

Btw, latest OWB using MUI for OS4 looks really promising. And DigiBooster 3 beta 18 too. ^^
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Reaction vs MUI (as what concerns the API)
« Reply #26 on: February 13, 2011, 01:29:53 PM »
Quote from: matthey;615231

I tried again and PSI came up nearly instantly this time. It must have been that CPU intensive task I had in the background slowing things down :O. MUI does seem to be slower although a fast processor makes it less of an issue.


MUI is always slower than simple GadTools based applications. I have seen MUI application running on Amiga 500 @ 7MHz 68000. It is not fast. But then MUI includes an automatic layout engine which takes screen aspect ratio, font sizes and window/screen space into account. There is much more computation involved in MUI window layout.

Quote

True. The MUI way is powerful but it is also different from the standard AmigaOS user interface, slower and less obvious. A good example is in this thread...

http://www.amiga.org/forums/showthread.php?t=56505


I am not so sure. Because MUI preferences dialog is the same for all MUI applications. Once you learn to use it you dont have to re-learn it for every application. It is always in the same place, it always works in the same way.

Quote

I don't see anything wrong with asl.library requesters. They are somewhat limiting in order to have a standard user interface.


In PSI it would mean that you have PSI dialog and then in this PSI dialog you have to open screen mode dialog to select screen mode. It is not necessarily practical because I'd like to see what screen modes are available without really going to select one.

Quote

Gadtools in primitive and was only meant to suffice until boopsi/Reaction became more powerful. Boopsi/Reaction/Datatypes is good but never got finished.


There never was Reaction in C= AmigaOS. They only had couple of BOOPSI classes. But it is not problem for MUI. You can have BOOPSI classes embedded in MUI application. Classic example here is colorwheel.gadget used in MUI settings. And not only that -- also String.mui class in MUI 3.x is the original BOOPSI string class and it is actually reason why built-in String class in MUI feels non-standard (it lacks some standard MUI gestures) and various 3rd party replacements were written.
My Amigas: A500, Mac Mini and PowerBook
 

Offline lsmart

  • Sr. Member
  • ****
  • Join Date: Jun 2009
  • Posts: 433
    • Show only replies by lsmart
Re: Reaction vs MUI (as what concerns the API)
« Reply #27 on: February 13, 2011, 01:53:57 PM »
Quote from: Piru;615238
[...] some random applications such as AWeb.
Like QT is for some random desktops like KDE?

AWeb was something you had to install in 1995. AWeb was the modern internet.
 

Offline Fab

  • Full Member
  • ***
  • Join Date: Jun 2009
  • Posts: 217
    • Show only replies by Fab
Re: Reaction vs MUI (as what concerns the API)
« Reply #28 on: February 13, 2011, 02:37:41 PM »
Quote from: lsmart;615251
Like QT is for some random desktops like KDE?

AWeb was something you had to install in 1995. AWeb was the modern internet.


And can you name any other significant application using classact/reaction for 3.x? I can't.
 

Offline lsmart

  • Sr. Member
  • ****
  • Join Date: Jun 2009
  • Posts: 433
    • Show only replies by lsmart
Re: Reaction vs MUI (as what concerns the API)
« Reply #29 from previous page: February 13, 2011, 03:19:24 PM »
Quote from: Fab;615255
And can you name any other significant application using classact/reaction for 3.x? I can't.


I just think that we are reading pointless bashing instead of a well balanced analysis here.