Click Here
home features news forums classifieds faqs links search
6155 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 95 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!

/  Forum Index
   /  Amiga Development
      /  Do AmigaOS developers conform to the RKRM Style Guide as expected?
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
Petah 
Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 11:07:04
#1 ]
Regular Member
Joined: 10-Mar-2003
Posts: 433
From: EU <3 ❤️

The topic says it all, boys and girl(s) - are the AmigaOS programs of 2012 as good as they can be? Cast your vote now and vent your opinions in the AmigaWorld.net forum.

_________________
That'll Put Marzipan In Your Pie Plate, Bingo
💻 Pro-Amiga, 🌍 Pro-Globalism, 🍅 Pro-Vegan, 🛦 Pro-NATO & 🇪🇺 Pro-Joint EU Defense Intervention Initiative

 Status: Offline
Profile     Report this post  
Daedalus 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 12:02:28
#2 ]
Super Member
Joined: 14-Jul-2003
Posts: 1680
From: Glasgow - UK, Irish born

@Petah

I think that overall most programs work reasonably closely to the style guides, though there are always exceptions - not using the versioning system being a pet peeve of mine, and there are a good few applications which lack an ARexx port or only have minimal ARexx support, which limits their usefulness.

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  
PhantomInterrogative 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 12:14:29
#3 ]
Cult Member
Joined: 10-Sep-2004
Posts: 813
From: The Interrogative Lair

@Petah

Mind you, I have not read the RKRM Styleguide, but have read excerpts on the internet about user interface design. (Amazingly, I've found that there are some college courses that still reference the Commodore Styleguide for further reading in their syllabi.) There are certain things that I do not believe make for an easy to use interface. One of those things is the overuse of tabs. Compare GUI preferences with just about any other preferences in the prefs drawer. GUI prefs is not very user friendly. In all fairness, though, the more complex the program, the harder it will be to use. GUI prefs is complex, but could it be made more styleguide compliant, or, if it is styleguide compliant, user-friendly?

_________________
I sold my SAM460ex lite... waiting for money to buy a Raspberry Pi... or a Classic A1000 with Buffee... or an A1222... and OS4.3 FE update 11

 Status: Offline
Profile     Report this post  
OldFart 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 12:42:07
#4 ]
Elite Member
Joined: 12-Sep-2004
Posts: 3080
From: Stad; en d'r is moar ain stad en da's Stad. Makkelk zat!

@PhantomInterrogative

GUI prefs is a nightmare! Of half the topics listed I haven't got a clue as to what it is about. So I picked things up once I had my A1200 up and running and moved them over to the µ with the intention to never alter anything (or at least as little as possible) for fear of loosing track and maybe even sanity.

YOU opened the can of worms, sir!

OldFart

_________________
Life is a waste of time.
Time is a waste of life.
Get wasted all the time
and you'll have the time of your life!

 Status: Offline
Profile     Report this post  
OldFart 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 12:54:37
#5 ]
Elite Member
Joined: 12-Sep-2004
Posts: 3080
From: Stad; en d'r is moar ain stad en da's Stad. Makkelk zat!

@Petah

Are you thinking of setting up the Amiga Style Police Squad?

When there is a gain in using ARexx in an application, I surely think the author will add it.

Some apps don't use HintInfo. My stance: use it! It's darn easy to implement and allows for a lot of very nice tricks, making a GUI and the info it contains that much better to grasp.

Myself I'm still looking for a way to have a window close itself and reopen again after prefs have been changed, allowing the prefs to become applied to that window. In general documentation (AutoDocs) I still find a bit lacking in many respects. When you know what it is about, the docs are clear enough, but if you haven't got a clue in the firstplace, then you're ressembling a monkey peeking in a rusty old whatch without getting any wiser.

There's now a new initiative of contributing to documentation and i think it is a huge step forward.

OldFart

_________________
Life is a waste of time.
Time is a waste of life.
Get wasted all the time
and you'll have the time of your life!

 Status: Offline
Profile     Report this post  
gonegahgah 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 13:50:04
#6 ]
Regular Member
Joined: 5-Dec-2008
Posts: 169
From: Australia

@PhantomInterrogative

Tabs in preference programs do get a little annoying; I agree. They can never really fully explain what the tab will reveal and they tend to be a hindrance rather than a help.

Tabs are okay when they are tied to a particular purpose rather than being a loose grouping of items that need to be fitted somewhere. In settings requestors I quite often find myself clicking on several tabs until I find what it is I'm actually after and I'm probably not alone. I'm guessing you might find this too.

The tabs in web browsers tend to be fine because each tab represents a page we want to refer to for a particular reason. Also, as an example, if the tabs were for accounts payable, accounts receivable, cash book, etc., it would probably be fine as we immediately know what they are. Even spreadsheets with tabs we tend to name the pages (well some of us) with a purpose related name; so we tend to be able to find what we want; rather than guessing.

 Status: Offline
Profile     Report this post  
Cool_amigaN 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 14:05:07
#7 ]
Super Member
Joined: 6-Oct-2006
Posts: 1229
From: Athens/Greece

@PhantomInterrogative

I am writing my Thesis regarding GUI and kids. Can you please provide me with a reference regarding the Commodore Style guide? I would very curious to study it, if possible :)

