amiga.org
     
iconAll times are GMT -6. The time now is 08:04 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Operating System Specific Discussions » Amiga OS » Amiga OS -- Development » Reaction vs MUI (as what concerns the API)

Amiga OS -- Development This particular forum deals with issues regarding development for all versions of AmigaOS.

Reply
 
Thread Tools Display Modes
Old 02-12-2011, 09:35 AM   #1
Jose
Kindred of Babble-on
Points: 21,917, Level: 92 Points: 21,917, Level: 92 Points: 21,917, Level: 92
Activity: 10% Activity: 10% Activity: 10%
 
Join Date: Feb 2002
Posts: 2,786
Default Reaction vs MUI (as what concerns the API)

Not at the user level so please no flamming wars I decided I'll take some time to slowly learn one of the APIs and would like advice on advantages/disadvantages of both regarding:
- User ability to make your own Boopsi objects and mix them with Reaction/MUI's own ones.
- Ability to modify Reaction/MUI's own objects to add features / behavious, just like you can do with subclassing a Boopsi object
- Compatiblity regarding AOS4/MOS/Classic. Think MUI is ahead on this one but the users had to buy the licence to run MUI on OS4 or something and it wasn't granted that development would continue. My memory is probably failing on this one but again, please no flame wars, just present the facts.

Thanks!
José
__________________
\"We made Amiga, they {bleep}ed it up\"
Jose is offline   Reply With Quote
Old 02-12-2011, 10:06 AM   #2
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: Reaction vs MUI (as what concerns the API)

Thread moved from news section
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 02-12-2011, 11:41 AM   #3
Kronos
Resident blue troll
Points: 13,368, Level: 75 Points: 13,368, Level: 75 Points: 13,368, Level: 75
Activity: 2% Activity: 2% Activity: 2%
 
Kronos's Avatar
 
Join Date: Feb 2002
Posts: 3,871
Default Re: Reaction vs MUI (as what concerns the API)

- ReAction and BOOPSI ? Should work, just don't ask me...

- MUI has a special class for embeeding BOOPSI-Objects, pretty much straighforward (as far as that can be with raw BOOPSI)

- in MUI you can subclass every class (both builtin and external) and overload every function in that subclass with your own code. But there are allready plenty of good classes available

- ReAction is only available for AOS3.5,3.9 and 4.x (one might get away useing 68k-versions under MorphOS nut no avail for AROS)

- MUI3.8 (or better) is available for AmigaOS3.x,4.x and MorphOS. 68k and OS4 versions require a keyfile to use some configuration options but all MUI-apps works without. Under AROS one can use Zune which offeres some compability with MUI3.x (your mileage may vary)

I'll advice learning MUI:

