• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Application Architecture - Think More About AppleEvents and OSA?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Application Architecture - Think More About AppleEvents and OSA?


  • Subject: Re: Cocoa Application Architecture - Think More About AppleEvents and OSA?
  • From: m <email@hidden>
  • Date: Thu, 30 Sep 2004 12:20:46 -0700

On Sep 30, 2004, at 11:26 AM, R. Scott Thompson wrote:

We ended up putting some things behind a facade with the view and controller
layers going through this facade. In the end, the scripting engine was
just a second user of the model, next to the UI. Personally, I would
do the same for an AppleScriptable application.

Yeah, this is a good way to handle things.

Just to add a "me too", I tend to think of the scripting layer as another controller that attaches to the same model. The "views" in this case are whomever may receive the results from handling a particular script command.

Don't know if it's been mentioned as an advantage yet, but doesn't using AppleEvents internally as a layer between your Model and your Views/Controllers make recordability of AppleEvents a no brainer?


I've been away from AppleEvents since back in the Mac OS9 days, so forgive me if there are issues with recordability in Mac OS X. I did notice that the Finder is not nearly as recordable as it was in Mac OS 9.

_murat

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cocoa Application Architecture - Think More About AppleEvents and OSA?
      • From: Bill Cheeseman <email@hidden>
References: 
 >Cocoa Application Architecture - Think More About AppleEvents and OSA? (From: Simon Liu <email@hidden>)
 >Re: Cocoa Application Architecture - Think More About AppleEvents and OSA? (From: Dustin Voss <email@hidden>)
 >Re: Cocoa Application Architecture - Think More About AppleEvents and OSA? (From: "R. Scott Thompson" <email@hidden>)

  • Prev by Date: setObjectForKey in NSMutableDictionary in Java
  • Next by Date: Re: setObjectForKey in NSMutableDictionary in Java
  • Previous by thread: Re: Cocoa Application Architecture - Think More About AppleEvents and OSA?
  • Next by thread: Re: Cocoa Application Architecture - Think More About AppleEvents and OSA?
  • Index(es):
    • Date
    • Thread