home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / oop / macapp3 / 185 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  5.3 KB

  1. Path: sparky!uunet!stanford.edu!apple!applelink.apple.com
  2. From: BERDAHL@AppleLink.Apple.COM (Taligent, Eric Berdahl,PAS)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: RE>MacApp demo code ?
  5. Message-ID: <724322275.6320755@AppleLink.Apple.COM>
  6. Date: 14 Dec 92 08:14:00 GMT
  7. Sender: daemon@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 96
  10.  
  11. Attn: MacApp 3.x Tech Discussion
  12. SentBy: Eric Berdahl
  13.  
  14.         Reply to:   RE>MacApp demo code ?
  15. Thomas,
  16.  
  17. I'm touched that you enjoyed the article on Object Model support, but I think
  18. you missed the point altogether. Or, maybe you didn't and you're just making
  19. some great hyperbolic point.
  20.  
  21. But before I go on with that discussion, let's set some facts straight.
  22.  
  23. First off, I don't believe that Apple ever announced OSL support for MacApp.
  24. They kept talking like there would be a 3.1, and that it would have Object
  25. Model support, but they were very careful not to make a clear commitment. That
  26. was one of the more annoying things about this whole mess is that they would
  27. never say what they would do other than think about it. Meanwhile, developers
  28. are left hanging in the breeze.
  29.  
  30. Second, the unsupported unit would never have worked. That was one of the
  31. central points of my presentation at MADACON '92: that you need underlying
  32. architectural support for scripting concepts, they can't be just pasted onto
  33. an application or a framework.
  34.  
  35. Third, the so-called unsupported unit is not what appears in the develop
  36. article. I do not work for Apple. During the five weeks I did work for Apple,
  37. I had nothing to do with the MacApp project. The MacApp group has never
  38. approached me about adding UAppleObject functionality to MacApp, and even when
  39. I had a prototype running, the only thing that happened was that I made the
  40. changes to MacApp available to the MacApp team so they could see how I thought
  41. it should be done.
  42.  
  43. Ok, now that the world axioms are realigned, let's get on to the substance of
  44. your comments.
  45.  
  46. Why should you write MacApp code when even I wrote an article about object
  47. programming without mentioning MacApp? There are lots of reasons. MacApp is
  48. the best class library available today for doing Macintosh development.
  49. Period. Another interesting journal is FrameWorks, The Journal for Software
  50. Developers using Object Technology. In the September '92 issue of that journal
  51. is an editorial I wrote on this very topic, "Is MacApp Dead?" [For the
  52. morbidly curious, backissues can be gotten from the MADA office,
  53. 408-253-2765.] So the answer to why you should develop with MacApp is that you
  54. need to ship product today and not wait for something the *might* come
  55. tomorrow.
  56.  
  57. So, why did I choose not to mention MacApp more than I did? That's an
  58. excellent question.
  59.  
  60. One reason is that there was an entire community of non-MacApp developers that
  61. haven't seen my ideas for Object Model support expressed in either design,
  62. theory, or code. They, too, deserve to have solutions presented to them.
  63.  
  64. Second, there are a great many people who still don't believe that things like
  65. multiple inheritance, other C++ features, or even C++ are useful tools. The
  66. Object Model problem cries out for just this kind of solution (which should
  67. not be a surprise to anyone who was at the MADACON presentation), and I
  68. thought I could do it justice in code. You'll have to be the judge of whether
  69. I succeed.
  70.  
  71. Third, if the choice is to do everything in MacApp and make the rest of the
  72. world convert out of MacApp or do everything in pure C++ and make the MacApp
  73. community convert, I'll choose the latter. In general, I find that members of
  74. the MacApp community are some of the brightest and resourceful people in the
  75. community. No bull here, I mean that. I didn't think it would be a problem for
  76. any MacApp developer to convert that code into an appropriate list of changes
  77. to MacApp, especially since the roadmap for how to do that is in the last few
  78. slides from the MADACON '92 presentation.
  79.  
  80. Fourth, any article discussion how to patch MacApp itself is going to be
  81. either too long or too narrowly focussed to be printed in develop.
  82.  
  83. Fifth, what I would have printed would go something like this:
  84. "Since MacApp is not based on multiple inheritance, and has little in the way
  85. of low level frameworks, all MAppleObject functionality must be added by the
  86. individual developer to TObject. TAppleObjectDispatcher functionality must
  87. likewise be patched into TApplication in order to provide proper AppleEvent
  88. distribution over and above MacApp's mechanisms. This will give you the
  89. mechanics to have Object Model support in MacApp, but you will likely be very
  90. unhappy with the result. Since MacApp has a rich library of classes that
  91. should be providing default Object Model behavior, just adding the mechanics
  92. are not enough. Instead, you will probably find yourself compelled to add such
  93. behavior to MacApp itself, out of a sense of indignity at Apple forgetting
  94. such a vital part of the architecture. For example, TWindow should implement
  95. the close AppleEvent. There is no reason that every application needs to do
  96. that, using TWindow itself should be sufficient. Unfortunately, since Apple
  97. didn't see fit to provide this functionality, you get to."
  98. Something tells me that the editor wouldn't have printed that.
  99.  
  100. Well, anyways, I hope that helps clear things up. Is MacApp dead? That's a
  101. silly question. Of course it isn't. It is stagnant? Only the future will
  102. decide that.
  103.  
  104. Stirring regards,
  105. Eric
  106.  
  107.