_________________

 Status: Offline
Profile     Report this post  
Xenic 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 14:26:48
#8 ]
Super Member
Joined: 2-Feb-2004
Posts: 1246
From: Pennsylvania, USA

@OldFart
Quote:
Some apps don't use HintInfo. My stance: use it! It's darn easy to implement and allows for a lot of very nice tricks, making a GUI and the info it contains that much better to grasp.

Agreed. Take a look at AISS; there are hundreds (thousands?) of possible gadget images. Who can remember what each represents. At the very least a program should have an HTML file showing the gadget images with a short description of what function each image represents. Isn't it ironic that after centuries of perfecting effecient alphabetic writing we are reverting to pictographic hieroglyphics on our computers. The television networks should start a new game show called "Name That Image" based on the icon images used in today's programs

_________________
X1000 with 2GB memory & OS4.1FE

 Status: Offline
Profile     Report this post  
Deniil715 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 14:45:52
#9 ]
Elite Member
Joined: 14-May-2003
Posts: 4248
From: Sweden

@Xenic

Yeah! HintInfo, or ShortHelp as it's called in MUI is something many programs lack, but it is so very helpful, and as you say, especially for those relying on an image only.

I don't decode icons very easily for some reason. I have to think and and have to do some form of relation database lookup in my head it feels like. Text is so much easier, it just goes straight in - the info is right there while and icon has to be parsed.

But my vote went to stack usage since I believe too many programs are lazy and define large arrays globally which gets allocated on the stack, and to fix the crashes they add a huge stack cookie several megabytes larger than needed instead of just allocate anything above a few kilos on the heap instead and make the program live with the default 64k.

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  
Hypex 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 15:06:28
#10 ]
Elite Member
Joined: 6-May-2007
Posts: 11351
From: Greensborough, Australia

@Petah

At first I thought you were asking if the actual AmigaOS developers write Amiga style guide compliant code! As if you were detecting a bit of hypocrisy in their code.

What I hate is:

Disorganised file structure with files all over the place or in one place that messes up your RAM Disk.

Litle or no documentation.

No icons for programs that need them.

No GUI for programs that should have them.

No installer for programs that are more complicated than a simple drag and drop. If you can code C you can easy write an AmigaDOS script.

Programs that depend on a host of others that are either not included or need to be tracked down over the internet. In the worse case these other programs would be in ther same state with the all the problems listed above.

Last edited by Hypex on 19-Jun-2012 at 03:06 PM.

 Status: Offline
Profile     Report this post  
PhantomInterrogative 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 16:37:00
#11 ]
Cult Member
Joined: 10-Sep-2004
Posts: 813
From: The Interrogative Lair

@Cool_amigaN

References
-----------------
General reference (including C=Amiga Style Guide):
http://hcibib.org/readings.html]http://hcibib.org/readings.html

http://goodtools.net/pages/SUNstyle/recr5.htm

http://academic.missouriwestern.edu/phriso/art388/pdf/reading/principles.pdf


References to Amiga User Interface Style Guide:
The original Intuition Style Guide http://amigarealm.whdownload.com/archives/manuals/Amiga%20Intuition%20Reference%20Manual-ENG.pdf

RKRM 1991 Style Guidehttp://www.worldcat.org/title/amiga-user-interface-style-guide/oclc/22764567&referer=brief_results


AROS UI Style Guide:
http://aros-exec.org/modules/newbb/viewtopic.php?post_id=24171

http://aros.sourceforge.net/documentation/developers/ui.php

_________________
I sold my SAM460ex lite... waiting for money to buy a Raspberry Pi... or a Classic A1000 with Buffee... or an A1222... and OS4.3 FE update 11

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 18:18:16
#12 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3209
From: Beds, UK

@Hypex

Quote:
No installer for programs that are more complicated than a simple drag and drop. If you can code C you can easy write an AmigaDOS script.


You can easily write an Installer script, that should read. Use the standard tool, especially in a thread referring to standards.

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 18:37:46
#13 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3209
From: Beds, UK

@Petah

