TweetFollow Us on Twitter

Software 94
Volume Number:10
Issue Number:5
Column Tag:The Editor's Page

Software Frameworks ‘94

By Scott T Boyd, Editor

Software Frameworks ‘94

A quick trip to Atlanta to check out the Software Frameworks Conference the first week in March yielded a handful of surprises. The group, which got its start many years ago with Larry Tesler handing out fuschia polo shirts to a modest group of MacApp afficionados, has grown, as have the number of frameworks and tools. The conference drew a strong contingent of industry leaders, including Ike Nassi, VP of Apple’s Development Products Group; Larry Tesler, Apple’s Chief Scientist and VP; Greg Galanos, Metrowerks man-about-town; Mike Potel, Taligent VP of Technology; Symantec’s Director of Language Products, David Neal; Novell’s VP of Appware System Group Joe Firmage. Lots of great tools and technologies had top talent there showing their wares, and we had a great time getting up close and personal guided tours from the people who build the tools. We spent time getting to know Smalltalk Agents (a truly great session, guys! I’ve never seen so much rapt attention), Jasik’s latest PowerPC debugging tools, Metrowerks’ CodeWarrior, Prograph CPX, the Newton Tool Kit/NewtonScript, and AppMaker. Technology teasers abounded. We got teased by Taligent about their framework, by Apple about Dylan and OpenDoc, by Microsoft/Symantec and others about the Microsoft Foundation Classes framework, and by Larry Tesler and his vision of the future. The rich selection of topics and products made up for the quick cross-country trip and utter loss of sleep and resulting loss of orientation.

We arrived just in time for the OLE/OpenDoc face-off. Apple brought Kurt Piersol, OpenDoc chief architect and suspender-wearing, beard-toting man-with-the-answers. Microsoft had hoped to bring their OLE heavyweight, Mark Ryland, but had to make a last minute replacement for unavoidable reasons.

We had hoped for a real world-class bout, but weren’t going to get one. We were treated to a fine presentation on OpenDoc, but the OLEpresentation really needed better technical representation than MSwas able to muster. We learned that OpenDoc offers multiple active parts, irregular and overlapping parts, support for high-end graphics, edit-in-place, distributed editors, linking, scripting, and even multiple-drafts (a revision management system). The object model uses a carefully restricted subset of C++ which offers multiple inheritance. It uses a CORBA-compliant SOM (IBM-developed) object model. Although OpenDoc is currently using Apple’s Shared Library Manager (ASLM), Kurt spoke highly of the work IBM has done with SOM, and is looking forward to the developer seed of PoenDoc, which will use SOM.

He was careful to point out that OpenDoc isn’t a framework, but, rather, an object oriented programming interface. It offers you the opportunity to build parts which will link dynamically into a document-oriented environment. This changes a lot about the model, both in the user’s mind and in how you can do business. Rather than build a whole application, you can concentrate on the data, both in how to display it and how to interact with it. If users like your parts, they’ll use yours. Although the motto “Parts is parts” sounds simple, it looks like a potential brave new world if OpenDoc really catches on.

As for OLE, all that I can say is that it’s shipping.

CodeWarrior experiences

I’ve been doing some work with a project which has 50 .c files, 55 .h files, totalling out to about 39,000 lines of code. I was wanting to play around with CodeWarrior, was at the conference, happened to be talking to Greg Dow (who just happens to work for Metrowerks), and there we were with nothing better to do at one in the morning. Five hours later, this application was building and running with CodeWarrior. Five hours - not bad.

Now, sure, it’s true that the code was buildable under both ThinkC 5.x and MPW 3.2, so the code was already in pretty good shape from a portability standpoint. That certainly helped make the task easier. Although Convert•Projects by Rich Siegel could have saved us some work, I wanted to get a feel for how someone like Greg works in the environment. So what did we do during those five early-morning hours?

First, we launched CodeWarrior by dropping one of my source files on the application. Unlike the Think product, CodeWarrior is happy to open a text file without requiring that you have a project open. What a relief! It’s such a small point, but it makes me wonder why Symantec hasn’t done this by now. Anyway, we created a project file and added all of the source files in the directory. If you haven’t seen what it’s like to be in the CodeWarrior environment, it looks a lot like Think Project Manager.

Next we went to the Preferences dialog, and selected a few things, like how strict we wanted the compiler to be about types, prototypes, language extensions, and such. We chose mostly plain vanilla options. We also told it that we were building an application, and set things like the creator, size flags, and the default heap size.

A few things caught my attention. First, CodeWarrior can generate .SYM files. This opens it up for your favorite debugging tools, like Jasik’s The Debugger, as well as Metrowerks’ own debugger. This stands in stark contrast to Symantec’s decision to not generate .SYM files, although the Power Mac cross compiler shipping this month does generate .SYM files.

Second, they have a popup menu with a healthy selection of standard code models. This makes it easy to specify something like Apple’s MPW C conventions without needing to remember all of the details which make it unique. We started out with very relaxed constraints, then tightened them up later in the effort.

“Third, although the similarities between Think and Metrowerks help a newbie navigate, I had to wonder whether a series of dialogs (looking like a modal throwback to the old Control Panel) is the best way to deal with preferences.”

Once we had all of that set up, we tried compiling the first file. Right away we discovered that we needed to think a little bit. Since the sources were set up to compile under either MPW or Think (an historical artifact which reminded us that people like Symantec’s quick turnaround tools and MPW’s code generation), each source file used an #ifdef to decide whether to use precompiled headers for THINKC, or to #include an all-inclusive .h file. At first we tried not defining the THINKC symbol, but the includes were so extensive that build time, even as fast as CodeWarrior is, was too long. So we went and built a precompiled header file (a simple, one step menu command), and added a #define for THINKC.

This is where we spent too much time. It was early in the morning, we were tired, and we got confused. At first, we built the precompiled headers without THINKC defined. Then we figured that out, and built them correctly. Then we forgot that we still had to have the symbol defined when we built the rest of the files. I don’t know how much time we wasted on that one, but the bottom line was, because of the way the files had originally been set up for building in either environment, we had to define the symbol both when building the headers and when compiling the sources.

Universal Procedure Pointers (UPPs) - It’s only fitting that I had to deal with UPPs and the universal headers, given that I spent so much time at Apple working on them. What goes around does seem to come around. Fortunately, we somehow managed to keep the impact to a minimum, and I only had to make a handful of changes, and it was no big deal to guess the UPP name for a specific procPtr (although I did have to open a couple of header files for names I guessed wrong).

All in all, we had a lot of fun, and it only took a little while to get up and going, and most of that was simply updating my code for the universal headers, a job I had to do anyway. I’m now enjoying fast build times and a smooth debugging environment, and am looking forward the forthcoming CodeWarrior improvements.

Software Developers conference

The third week in March found us in San Jose for the Software Developers Conference. Strangely enough, it started on the day of the Power Macintosh rollout. That wouldn’t really be noteworthy, but one particular sponsor of the conference saw fit to hang banners in the entryway, proudly sporting the following text: “The Power of Pentium, Available Today”. You don’t say?

That should have been enough of a tip-off, but we checked out the rest of the conference anyway. Evidently, software developer generally means “person who programs a box running a Microsoft operating system”. Sure, there were exceptions. Apple, Metrowerks, Symantec, and others did their part, but it was still clearly a conference mostly for little-endians. It was also clear that they have a rich selection of tools, many of which offer much more advanced visual features.

Symantec likes the number 7.0

Speaking of visual tools, Symantec announced their new C++, which includes a graphical interface builder. I saw a version of this a few months back, and complained about too much modality, and I was pleasantly surprised to see that they put some effort into making it dynamic and modeless. They’ve made a lot of improvements, and it’s worth checking out. We’ll try to bring you a review soon.

I suppose I’ve seen cornier things, but the Symantec gala party/product announcement at the conference made me wonder. At least it had Windows developers asking, “Is that for Macintosh?” and looking a bit downcast when I said “Yes”.

For more info:

OpenDoc and Component Integration Laboratories (CIL), send a note to info@cil.org.

Microsoft, MFC (Microsoft Foundation Classes), and the Developer Services Team (not a technical support group), call 1-800-227-4679x11771

Smalltalk Agents and their smalltalk discussion group, drop a note to buell@qks.com and ask to be added to the reflector.

CodeWarrior by Metrowerks, see the Mail Order Store at the back of the magazine, or call us at 310/575-4343. Metrowerks people have an active presence on the Internet, CompuServe, and other online services.

Food for thought

Seen in the San Jose Mercury News: “Pentium PCI System, Ultra High Performance System $2699. Intel 60MHz Pentium, PCI IDE HD, Intel PCI Mercury Chip Set, 512K cache, 16MB, MAXTOR 540MB 8.5ms IDE” Right next to it, on the same page, “Apple Power Macintosh 6100/60 8MB/160HD $1595, 7100/66 8MB/250HD $2699”.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