- it's available on all Amiga-platforms
- it's far more widely used and accepted (maybe not loved by everyone, but still accepted)
- it's more matured
- it's better documented
- finding someone who could help you with problems is easier (as it's more widely used)
- more/better classes available (even if you discount some problematic ones) make developing complex SW much easier.
- MUI RuLeZ !!!
- looks better (not much of an achievment in that competition if you ask me)
__________________
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
Kronos is offline   Reply With Quote
Old 02-12-2011, 12:57 PM   #4
itix
Defender of the Faith
Points: 11,740, Level: 71 Points: 11,740, Level: 71 Points: 11,740, Level: 71
Activity: 5% Activity: 5% Activity: 5%
 
itix's Avatar
 
Join Date: Oct 2002
Posts: 1,874
Default Re: Reaction vs MUI (as what concerns the API)

Quote:
Originally Posted by Jose View Post
Not at the user level so please no flamming wars I decided I'll take some time to slowly learn one of the APIs and would like advice on advantages/disadvantages of both regarding:
- User ability to make your own Boopsi objects and mix them with Reaction/MUI's own ones.
You can do that but you rarely find any reason to use BOOPSI objects in MUI. BOOPSI objects simply are very archaic compared to MUI classes.

Quote:
- Ability to modify Reaction/MUI's own objects to add features / behavious, just like you can do with subclassing a Boopsi object
MUI subclasses are powerful way to extend your existing MUI classes.
__________________
Only MorphOS makes it possible \o_
itix is offline   Reply With Quote
Old 02-12-2011, 03:55 PM   #5
Cammy
Defender of the Faith
Points: 11,196, Level: 69 Points: 11,196, Level: 69 Points: 11,196, Level: 69
Activity: 10% Activity: 10% Activity: 10%
 
Cammy's Avatar
 
Join Date: Aug 2007
Location: In my own little world, Australia
Posts: 1,360
Default Re: Reaction vs MUI (as what concerns the API)

I would never program for Reaction, what a laborious and unrewarding task that would be compared to writing something for MUI, which can be used on more Amiga OSs including Aros, MorphOS and AmigaOS 2. From the programming point of view as well as accessibility, MUI is by far the wiser choice, not to mention the configuration options to the user are second to none on any platform. MUI3.8 can still be registered online, and eventually Zune should replace MUI3.x on both OS3 and OS4 the way it does in Aros, and should have all the features of MUI4 in MorphOS.

The great thing about MUI/Zune is anyone can code for it and the interface should work on all Amiga systems, reaching the widest audience. You don't even need an Amiga to use it, just a PC running Aros will do. And Aros can run from a USB stick, so it's portable and you can test your system and programs on any PC without installing a thing on the hard drive.

Once Zune is enhanced to MUI4 standards you'll see much more useful and beautiful software ported to Aros, OS3 and OS4, like Ambient and Fab's OWB browser. We just need more poeple to donate towards the bounty: http://www.power2people.org/projects/profile/54
__________________
A1200 030@28Mhz/2MB+32MB/RTC/KS3.1/IDE-CF+4GB/4-Way Clockport Expander/IndivisionAGA/PCMCIA NIC
A1200 020@14Mhz/2MB+8MB/FPU/RTC/KS3.0/IDE-CF+2GB/S-Video
CD32 020@14Mhz/2MB+8MB/RTC/KS3.1/IDE-CF+4GB
A600 030@30Mhz/2MB+64MB/RTC/IDE-CF+4GB/Subway USB/S-Video/PCMCIA NIC/USB Numeric Keypad+Hub+Mouse+Control Pad
A500 000@7Mhz/512kB+512kB/ROM Switcher/KS3.1+1.3/S-Video

Get AmigaOS for your PC, it's FREE and comes in two flavours!
www.icarosdesktop.org
www.aros-broadway.de
Cammy is offline   Reply With Quote
Old 02-12-2011, 06:35 PM   #6
Minuous
Premium Member
Points: 9,202, Level: 64 Points: 9,202, Level: 64 Points: 9,202, Level: 64
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Jan 2003
Posts: 461
Default Re: Reaction vs MUI (as what concerns the API)

Wow, the MUI-lovers are out in force today :-(

ReAction is the official AmigaOS GUI, this applies to both 3.x and 4.x. If AROS and MOS don't support then that is a lack in those OSes. If those OSes didn't support eg. menus, would there be suggestions along the lines of "don't use menus"?
ReAction software can run under MOS, it's just a matter of the relevant classes being omitted from the MOS CD for some reason. As for AROS, if/when the 68K emulation ever gets done then ReAction classes will be usable under that too. As it stands, AROS is missing huge chunks of functionality and isn't ready for prime time anyway.

MUI is a third-party hack and rather slow and ugly IMHO, requiring many extra files and not giving any benefit over ReAction. Another case of reinventing the wheel for no real purpose and forcing users to go download and install extra packages instead of using what is already present in the OS.

Last edited by Minuous; 02-12-2011 at 06:38 PM..
Minuous is offline   Reply With Quote
Old 02-12-2011, 06:53 PM   #7
save2600
Premium Member
Points: 17,757, Level: 84 Points: 17,757, Level: 84 Points: 17,757, Level: 84
Activity: 4% Activity: 4% Activity: 4%
 
Join Date: Jul 2006
Location: Southern, WI USA
Posts: 3,007
Send a message via Yahoo to save2600
Default Re: Reaction vs MUI (as what concerns the API)

Quote:
Originally Posted by Minuous View Post
MUI is a third-party hack and rather slow and ugly IMHO, requiring many extra files and not giving any benefit over ReAction. Another case of reinventing the wheel for no real purpose and forcing users to go download and install extra packages instead of using what is already present in the OS.
I pretty much expressed the same sentiment about MUI (especially the bit about having to track down files, being slow/ugly) and got flamed for it. Glad to see I'm not the only "uninformed" AmigaOS user or whatever I was called that day.
__________________
Cash paid or will trade for loose and CIB Amiga games I need. Game manuals and boxes only too! Will purchase in large lots as well.

Last edited by save2600; 02-12-2011 at 09:07 PM..
save2600 is offline   Reply With Quote
Old 02-12-2011, 07:53 PM   #8
jahc
Cult Member
Points: 10,931, Level: 69 Points: 10,931, Level: 69 Points: 10,931, Level: 69
Activity: 4% Activity: 4% Activity: 4%
 
jahc's Avatar
 
Join Date: Mar 2002
Posts: 524
Send a message via MSN to jahc
Default Re: Reaction vs MUI (as what concerns the API)

Quote:
Originally Posted by Jose View Post
Not at the user level so please no flamming wars I decided I'll take some time to slowly learn one of the APIs and would like advice on advantages/disadvantages of both regarding:
- User ability to make your own Boopsi objects and mix them with Reaction/MUI's own ones.
- Ability to modify Reaction/MUI's own objects to add features / behavious, just like you can do with subclassing a Boopsi object
- Compatiblity regarding AOS4/MOS/Classic. Think MUI is ahead on this one but the users had to buy the licence to run MUI on OS4 or something and it wasn't granted that development would continue. My memory is probably failing on this one but again, please no flame wars, just present the facts.

Thanks!
José
It sounds like you'd like to modify a fair bit, or create your own classes. I just wanted to pick classes that could already do what I needed without needing to put in any extra work. I found that MUI had a nicer listview at the time so I ended up using that for most of my Amiga projects. Whatever the project is, I'd investigate and see which classes are available for Reaction and MUI, and see which fits your project best. Of course, if you want to be multi-Amiga platform, then MUI is the way to go. I didnt realise it at the time, but when you code stuff its good to make it as easily portable as possible.. some things get a bit intertwined, but if can seperate the UI from the business stuff (which I'm trying to do more these days), then it helps when you want to port stuff.
jahc is offline   Reply With Quote
Old 02-12-2011, 07:58 PM   #9
nicholas
Guru Meditator
Points: 16,205, Level: 81 Points: 16,205, Level: 81 Points: 16,205, Level: 81
Activity: 99% Activity: 99% Activity: 99%
 
nicholas's Avatar
 
Join Date: Feb 2003
Location: Englistan
Posts: 6,821
Default Re: Reaction vs MUI (as what concerns the API)

Quote:
Originally Posted by Minuous View Post
ReAction is the official AmigaOS GUI, this applies to both 3.x and 4.x.
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.
__________________
http://www.commodore.gen.tr/forum/in...38089#msg38089
http://sf.net/projects/amithlon/files/

“Socialism" is no more an evil word than "Christianity." Socialism no more prescribed Joseph Stalin and his secret police and shuttered churches than Christianity prescribed the Spanish Inquisition. Christianity and socialism alike, in fact, prescribe a society dedicated to the proposition that all men, women, and children are created equal and shall not starve.” - Kurt Vonnegut

Last edited by nicholas; 02-12-2011 at 08:01 PM..
nicholas is offline   Reply With Quote
Old 02-12-2011, 08:44 PM   #10
mongo
Premium Member
Points: 10,063, Level: 67 Points: 10,063, Level: 67 Points: 10,063, Level: 67
Activity: 17% Activity: 17% Activity: 17%
 
Join Date: Feb 2002
Posts: 889
Default Re: Reaction vs MUI (as what concerns the API)

Quote:
Originally Posted by Minuous View Post
Wow, the MUI-lovers are out in force today :-(

ReAction is the official AmigaOS GUI, this applies to both 3.x and 4.x. If AROS and MOS don't support then that is a lack in those OSes. If those OSes didn't support eg. menus, would there be suggestions along the lines of "don't use menus"?
ReAction software can run under MOS, it's just a matter of the relevant classes being omitted from the MOS CD for some reason. As for AROS, if/when the 68K emulation ever gets done then ReAction classes will be usable under that too. As it stands, AROS is missing huge chunks of functionality and isn't ready for prime time anyway.

MUI is a third-party hack and rather slow and ugly IMHO, requiring many extra files and not giving any benefit over ReAction. Another case of reinventing the wheel for no real purpose and forcing users to go download and install extra packages instead of using what is already present in the OS.
ReAction is based on ClassAct from Finale Development and was renamed and added to Amiga OS in version 3.5.

MUI was available 7 years before that.
mongo is offline   Reply With Quote
Old 02-12-2011, 10:05 PM   #11
matthey
Cult Member
Points: 5,816, Level: 49 Points: 5,816, Level: 49 Points: 5,816, Level: 49
Activity: 13% Activity: 13% Activity: 13%
 
Join Date: Aug 2007
Location: Kansas
Posts: 738
Default Re: Reaction vs MUI (as what concerns the API)

Reaction:
+ fast
+ small
+ expandable (boopsi objects)
+ integrated very well with AmigaOS
- not available on AROS
- not as many ready made custom classes or examples

MUI/Zune:
+ available on all Amiga like platforms
+ expandable (boopsi objects) with many available custom classes
+ very configurable
+ easy and fast to program
+ lots of documentation
- 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)

I prefer to use and look at Reaction. MUI is easier to program and powerful (more configurability and ready made custom classes). I hope that all Amiga platforms will support both at this point. I can't image doing without either.
matthey is online now   Reply With Quote
Old 02-13-2011, 12:42 AM   #12
itix
Defender of the Faith
Points: 11,740, Level: 71 Points: 11,740, Level: 71 Points: 11,740, Level: 71
Activity: 5% Activity: 5% Activity: 5%
 
itix's Avatar
 
Join Date: Oct 2002
Posts: 1,874
Default Re: Reaction vs MUI (as what concerns the API)

Quote:
Originally Posted by Minuous View Post
Wow, the MUI-lovers are out in force today :-(

ReAction is the official AmigaOS GUI, this applies to both 3.x and 4.x.
Sorry but I dont remember any Reaction classes on my Workbench 3.1 install disks.

Quote:
If AROS and MOS don't support then that is a lack in those OSes. If those OSes didn't support eg. menus, would there be suggestions along the lines of "don't use menus"?
You can download ClassAct/Reaction from Aminet for free.

Quote:
ReAction software can run under MOS, it's just a matter of the relevant classes being omitted from the MOS CD for some reason.
There are no Reaction classes to omit. They never got written for MorphOS and I dont think we are going to see Reaction for MorphOS in the future. It just does not make sense when MUI is chosen as the official toolkit.

Quote:
MUI is a third-party hack and rather slow and ugly IMHO, requiring many extra files and not giving any benefit over ReAction. Another case of reinventing the wheel for no real purpose and forcing users to go download and install extra packages instead of using what is already present in the OS.
I know bunch of broken 3rd party MUI classes, just like I know tons of Amiga software which only reboots your Amiga without a warning. However, how many 3rd party Reaction classes you have seen in last 10 years? Is it less than zero?

But anyway, real reason to consider Reaction obsolete is that creating UI with Reaction is laborous. You have to invent wheel again and again if you want standard features into your software and it still hasnt got out from this ID based eventloop hell.
__________________
Only MorphOS makes it possible \o_

Last edited by itix; 02-13-2011 at 12:50 AM..
itix is offline   Reply With Quote
Old 02-13-2011, 12:45 AM   #13
itix
Defender of the Faith
Points: 11,740, Level: 71 Points: 11,740, Level: 71 Points: 11,740, Level: 71
Activity: 5% Activity: 5% Activity: 5%
 
itix's Avatar
 
Join Date: Oct 2002
Posts: 1,874
Default Re: Reaction vs MUI (as what concerns the API)

Quote:
Originally Posted by matthey View Post
- user interface is non standard (e.g. PSI instead of standard screen mode requestor)
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?
__________________
Only MorphOS makes it possible \o_
itix is offline   Reply With Quote
Old 02-13-2011, 12:54 AM   #14
Tcheko
Merely Curious
Points: 1,674, Level: 23 Points: 1,674, Level: 23 Points: 1,674, Level: 23
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Feb 2011
Posts: 15
Default Re: Reaction vs MUI (as what concerns the API)

Quote:
Originally Posted by matthey View Post
Reaction:
+ fast
+ small
+ expandable (boopsi objects)
+ integrated very well with AmigaOS
- not available on AROS
- not as many ready made custom classes or examples

MUI/Zune:
+ available on all Amiga like platforms
+ expandable (boopsi objects) with many available custom classes
+ very configurable
+ easy and fast to program
+ lots of documentation
- 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)

I prefer to use and look at Reaction. MUI is easier to program and powerful (more configurability and ready made custom classes). I hope that all Amiga platforms will support both at this point. I can't image doing without either.
MUI : Slow? Memory hog? Do you have any numbers?

To make some factual statement, we need to write a GUI benchmarking working on both ui framework : Reaction / MUI.

For example, how long does it take to MUI / Reaction to create a window with 1024 buttons (32 x 32 buttons grid) and release all resources. The window shall be opened and then closed and application exited.

The test should be run on the same hardware (let say a Pegasos2) and execution time measured from start to end of program.

Another version of the program that exit on window close button should be created. This version is for memory test:
- avail flush
- run <>nil: memtestprogram
- avail flush

Compare numbers.

This would give a raw and rough estimation about which one is the fastest (for buttons at least). MUI button should be set to something that looks like Reaction button.

I can write the MUI program test... if anyone feel writing the reaction one.

Both sources shall be published for comparison. No custom startup code allowed. The only allowed optimisation is using gcc -O3.
Tcheko is offline   Reply With Quote
Old 02-13-2011, 12:57 AM   #15
lsmart
Technoid
Points: 4,295, Level: 41 Points: 4,295, Level: 41 Points: 4,295, Level: 41
Activity: 1% Activity: 1% Activity: 1%
 
lsmart's Avatar
 
Join Date: Jun 2009
Location: Germany
Posts: 434
Blog Entries: 23
Default Re: Reaction vs MUI (as what concerns the API)

Quote:
Originally Posted by matthey View Post
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!!!!
lsmart is offline   Reply With Quote
Reply

Bookmarks

Tags
reaction , mui , concerns , api

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump