TweetFollow Us on Twitter

Self Paced Lessons
Volume Number:7
Issue Number:9
Column Tag:Tools of the Trade

Self-Paced Mac Programming

By Joe Pillera, MacTutor Contributing Editor, Environmental Research, Institute of Michigan

Introduction

One of the caveats of Macintosh has always been that it’s a nontrivial machine to program - largely in part because the Mac is more sophisticated than most other popular computer platforms.

But this has finally changed for the better: Apple’s Developer University has just recently released a self-paced course on CD ROM - spanning over 500 megabytes on disk - called Macintosh Programming Fundamentals (MPF henceforth). This product uses Macromind Director to teach Mac programming using sound, graphics and animation. And the result is impressive.

Selecting a course from the menu

Refer to Figure 1: MPF uses Hypercard as a front end, to make navigation throughout different parts of the course easy and intuitive. As can be seen from the illustration, MPF covers the following ROM managers in detail, in order to allow you to construct a completely functional draw program (called Target) when you complete the course:

 Control Manager Print Manager
 Event Manager   Quick Draw
 File Manager    Resource Manager
 Memory Manager  Standard File Package
 Menu Manager    Window Manager

Clicking on “Building an Event Loop” in Figure 1 will immediately bring up the screen as shown in Figure 2. Every subtopic consists of three major parts: the lesson, self-test questions, and lab exercises.

Because Macromind Director is used throughout, each “frame” on the lesson is completely animated and narrated, as is the excerpt from the Managing Memory module in Figure 3.

Making the grade

One of the nicest parts of this course is its self-testing ability. If you answer a self-test question incorrectly, the button “Review Lesson” flashes at the bottom of your screen. Clicking it activates a hypertext-type of link to the exact lesson frame that explained the concept. Refer to Figure 4: the top half of the illustration represents the self-test question; the bottom half is the screen that appears when you click “Review Lesson.” In this case, a narrator’s voice came out of my Mac telling me PrCloseDoc() is the function I should use when a previous call to PrOpenDoc() has been made. An animated diagram was then drawn on my screen to reinforce the concept.

Animated homework

As if providing lab exercises at the end of each lesson wasn’t enough, Apple did the ultimate: they provided a Show Me facility - an animated and narrated cheat sheet, if you will. So if you get stuck in a lab problem, just click Show Me to bail you out.

Show Me is so thorough, it simulates exactly how a professional Mac programmer would solve the problem - all the way from double clicking on the THINK C application to cutting and pasting source code to solve the problem. Even the THINK C compile process is simulated - to give you the feeling an instructor is doing all the work right at your keyboard. Someone really put a lot of effort into this feature.

Right on the bullseye

When you’re all done with the course, you’ll have a fully-functional draw program called Target. No - it doesn’t blow away Aldus Freehand™, but it does provide you with source code that handles everything from printing to scrolling of graphical items in windows.

However, the power-programmer in me did surface at the end, so here’s my wish list for future versions of the MPF Target application: tear-off menus (like in MacPaint), multiple page specifications for a window (like in MacDraw), color, and more support for MultiFinder and forthcoming System 7 features.

Conclusion

Apple has really struck gold with MPF. Combining detailed illustrations with animation and sound, it’s as close as you’ll ever get to sitting in a classroom - and a lot more convenient.

Joe Pillera is a research scientist at the Environmental Research Institute of Michigan (ERIM) in Ann Arbor, Michigan. The opinions expressed here are solely those of Joe Pillera, and not of ERIM or its affiliates. The author can be reached electronically via the GEnie service by sending mail to JPILLERA. All trademarks are registered to their respective holders.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Combo Quest (Games)
Combo Quest 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: Combo Quest is an epic, time tap role-playing adventure. In this unique masterpiece, you are a knight on a heroic quest to retrieve... | Read more »
Hero Emblems (Games)
Hero Emblems 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: ** 25% OFF for a limited time to celebrate the release ** ** Note for iPhone 6 user: If it doesn't run fullscreen on your device... | Read more »
Puzzle Blitz (Games)
Puzzle Blitz 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Puzzle Blitz is a frantic puzzle solving race against the clock! Solve as many puzzles as you can, before time runs out! You have... | Read more »
Sky Patrol (Games)
Sky Patrol 1.0.1 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0.1 (iTunes) Description: 'Strategic Twist On The Classic Shooter Genre' - Indie Game Mag... | Read more »
The Princess Bride - The Official Game...
The Princess Bride - The Official Game 1.1 Device: iOS Universal Category: Games Price: $3.99, Version: 1.1 (iTunes) Description: An epic game based on the beloved classic movie? Inconceivable! Play the world of The Princess Bride... | Read more »
Frozen Synapse (Games)
Frozen Synapse 1.0 Device: iOS iPhone Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Frozen Synapse is a multi-award-winning tactical game. (Full cross-play with desktop and tablet versions) 9/10 Edge 9/10 Eurogamer... | Read more »
Space Marshals (Games)
Space Marshals 1.0.1 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0.1 (iTunes) Description: ### IMPORTANT ### Please note that iPhone 4 is not supported. Space Marshals is a Sci-fi Wild West adventure taking place... | Read more »
Battle Slimes (Games)
Battle Slimes 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: BATTLE SLIMES is a fun local multiplayer game. Control speedy & bouncy slime blobs as you compete with friends and family.... | Read more »
Spectrum - 3D Avenue (Games)
Spectrum - 3D Avenue 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: "Spectrum is a pretty cool take on twitchy/reaction-based gameplay with enough complexity and style to stand out from the... | Read more »
Drop Wizard (Games)
Drop Wizard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Bring back the joy of arcade games! Drop Wizard is an action arcade game where you play as Teo, a wizard on a quest to save his... | Read more »

Price Scanner via MacPrices.net

Apple’s M4 Mac minis on sale for record-low p...
B&H Photo has M4 and M4 Pro Mac minis in stock and on sale right now for up to $150 off Apple’s MSRP, each including free 1-2 day shipping to most US addresses. Prices start at only $469: – M4... Read more
Deal Alert! Mac Studio with M4 Max CPU on sal...
B&H Photo has the standard-configuration Mac Studio model with Apple’s M4 Max CPU in stock today and on sale for $300 off MSRP, now $1699 (10-Core CPU and 32GB RAM/512GB SSD). B&H also... Read more

Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.