Right, I think there are two themes here. The first is coded from the ground up, Amiga native applications, designed for the Amiga. These tend to implement the spirit of the Amiga Style Guide (I say spirit, because personally I've never seen a copy of it), with a "Project" menu, ARexx port if necessary, ReadArgs-style parsing on the command line, DataTypes loading and anything else we expect.

The second type are ports from other operating systems. These are often incredibly lazy, rarely make any effort whatsoever with using Amiga features or complying to any Amiga style guidelines, and sometimes don't even come with icons (even the default "tool" icon is apparently too much to ask).

There are some excellent ports out there, which have been ported over to the Amiga with care and use the Amiga's features (Qt is a recent example, and rare in that it can make lazy ports look like they've been written with the Amiga in mind, to an extent). The problem is that when you get into this territory, you are basically writing an Amiga native application which happens to use some open-source code. Even something which looks like a "lazy port" under my definition, can be a massive amount of work (I'm thinking of Timberwolf - and I really must stress that I recognise the amount of work that has gone in and would rather not call it "lazy", but in terms of complying to any hypothetical style guide, it is - at the moment, at least)

So, in conclusion - Amiga developers do comply to the Amiga style guide, unless they are porting something from another OS, in which case the portability is often (and sometimes necessarily) put before adding or changing code to make it comply to the style guide.

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 18:48:12
#14 ]
Elite Member
Joined: 9-Jun-2004
Posts: 13047
From: Norway

@Hypex
If you can write C you can make an installer in C right
I use AmigaDOS scripts but think forgotten a few things like how I ask for input strings, and validate the input’s, I think I will make an installer in C whit nice GUI when update Excalibur next time.

@Chris_Y:
AmigaDOS scripts where pretty standard in 1980’s to 1990’s, I never distributed my programs in 80 and 90’s, and never got the time to lean YAPL (yet another program language.)

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
asymetrix 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 20:07:41
#15 ]
Cult Member
Joined: 9-Mar-2003
Posts: 868
From: United Kingdom

@thread

Its not just documentation though.

documentation can be automated in code, so can help support bubbles.
autogenerate a list of gadgets created and add bubble text array

fill in the data and feed it to the application

We dont have reusable code modules or libraries as a html example.

open source HTML engine (from firefox) as html engine.

Then this Open source code module could be reused to make Amiga style programs that use the HTML engine.

Or one could use the HTML engine as a datatype streamer, so all apps can edit/create/view html.

or even a HTML engine datatype streamer with Arexx/Python/perl support for automated html edit/creation tasks.

Why cant we 'feed' Arexx/Python/Perl/LUA commands to a universal script parser.

So all applications could have 'universal script' support.

eg send Python script to any app to interface:

script="Python"
startscript
name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
endscript

_________________

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 19-Jun-2012 22:50:56
#16 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3209
From: Beds, UK

@NutsAboutAmiga

Installer has been standard since about 1991. It's a lot easier to write an installer in Installer with a friendly user interface, than it is to do the same in AmigaDOS. It handles all the common installation scenarios that require additional work if you are just writing a DOS script. It's these sorts of problem it was designed to overcome and it does what it does pretty well.

Don't write installation scripts with AmigaDOS, use Installer.

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
ggw 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 20-Jun-2012 2:51:42
#17 ]
Super Member
Joined: 24-May-2003
Posts: 1106
From: Austin, TX

@Chris_Y

To see an excellent example look at the installer script for VIncEd. Thomas' effort there was/is admirable.

_________________
..effects of civilization upon...nature, the growing gap between what education was supposed to accomplish and what it consisted of, the national debt and...high taxes, the problem of the excess cost of medical care -- Philip Wylie, 1951

 Status: Offline
Profile     Report this post  
ExiE 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 20-Jun-2012 9:19:05
#18 ]
Regular Member
Joined: 18-May-2004
Posts: 450
From: Czech Amiga News

I miss the most consistent look and feel of the OS and apps.

 Status: Offline
Profile     Report this post  
AlexC 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 20-Jun-2012 12:00:13
#19 ]
Super Member
Joined: 22-Jan-2004
Posts: 1301
From: City of Lost Angels, California.

@OldFart
Quote:
Myself I'm still looking for a way to have a window close itself and reopen again after prefs have been changed, allowing the prefs to become applied to that window.


Check the StartScreenNotifyTags() documentation and have a look at the DigiClock source code on OS4Depot for an example.
Basically you can set some bits to wait for, like:


NotifyMe = StartScreenNotifyTags(
SNA_PubName, PubScreen,
SNA_MsgPort, SNotifyMP,
SNA_Notify, SNOTIFY_BEFORE_CLOSESCREEN | SNOTIFY_BEFORE_CLOSEWB,
TAG_END );

When the screen wants to close you'll get one of those bits so you either iconify or close your window and set some bits to wait for the screen to reopen with:

NotifyMe = StartScreenNotifyTags(
SNA_PubName, PubScreen,
SNA_MsgPort, SNotifyMP,
SNA_Notify, SNOTIFY_AFTER_OPENSCREEN | SNOTIFY_AFTER_OPENWB,
TAG_END );

and then uniconfy or recreate your window when you get one of those bits.

It takes a lot more code (see digiclock) but that's the most relevent part for what you are trying to do.

_________________
AlexC's free OS4 software collection

AmigaOne XE/X1000/X5000/UAE-PPC OS4 laptop/X-10 Home Automation

 Status: Offline
Profile     Report this post  
PhantomInterrogative 
Re: Do AmigaOS developers conform to the RKRM Style Guide as expected?
Posted on 20-Jun-2012 12:30:23
#20 ]
Cult Member
Joined: 10-Sep-2004
Posts: 813
From: The Interrogative Lair

@Chris_Y

Use Installer... but I rewrote the installation script for ImageFX4.5 in AmigaDOS, because Installer didn't like OS4.x!? (this is tongue in cheek. I know the Installer used for IFX was the OS3.9 version)

In all seriousness, if I were to rewrite the ImageFX installation script using Installer, I would want a good tutorial from which to learn how to write said script.

_________________
I sold my SAM460ex lite... waiting for money to buy a Raspberry Pi... or a Classic A1000 with Buffee... or an A1222... and OS4.3 FE update 11

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle