• MacTech Network:
  • Tech Support
  • |
  • MacForge.net
  • |
  • Apple News
  • |
  • Register Domains
  • |
  • SSL Certificates
  • |
  • iPod Deals
  • |
  • Mac Deals
  • |
  • Mac Book Shelf

MAC TECH

  • Home
  • Magazine
    • About MacTech in Print
    • Issue Table of Contents
    • Subscribe
    • Risk Free Sample
    • Back Issues
    • MacTech DVD
  • Archives
    • MacTech Print Archives
    • MacMod
    • MacTutor
    • FrameWorks
    • develop
  • Forums
  • News
    • MacTech News
    • MacTech Blog
    • MacTech Reviews and KoolTools
    • Whitepapers, Screencasts, Videos and Books
    • News Scanner
    • Rumors Scanner
    • Documentation Scanner
    • Submit News or PR
    • MacTech News List
  • Store
  • Apple Expo
    • by Category
    • by Company
    • by Product
  • Job Board
  • Editorial
    • Submit News or PR
    • Writer's Kit
    • Editorial Staff
    • Editorial Calendar
  • Advertising
    • Benefits of MacTech
    • Mechanicals and Submission
    • Dates and Deadlines
    • Submit Apple Expo Entry
  • User
    • Register for Ongoing Raffles
    • Register new user
    • Edit User Settings
    • Logout
  • Contact
    • Customer Service
    • Webmaster Feedback
    • Submit News or PR
    • Suggest an article
  • Connect Tools
    • MacTech Live Podcast
    • RSS Feeds
    • Twitter

ADVERTISEMENT

Postcard from Windowsland

James Plamondon

I love my new job at Microsoft. It's like they created it just for me. "Look, buddy, we need a guy who can code sample applications, write magazine articles, organize developers' groups, and make presentations to software companies. Do you think you can do that?" Do it? Of course I can do it-that's what I've been doing, on the side, for FUN, for years now. And they're going to PAY me, too? What a deal!

But, boy, is it keeping me busy! My primary task right now is organizing a big conference that I hope you heard about, and maybe (by the time this goes to press) even attended-the Microsoft Windows Programming Conference for Macintosh Developers. You probably saw the full-page ad on the inside of the back cover of last month's Frameworks. If not, well, you probably got at least one direct mail piece about the conference-you know, the one that said "Thinking About Windows?" on the envelope.

By the time you read this, though, the conference will be over. It was held right after MacWorld/SF, on the 11th and 12th of January, in the Fairmont Hotel in San Jose.

Microsoft organized this conference as a response to developer demand. At the August MacWorld Expo, I conducted a very informal survey of Macintosh software exhibitors, and found that more than half of them wanted to send people to such a conference; they'd send about three people each, in fact. So, it was clear that there was a lot of demand.

We designed the conference to address the needs of experienced Macintosh developers who wanted to leverage their existing knowledge of the Mac when learning Windows. Most books, magazine articles, and courses on Windows programming assume that their audience is composed of DOS programmers. For this audience, a lot of the concepts in Windows are new: mice, windows, menus, event-driven programming, user-centered design, etc.. But for those of us who have mastered the Macintosh, these issues are old news; wading through all that chaff makes learning Windows harder than it should be.

Furthermore, we found that a lot of Macintosh developers wanted to port their Mac applications to Windows as quickly as possible. They had invested a lot of time and money in Macintosh code, and they wanted to keep as much of it as possible.

So we focused the conference on two objectives: explaining Windows programming from a Macintosh perspective, and exploring case studies of how some well-known Macintosh applications were ported to Windows.

The first objective was addressed on the conference's first day. Sessions like "Windows System Architecture" and "Programming Windows (I, II, and III)" explained how Windows worked and how to program with it, using constant analogy to the Macintosh. These sessions were followed that afternoon with breakout sessions on networking and databases, multimedia, and Windows NT.

