TweetFollow Us on Twitter

September 93 - BAMADA Notes

BAMADA Notes

Robert Lenoil

After a winter hibernation, BAMADA-the San Francisco Bay Area MADA affiliate-is back in business, with illustrious speakers, first-peek demos, and one of the toughest audiences a presenter could ever dare to meet. BAMADA is now holding court the first Thursday of each month at 7pm in Apple's spanking new R&D campus, at 4 Infinite Loop (no, I'm not kidding) in Cupertino. Thanks to Bill Harris of Apple Computer for arranging the wonderful new meeting space. At the July meeting, attendees were treated to demos of the lightweight application framework QuickApp and the latest revision of the venerated MacApp view editor IcePick.

QuickAPP

First up were father-son duo Dave and Steve Wilson of Emergent Behavior, who demonstrated and discussed their latest entry in the frameworks wars: QuickApp. QuickApp is a C++ application framework for use with Symantec or MPW C++ that is well suited to prototyping, writing small utility programs, and other such endeavors that can benefit from a lean and mean framework. Dave Wilson's motivation to create QuickApp was his desire (need?) to program anywhere, anytime, on his PowerBook 170. Development with big macho frameworks just can't be done in "only" 8 megabytes of RAM. With QuickApp and Symantec C++, compile-run cycle times of 10-15 seconds are practical on a PowerBook 170. A do-nothing application is about 40Kb in size, over 100Kb smaller than MacApp's null application.

QuickApp owes its performance to the Wilson less-is-more design credo: "I guarantee that QuickApp has less features than your framework." It uses true pointer-based C++ objects and C++ language features. For example, objects are initialized by their constructor methods, eliminating the error prone procedure of having to create a new object and then explicitly call its initialization method. Another language feature used in QuickApp is multiple inheritance; the model for doing this is the LISP-like notion of mixin classes, which add well-defined behaviors to other classes. An example of a QuickApp mixin class is MDraggable. View objects that have MDraggable mixed in know how to be dragged, although the current implementation doesn't support multiply selected objects. Another mixin is MIdler, which lets objects perform periodic processing. Not a threads-based solution, an MIdler object must manually save and restore its context between calls to its idle method.

Is QuickApp right for you? The product is young and evolving rapidly, and therefore will not be stable like the more established frameworks. However, if you want to be productive while sitting in a doctor's waiting room (Dave Wilson had been enhancing the framework that day in just such a fashion), then the product is worth looking into. QuickApp sells for $99, and can be purchased direct from Emergent Behavior.

ICEPICK

The next guest for the evening was Chris Arbogast of Sierra Software Innovations, who trekked to Cupertino from Nevada to show off the latest version of IcePick, the view editor for MacApp. IcePick 3.0, which should be available by the time you read this, does everything that the last version does, plus it now handles the MacApp 3.0 view resource format, including sup-port for behaviors and adorners. Views can be converted back and forth between 2.0 and 3.0 formats, allowing old views to be moved to the new format, and vice-versa. There's probably not much call to port 3.0 views back to 2.0, but Chris did point out that the 3.0 view format takes nearly twice the space than an equivalent 2.0 view, so a program with large numbers of views could conceivably benefit from storing those views in 2.0 for-mat (providing that the views don't use adorners or behaviors).

A powerful new feature in this version is the ability to add support to IcePick for user-defined behaviors, adorners, and views. Users must write code to support editing and streaming of their custom classes, using objects provided by Sierra in library form. This custom code is not dynamically bound into IcePick at runtime; instead it is linked along with the IcePick code (provided in library form) and the MacApp libraries to produce a custom version of IcePick. This seems much more cumbersome than using Shared Library Manager, but is a positive first step. The distribution will include a pre-linked binary for those who don't need the customization features.

Another nice new feature for IcePick is greatly improved handling of string resources. IcePick can read STR# resources from one or more files. View parameters that point to strings (such as are found in TStaticText) can be set by choosing the desired string from a popup menu. IcePick even endeavors to filter out duplicate strings in your application; if the string you type in for a TStaticText matches an existing string, IcePick will use the resource id and index of that string; otherwise it will create a new one. Of course, the programmer might actually want two separate strings in certain circumstances (localization comes to mind); Chris took suggestions from the audience on how to accommodate everyone's needs.

If IcePick 2.0 is a reliable indicator, 3.0 could be the view editor to beat. Pricing for IcePick 3.0 is $245 retail, $195for MADA members, and free (plus shipping) for registered users of IcePick 2.0.

The final event of the evening was the customary after-meeting meeting at the Peppermill, where among other things, BAMADA regulars got to say their last good-byes to BAMADA founder James Plamondon before he left the Bay Area for Redmond, WA (will he found RAMADA there?). The current authority figure for BAMADA is Tom Becker. If you're interested in speaking at an upcoming meeting, or want to be placed on the mailing list for BAMADA announcements, contact Tom at twb@apldbio.com, or call (415) 570-6667.

AUGUST: Object Master 2.0 and AppleScript