LaunchBar 6.18.5 - Powerful file/URL/ema...
LaunchBar is an award-winning productivity utility that offers an amazingly intuitive and efficient way to search and access any kind of information stored on your computer or on the Web. It provides... Read more
Affinity Designer 2.3.0 - Vector graphic...
Affinity Designer is an incredibly accurate vector illustrator that feels fast and at home in the hands of creative professionals. It intuitively combines rock solid and crisp vector art with... Read more
Affinity Photo 2.3.0 - Digital editing f...
Affinity Photo - redefines the boundaries for professional photo editing software for the Mac. With a meticulous focus on workflow it offers sophisticated tools for enhancing, editing and retouching... Read more
WhatsApp 23.24.78 - Desktop client for W...
WhatsApp is the desktop client for WhatsApp Messenger, a cross-platform mobile messaging app which allows you to exchange messages without having to pay for SMS. WhatsApp Messenger is available for... Read more
Adobe Photoshop 25.2 - Professional imag...
You can download Adobe Photoshop as a part of Creative Cloud for only $54.99/month Adobe Photoshop is a recognized classic of photo-enhancing software. It offers a broad spectrum of tools that can... Read more
PDFKey Pro 4.5.1 - Edit and print passwo...
PDFKey Pro can unlock PDF documents protected for printing and copying when you've forgotten your password. It can now also protect your PDF files with a password to prevent unauthorized access and/... Read more
Skype 8.109.0.209 - Voice-over-internet...
Skype is a telecommunications app that provides HD video calls, instant messaging, calling to any phone number or landline, and Skype for Business for productive cooperation on the projects. This... Read more
OnyX 4.5.3 - Maintenance and optimizatio...
OnyX is a multifunction utility that you can use to verify the startup disk and the structure of its system files, to run miscellaneous maintenance and cleaning tasks, to configure parameters in the... Read more
CrossOver 23.7.0 - Run Windows apps on y...
CrossOver can get your Windows productivity applications and PC games up and running on your Mac quickly and easily. CrossOver runs the Windows software that you need on Mac at home, in the office,... Read more
Tower 10.2.1 - Version control with Git...
Tower is a Git client for OS X that makes using Git easy and more efficient. Users benefit from its elegant and comprehensive interface and a feature set that lets them enjoy the full power of Git.... Read more

Latest Forum Discussions

See All

Pour One Out for Black Friday – The Touc...
After taking Thanksgiving week off we’re back with another action-packed episode of The TouchArcade Show! Well, maybe not quite action-packed, but certainly discussion-packed! The topics might sound familiar to you: The new Steam Deck OLED, the... | Read more »
TouchArcade Game of the Week: ‘Hitman: B...
Nowadays, with where I’m at in my life with a family and plenty of responsibilities outside of gaming, I kind of appreciate the smaller-scale mobile games a bit more since more of my “serious" gaming is now done on a Steam Deck or Nintendo Switch.... | Read more »
SwitchArcade Round-Up: ‘Batman: Arkham T...
Hello gentle readers, and welcome to the SwitchArcade Round-Up for December 1st, 2023. We’ve got a lot of big games hitting today, new DLC For Samba de Amigo, and this is probably going to be the last day this year with so many heavy hitters. I... | Read more »
Steam Deck Weekly: Tales of Arise Beyond...
Last week, there was a ton of Steam Deck coverage over here focused on the Steam Deck OLED. | Read more »
World of Tanks Blitz adds celebrity amba...
Wargaming is celebrating the season within World of Tanks Blitz with a new celebrity ambassador joining this year's Holiday Ops. In particular, British footballer and movie star Vinnie Jones will be brightening up the game with plenty of themed in-... | Read more »
KartRider Drift secures collaboration wi...
Nexon and Nitro Studios have kicked off the fifth Season of their platform racer, KartRider Dift, in quite a big way. As well as a bevvy of new tracks to take your skills to, and the new racing pass with its rewards, KartRider has also teamed up... | Read more »
‘SaGa Emerald Beyond’ From Square Enix G...
One of my most-anticipated releases of 2024 is Square Enix’s brand-new SaGa game which was announced during a Nintendo Direct. SaGa Emerald Beyond will launch next year for iOS, Android, Switch, Steam, PS5, and PS4 featuring 17 worlds that can be... | Read more »
Apple Arcade Weekly Round-Up: Updates fo...
This week, there is no new release for Apple Arcade, but many notable games have gotten updates ahead of next week’s holiday set of games. If you haven’t followed it, we are getting a brand-new 3D Sonic game exclusive to Apple Arcade on December... | Read more »
New ‘Honkai Star Rail’ Version 1.5 Phase...
The major Honkai Star Rail’s 1.5 update “The Crepuscule Zone" recently released on all platforms bringing in the Fyxestroll Garden new location in the Xianzhou Luofu which features many paranormal cases, players forming a ghost-hunting squad,... | Read more »
SwitchArcade Round-Up: ‘Arcadian Atlas’,...
Hello gentle readers, and welcome to the SwitchArcade Round-Up for November 30th, 2023. It’s Thursday, and unlike last Thursday this is a regular-sized big-pants release day. If you like video games, and I have to believe you do, you’ll want to... | Read more »

