Yokemate of Keyboards
Posts: 2795 from 2006/3/21
From: Northern Calif...
Quote:
jacadcaps wrote:
@krashan:
I think there are some MUI4 / subclassing topics you have yet to cover if you want to consider the MUI tutorial complete.
Things that come to mind:
1) object ownership / memory management, notification ownership and issues that arise when a notification tries to delete its invoking object (as in: when and how to use pushmethod even in singlethreaded apps)
2) the purpose of and technicals of subclassing of application/group/numeric/list objects (most common cases I guess), the point of having app's functionality spread across the subclasses since I believe many people still don't grasp the idea and are trying to use hooks for notifications resulting in a very poor application code structure
3) writing mccs
4) building interfaces dynamically - all the Group.mui magic with object insertion/addition at runtime
5) multithreading MUI apps (with a networking example) - all the tricks related to proper synchronization, waiting for threads to finish, messaging between threads (when can one pushmethod safely and when one should consider messages/signals instead), proper synchronization, etc
This is great to have one accomplished programmer writing tutorials, or articles and other accomplished programmers (including programmers from the MorphOS Dev. Team) reviewing the work and suggesting ways to improve, or expand it. Even the best of programmers approach certain tasks in different ways and having more than one point of view can be very useful to other programmers that are trying to improve their skills, as well as beginning programmers that are just learning.
@spirantho,
This set of articles that Krashan is writing was asked for by, or influenced by a group of members here that wish to learn how to program for MorphOS2.x, so having these first few installments at a very basic level is appropriate, but I also hope that there is content within them that is useful to existing programmers.
I am sure that Krashan plans to raise the level of future articles/tutorials so they will be more useful to existing programmers and still be worded in a way that the beginning programmers will not get lost and be left behind.
This work by Krashan is perfect in its timing for me, as my motivation to improve my meager programming skills and start writing code on a regular schedule each week and month, is very high at this time. I hope that other experienced MorphOS2.x programmers will join Krashan in creating future tutorials, or other programming articles and applying for a portion of the bounty money already collected for such work. Diversity and different points of view from different experienced programmers can be a good thing, as long as it does not confuse the beginning programming students.
Thanks again Krashan for all your efforts and please continue to provide this valuable service to our community.
MorphOS - The best Next Gen Amiga choice.