The August BAMADA meeting was held one week later than usual due to the mass migration of people to the east coast for MacWorld. Returnees were treated to a full demonstration of the latest version of Object Master by Loïc Vandereyken of ACI US, while the proud new Newton owners in the crowd vainly tried to scribble notes with the house lights off.

Before Loïc took the stage, Steve Jasik of Jasik Designs showed off the new features in the latest release of his Macintosh debugger, The Debugger. Along with new user interface enhancements like option-shift-left bracket, The Debugger now sports a scripting language and the ability to execute MacsBug dcmds. With looping and conditional support, the scripting language allows users to perform dcmd-like things without having to code in C. Jasik showed example scripts that walked the open window list and that imitated the MacsBug drvr dcmd. He also ran the real drvr to show the dcmd support. Unlike MacsBug, dcmds can be dynamically added to The Debugger at runtime.

Object Master is ACI's source code editor magna cum laude. With its direct knowledge of C, C++, Pascal, Modula 2, and resource files, Object Master parses your source code and builds a dictionary of every function, method, class, constant, and structure. You then edit your code in a hypertext wonderland, never having to care what file a particular item is defined in. Version 2.0 Universal, shipping now, has over 150 improvements to version 1.0 - and Loïc tried to show the BAMADA audience every one of those improvements. Among the major functionality enhancements are:

  • Fully integrated Projector/SourceServer support.
  • Direct editing of class definitions.
  • Popup menus of recent text searches and recently edited functions for fast navigation.
  • AppleScript scriptability.
  • Regular expression searches.

All of these features are seamlessly tied into Object Master's existing windows. For example, while editing a method in a browser window, choose Check Out from the menu bar and Object Master checks out the file containing that method from the appropriate project. Change a method's parameter list while editing the method and Object Master volunteers to automatically update the method declaration in the object's class definition. Regular expression searching is facilitated by a commando-like interface for building search patterns without remembering what •, ≈, ¬, and ∞ mean.

The program is extremely powerful, and this power is multiplied by the use of AppleEvents and AppleScript. Double click on a resource in the resource map window and Object Master opens ResEdit (or the editor you specify) and brings up the resource for editing. Similar hooks exist for sending commands to MPW/ToolServer. The program has a high degree of support for the AppleEvent object model and can be manipulated quite readily with AppleScript. Scripts placed in the program's startup folder are executed at startup and can add menus and other functions to Object Master's repertoire. The only sore spot in the AppleScript support is that the program's actions are not recordable.

Object Master, other than being the editor with which 4D is developed, bears little relation to ACI's core database business and sometimes received little corporate attention. This appears to have changed. Loïc and ACI product manager Eric Gries (who raffled off a free copy of Object Master 2.0 at the meeting) announced a full slate of upcoming Object Master releases. A Think C version of Object Master will appear in 1-2 months. This version, tentatively priced at $255, will have Pascal, Modula 2, and MPW support removed. Around the same time, the universal version will be upgraded to version 2.1, mainly to match the bug fixes and features available in the Think version. A 3.0 version of Object Master is being planned for next year, to debut first for Microsoft Windows in Q1, and then for Macintosh in Q2. Features being considered for 3.0 include parsing of Rez files and whatever else users suggest or Loïc dreams up.

The evening concluded with a panel discussion, chaired by BAMADA organizer Tom Becker and featuring Loïc and object model personality Eric Berdahl, on strategies for adding AppleScript support to Mac applications. For Object Master, Loïc wrote a framework-independent set of classes for parsing and responding to the AppleEvent object model. He then hooked those classes into the (MacApp 2.0, Object Pascal based) Object Master source code, calling existing MacApp methods to responsd to many of the standard events (open, close, resize, etc.). The total implementation time for AppleScript support in Object Master was on the order of two months. Eric claimed that properly designing for and coding AppleScript support into an application is closer to a one year endeavor, which prompted some audience members to remark "he's obviously using Taligent time schedules." All agreed that supporting AppleScript is difficult, framework support is critical but lacking, and that small developers now have but another hurdle to jump over in order to create fully featured Macintosh applications. Perhaps Ken Ryall's MAScript package, which adds AppleScript support to MacApp, will help in this regard.

