Very interesting and informative. Should be converted to PDF and included to OS4 SDK :) Keep them coming !
Submitted by jaokim on
Great info. I've looked for something telling me how to this stuff -- never liked the macros.
Submitted by Steady on
Thanks for writing that Trixie. It really helps to see a well-written description of Reaction programming rather than having to just read examples. I'm working on a framework for some of my future projects and I will be able to make some changes as a result. :-)
Again, thanks a lot.
Submitted by walkero on
I always thought that the GUI creators confuse people more than helping them. But if we need more programmers, there is a need of such programs. And we need good documentation for the next wannabe programmers, like me.
Really great article. Well written. That's the spirit we need. Keep them coming.
Submitted by trixie on
I am glad you find the article useful! Time permitting, I'll try to write some more.
@walkero
I absolutely agree that we need a GUI builder to speed up application development on OS4. Let's hope that the builder promised by Jamie Krueger will materialize in the end, and that it will produce code in line with the recommendations.
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Author of WordNet for OS4
Submitted by LyleHaze on
Nice.
I just edited my current application to follow these suggestions.
I don't want to claim that I have ReAction "all figured out", but it's certainly a lot easier to read now. Thanks for pulling this information together for us!
LyleHaze
LyleHaze
Submitted by cha05e90 on
Very, very nice read and fine overview - a lot of things I didn't knew. And now an introduction to the application.library - pleeeeease, Trixie! ;-)
EDIT: Btw, there's another little GUI Helper done by Tuomas Hokka named "GUIDesigner" (see OS4Depot). At least it helped me (newbie) by setting up some simple GUI framework...
X1000|II/G4|440ep|2000/060|2000/040|1000
Submitted by trixie on
And now an introduction to the application.library - pleeeeease, Trixie! ;-)
While Application.library is probably the most under-documented component of OS4, it's a real chunk with so much different functionality - dockies, PrefsObjects, inter-application messaging - that I doubt it could be put in a single blog post. I was planning an article on messaging using application.library but that really depends on time. Plus, I am no expert on the library - there are people who know lots more about dockies (Fredrik Wikstrom) or the PrefsObjects system (CentaurZ).
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Author of WordNet for OS4
Submitted by walkero on
Plus, I am no expert on the library - there are people who know lots more about dockies (Fredrik Wikstrom) or the PrefsObjects system (CentaurZ).
We might have to ask them put some of their experience here, in a blog post. I hope they will.
Submitted by trixie on
UPDATE: Section 2.6 has been rewritten to also cover the creation of gadget lists.
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Author of WordNet for OS4
Submitted by OldFart on
Indeed a very interesting read! I've reworked my sources immediately to cater for this 'new' style of handling gadget classes. Pograms like 'AssignView' and 'AlignWindows' compiled virtually without flaws and hiccups and functioned as before, so I guess that everything went as planned.
A remark I feel i have to make: in case you need the functionallity of a class you have to remember to open its interface as per usual, with the only difference being that the pointer to the ClassLibrary has to be cast to struct Library. I.e.: struct xxxIFace *Ixxx = (struct xxxIFace *)IExec->GetInterface((struct Library *)xxxBase, "main", 1, TAG_END);
Don't forget to shut the interface down in the usual way, but that goes without saying.
Well done!
OldFart
Submitted by YesCop on
Hi Trixie,
As others said, this article is very interesting. Since a couple of weeks, I have read how to make guis, how to use macros. Now I must forget what I read. Thanks !
Don't be afraid, you will be forgiven if you write some others articles so well described and written.
As someone said here, you explained how the system worked and not only posted a source.
Thanks,
YesCop
Submitted by Coder on
Great stuff Trixie! I was doing it all wrong. :-) Besides this great info I actually learned some more things about ReAction as well. ReAction is a big hurdle but with this I am getting even further. Thanks!
Submitted by trixie on
Glad I could help!
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Author of WordNet for OS4
Submitted by AlfredOne on
Thanks a lot! This is a very useful guide.
I will use this guide to improve source code of my current project.
Comments
Submitted by kas1e on
Submitted by jaokim on
Submitted by Steady on
Submitted by walkero on
Submitted by trixie on
Submitted by LyleHaze on
Submitted by cha05e90 on
Submitted by trixie on
Submitted by walkero on
Submitted by trixie on
Submitted by OldFart on
Submitted by YesCop on
Submitted by Coder on
Submitted by trixie on
Submitted by AlfredOne on