The second objective-porting-was addressed on the second day. Starting off with a session on "Writing Portable Code," we moved directly into case studies of three award-winning Macintosh applications that have been ported to Windows: Fractal Design's Painter, Aldus' PageMaker, and Software Ventures' Microphone. Each took a different approach to porting.

Fractal Design ported Painter to Windows using Altura Software's Mac-To- Windows technology toolkit, which (in effect) implements the Macintosh Toolbox on Windows. This technology allowed Fractal Design to port Painter to Windows with only minimal changes to their original Macintosh source code. This is clearly the quickest and easiest porting solution, if your application's code falls within the subset of the Macintosh Toolbox implemented in Altura's toolkit. (For more information, Altura can be reached at AppleLink address "ALTURA".)

Aldus wrote PageMaker (specifically, their story editor) using VAMP, a cross-platform object-oriented application framework. Similar in concept to Bedrock, the framework being developed jointly by Apple and Symantec, VAMP abstracts much of the underlying operating system and user interface. The target platforms are implemented differently, but abstracted uniformly, within VAMP. This allows applications written to VAMP to work on both Mac and Windows. This approach to porting requires that the application be written to a non-native API, but if you were planning on rewriting your application anyway, this approach is worth considering. (Unfortunately, it also requires a high-quality, cross- platform, object-oriented application framework, of which none are now commercially available; VAMP is proprietary.)

Software Ventures ported Microphone to Windows by rewriting it directly to the Windows API. This resulted in two versions of their code, one for Mac and one for Windows, with only a small amount of code shared between them. While this might appear to be wasteful, it has actually allowed Microphone to respond quickly to user demands, maintaining their award-winning standards of quality on both platforms. This approach is most appropriate for those application which expect to have the Windows version drive their sales (and thus development) in the future.

Finally, the conference considered the portability of the Windows API itself, both via the hardware portability of Windows NT (currently planned for Intel, MIPS, DEC Alpha, Intergraph's Clipper, and who knows what else in future), and the portability of the API across operating systems (including Windows 3.1 and Windows NT, as well as Unix and, maybe someday, the Macintosh). The message: "write to the Windows API, and it will take you everywhere."

If we get enough interest, we may be able to hold this conference again later. So if you were not able to attend, but wish you had gone, just wait, and maybe you'll be hearing from us again.

In the meantime, if you'd like to hear about the latest and greatest tools and techniques in object-oriented programming, from Microsoft as well as Apple, Symantec, Electron Mining, and others, register today for the Fourth Annual MADA Conference in San Diego (MADACON '93). I'll be there-heck, it's part of my job to attend fun events like MADACON. (and they're paying me for this?)

I hope to see you in San Diego. Be there or be tetrahedral!

 
MacTech Only Search:
Community Search:

 
 
 

 
 
 
 
 
  • SPREAD THE WORD:
  • Slashdot
  • Digg
  • Del.icio.us
  • Reddit
  • Newsvine
  • Generate a short URL for this page:



MacTech Magazine. www.mactech.com
Toll Free 877-MACTECH, Outside US/Canada: 805-494-9797
MacTech is a registered trademark of Xplain Corporation. Xplain, "The journal of Apple technology", Apple Expo, Explain It, MacDev, MacDev-1, THINK Reference, NetProfessional, Apple Expo, MacTech Central, MacTech Domains, MacNews, MacForge, and the MacTutorMan are trademarks or service marks of Xplain Corporation. Sprocket is a registered trademark of eSprocket Corporation. Other trademarks and copyrights appearing in this printing or software remain the property of their respective holders.
All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.
 
Nov. 20: Take Control of Syncing Data in Sow Leopard' released
Nov. 19: Cocktail 4.5 (Leopard Edition) released
Nov. 19: macProVideo offers new Cubase tutorials
Nov. 18: S Stardom anounces Safe Capsule, a companion piece for Apple's
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live