BAMADA meets the first Thursday of each month at 7 P.M. at 4 Infinite Loop in Apple's R&D campus in Cupertino. At the September meeting, the Newton team will talk about and answer questions regarding the Newton Toolkit. If you're interested in speaking at an upcoming meeting, or want to be placed on the mailing list for BAMADA announcements, contact Tom Becker.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Gordon Ramsay DASH: Guide to upgrading a...
If we've learned anything about celebrity chef Gordon Ramsay over the years, it's that you don't want him angry and breathing down your neck. He's not above calling you out on TV, making a mockery of your efforts in the kitchen in front of... | Read more »
Galaxy of Trian (Games)
Galaxy of Trian 1.1.0 Device: iOS Universal Category: Games Price: $6.99, Version: 1.1.0 (iTunes) Description: Galaxy of Trian is an exciting, fast paced digital board game based on the highly acclaimed tabletop title. | Read more »
Dead In Bermuda (Games)
Dead In Bermuda 1.0 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0 (iTunes) Description: | Read more »
The Little Fox (Games)
The Little Fox 1.0.1 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0.1 (iTunes) Description: The Little Fox is an alternative perspective on the world-renowned ‘fairy tale for adults', The Little Prince by Antoine de... | Read more »
5 popular free fertility apps
There was a good article this week in The Independent about how more women are using fertility appsas a de facto form of contraception. It's apparently not working too well, leading to numerous unwanted pregnancies. [Read more] | Read more »
How to get more cars in CSR Racing 2
NaturalMotion and Zynga brought a lot of real life cars to the table for CSR Racing 2. From souped up everyday rides made by Nissan and Hyundai to supercars produced by the likes of McLaren and Pagani, there really is something for everyone. [... | Read more »
Crypt of the NecroDancer Pocket Edition...
Crypt of the NecroDancer Pocket Edition 1.0 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0 (iTunes) Description: Crypt of the NecroDancer is an award winning hardcore roguelike rhythm game. Move to the music and... | Read more »
Gear-grinding puzzle title Inner Circle...
If you saw our post earlier this month announcing the imminent release of ZPlay’s new creation, Inner Circle, you’ll be happy to know that it’s now available on the App Store. Established in 2010, developer and publisher ZPlay have taken the... | Read more »
CSR Racing 2: Your guide to what's...
CSR Racing 2, or CSR2, as it likes to call itself, has finally arrived. The follow-up to the immensely popular drag racing game CSR Racing is the first release from NaturalMotion since the studio's acquisition by Zynga in early 2014. [Read more] | Read more »
Nanuleu (Games)
Nanuleu 1.1 Device: iOS Universal Category: Games Price: $2.99, Version: 1.1 (iTunes) Description: Nanuleu is a strategy game where you take control of ancient magical trees that protect the land from an invading dark force. A... | Read more »

Price Scanner via MacPrices.net

July 4th sale: $100 off 13-inch MacBook Airs
Amazon has 13″ MacBook Airs on sale for $100 off MSRP for a limited time. Shipping is free: - 13″ 1.6GHz/128GB MacBook Air (sku MMGF2LL/A): $899.99 $100 off MSRP - 13″ 1.6GHz/256GB MacBook Air (sku... Read more
Swiftpoint Launches Advanced Pivot, Tilt And...
Christchurch, New Zealand based Swiftpoint has announced the launch of its new generation computer mouse, The Z, on the crowdfunding website kickstarter.com. The company’s previous device, the... Read more
Clearance 12-inch Retina MacBooks, Apple refu...
Apple has Certified Refurbished 2015 12″ Retina MacBooks available starting at $929. Apple will include a standard one-year warranty with each MacBook, and shipping is free. The following... Read more
12-inch MacBooks available with free bundles...
Adorama has 12″ Retina MacBooks available including free shipping plus NY & NJ sales tax only. For a limited time, Adorama will include a free Apple USB-C to USB Adapter, free 4-Port USB Hub, and... Read more
Das Keyboard Unveils First Cloud-Connected Ke...
Austin, Texas based Das Keyboard has unveiled the newest addition to its family of high-performance mechanical keyboards with the introduction of the Das Keyboard 5Q on Kickstarter. Built with... Read more
13-inch 2.7GHz Retina MacBook Pros on sale fo...
Adorama has 13″ 2.7GHz Retina MacBook Pros on sale for up to $130 off MSRP. Shipping is free, and Adorama charges NY & NJ sales tax only: - 13″ 2.7GHz/128GB Retina MacBook Pro: $1169 $130 off -... Read more
New App Reminds Us to Put Down Our Phones and...
Mode, a new smartphone app that makes us more mindful of how we use our devices, debuts in the app stores today. The Mode app tracks time spent in different modes of day-to-day life without... Read more
ZuumSpeed Personalized Speedometer + HUD For...
RMKapps has announced the release and immediate availability of ZuumSpeed 1.0, its personalized speedometer plus heads up display for iOS devices. ZuumSpeed gives users over 18 custom fonts available... Read more
Apple refurbished clearance 15-inch Retina Ma...
Apple has Certified Refurbished 2014 15″ 2.2GHz Retina MacBook Pros available for $1609, $390 off original MSRP. Apple’s one-year warranty is included, and shipping is free. They have refurbished 15... Read more
9-inch 128GB Silver iPad Pro on sale for $50...
B&H Photo has the 9.7″ 128GB Silver Apple iPad Pro on sale for $699 including free shipping plus NY tax only. Their price is $50 off MSRP. Read more

Jobs Board

*Apple* Retail - Multiple Positions - Apple,...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
*Apple* iPhone 6s and New Products Tester Ne...
…we therefore look forward to put out products to quality test for durability. Apple leads the digital music revolution with its iPods and iTunes online store, Read more
*Apple* Retail - Multiple Positions, Fort Wo...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
*Apple* Retail - Multiple Positions - Apple,...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
*Apple* iPhone 6s and New Products Tester Ne...
…we therefore look forward to put out products to quality test for durability. Apple leads the digital music revolution with its iPods and iTunes online store, Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.