Price Scanner via MacPrices.net

Deal Alert! Apple Smart Folio Keyboard for iP...
Apple iPad Smart Keyboard Folio prices are on Holiday sale for only $79 at Amazon, or 50% off MSRP: – iPad Smart Folio Keyboard for iPad (7th-9th gen)/iPad Air (3rd gen): $79 $79 (50%) off MSRP This... Read more
Apple Watch Series 9 models are now on Holida...
Walmart has Apple Watch Series 9 models now on Holiday sale for $70 off MSRP on their online store. Sale prices available for online orders only, in-store prices may vary. Order online, and choose... Read more
Holiday sale this weekend at Xfinity Mobile:...
Switch to Xfinity Mobile (Mobile Virtual Network Operator..using Verizon’s network) and save $500 instantly on any iPhone 15, 14, or 13 and up to $800 off with eligible trade-in. The total is applied... Read more
13-inch M2 MacBook Airs with 512GB of storage...
Best Buy has the 13″ M2 MacBook Air with 512GB of storage on Holiday sale this weekend for $220 off MSRP on their online store. Sale price is $1179. Price valid for online orders only, in-store price... Read more
B&H Photo has Apple’s 14-inch M3/M3 Pro/M...
B&H Photo has new Gray and Black 14″ M3, M3 Pro, and M3 Max MacBook Pros on Holiday sale this weekend for $100-$200 off MSRP, starting at only $1499. B&H offers free 1-2 day delivery to most... Read more
15-inch M2 MacBook Airs are $200 off MSRP on...
Best Buy has Apple 15″ MacBook Airs with M2 CPUs in stock and on Holiday sale for $200 off MSRP on their online store. Their prices are among the lowest currently available for new 15″ M2 MacBook... Read more
Get a 9th-generation Apple iPad for only $249...
Walmart has Apple’s 9th generation 10.2″ iPads on sale for $80 off MSRP on their online store as part of their Cyber Week Holiday sale, only $249. Their prices are the lowest new prices available for... Read more
Space Gray Apple AirPods Max headphones are o...
Amazon has Apple AirPods Max headphones in stock and on Holiday sale for $100 off MSRP. The sale price is valid for Space Gray at the time of this post. Shipping is free: – AirPods Max (Space Gray... Read more
Apple AirTags 4-Pack back on Holiday sale for...
Amazon has Apple AirTags 4 Pack back on Holiday sale for $79.99 including free shipping. That’s 19% ($20) off Apple’s MSRP. Their price is the lowest available for 4 Pack AirTags from any of the... Read more
New Holiday promo at Verizon: Buy one set of...
Looking for more than one set of Apple AirPods this Holiday shopping season? Verizon has a great deal for you. From today through December 31st, buy one set of AirPods on Verizon’s online store, and... Read more

Jobs Board

Senior Software Engineer - *Apple* Fundamen...
…center of Microsoft's efforts to empower our users to do more. The Apple Fundamentals team focused on defining and improving the end-to-end developer experience in Read more
Omnichannel Associate - *Apple* Blossom Mal...
Omnichannel Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Housekeeper, *Apple* Valley Villa - Cassia...
Apple Valley Villa, part of a senior living community, is hiring entry-level Full-Time Housekeepers to join our team! We will train you for this position and offer a Read more
Senior Manager, Product Management - *Apple*...
…Responsibilities** We are seeking an ambitious, data-driven thinker to assist the Apple Product Development team as our Wireless Product division continues to grow Read more
Mobile Platform Engineer ( *Apple* /AirWatch)...
…systems, installing and maintaining certificates, navigating multiple network segments and Apple /IOS devices, Mobile Device Management systems such as AirWatch, and Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.