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

How to build a successful civilisation i...
GodFinger 2 grants you godlike powers, leaving you to raise a civilization of followers. In the spirit of games like Black & White, the GodFinger games will see you building bigger and better villages, developing more advanced technology and... | Read more »
How to get all the crabs in Mr Crab 2
Mr. Crab 2 may look like a cutesy platformer for kids, but if you're the kind of person who likes to complete a game 100%, you'll soon realise that it's a tougher than a crustacean's shell. [Read more] | Read more »
How to be a star in Britney Spears: Amer...
If you've ever wanted to be a star, baby, then you've probably already checked out Britney Spears: American Dream and are happily making your way up the charts. But fame doesn't come easy, and everyone needs a helping hand sometimes. So we've got... | Read more »
AppSpy is hiring a part time Staff Write...
| Read more »
How to save lives in ER Surgery Simulato...
A serious earthquake has struck a nearby town in ER Surgery Simulator - Emergency Doctor, and it’s up to you to save the victims. [Read more] | Read more »
Tips and tricks to get a high score in G...
Ketchapp Games loves the endless runner genre. And its newest game, Gravity Switch, is no exception. Gravity Switch takes a fresh approach, though, as you move a block, suspended in zero gravity, safely through a maze of shifting pillars. If the... | Read more »
Tips and tricks to get a high score in S...
Smash Fu is a high-paced tile-tapping game that requires quick reflexes and some practice. You’ll have to smash bricks with the skill of a seasoned black belt to get a high score. To raise the stakes a bit, you’ll also have to avoid tapping any... | Read more »
How to keep the ball rolling in Dropple
If you're new to the minimalist puzzler Dropple, you may find yourself struggling to make it beyond the first couple of steps before your ball falls into the endless abyss below. [Read more] | Read more »
Game Craft releases new Legend of War ti...
Set for release at the end of this month, real time strategy title Legend of War seems sure to delight with a veritable feast of sweet features to get stuck into. Developed by Game Craft, the game is due for release through both the App Store and... | Read more »
How not to die in Traffic Rider
Traffic Rider, an Out Run-esque game in which your ride a motorcycle recklessly into trffic, might not seem particularly complicated. [Read more] | Read more »

Price Scanner via MacPrices.net

Apple refurbished iMacs available for up to $...
Apple has Certified Refurbished 2015 21″ & 27″ iMacs available for up to $350 off MSRP. Apple’s one-year warranty is standard, and shipping is free. The following models are available: - 21″ 3.... Read more
Textkraft Professional Becomes A Mobile Produ...
The new update 4.1 of Textkraft Professional for the iPad comes with many new and updated features that will be particularly of interest to self-publishers of e-books. Highlights include import and... Read more
SnipNotes 2.0 – Intelligent note-taking for i...
Indie software developer Felix Lisczyk has announced the release and immediate availability of SnipNotes 2.0, the next major version of his productivity app for iOS devices and Apple Watch.... Read more
Pitch Clock – The Entrepreneur’s Wingman Laun...
Grand Rapids, Michigan based Skunk Tank has announced the release and immediate availability of Pitch Clock – The Entrepreneur’s Wingman 1.1, the company’s new business app available exclusively on... Read more
13-inch 2.9GHz Retina MacBook Pro on sale for...
B&H Photo has the 13″ 2.9GHz Retina MacBook Pro (model #MF841LL/A) on sale for $1599 including free shipping plus NY tax only. Their price is $200 off MSRP. Amazon also has the 13″ 3.9GHz Retina... Read more
Apple price trackers, updated continuously
Scan our Apple Price Trackers for the latest information on sales, bundles, and availability on systems from Apple’s authorized internet/catalog resellers. We update the trackers continuously: - 15″... Read more
Clearance 12-inch Retina MacBooks available s...
B&H Photo has dropped prices on leftover 2015 12″ Retina MacBooks with models now available starting at $999. Shipping is free, and B&H charges NY tax only: - 12″ 1.1GHz Gray Retina MacBook... Read more
Check Apple prices on any device with the iTr...
MacPrices is proud to offer readers a free iOS app (iPhones, iPads, & iPod touch) and Android app (Google Play and Amazon App Store) called iTracx, which allows you to glance at today’s lowest... Read more
New 2016 13-inch 256GB MacBook Air on sale fo...
B&H Photo has the new 13″ 1.6GHz/256GB MacBook Air (model MMGG2LL/A) on sale for $1149 including free shipping plus NY sales tax only. Their price is $50 off MSRP. Amazon has the 13″ 1.6GHz/256GB... Read more
Apple refurbished iPad Air 2s available start...
Apple has Certified Refurbished iPad Air 2 available starting at $339. Apple’s one-year warranty is included with each model, and shipping is free: - 128GB Wi-Fi iPad Air 2: $499 - 64GB Wi-Fi iPad... Read more

Jobs Board

*Apple* Nissan Service Technicians - Apple A...
Apple Automotive is one of the fastest growing dealer...and it shows. Consider making the switch to the Apple Automotive Group today! At Apple Automotive , Read more
ISCS *Apple* ID Site Support Engineer - APP...
…position, we are looking for an individual who has experience supporting customers with Apple ID issues and enjoys this area of support. This person should be Read more
Automotive Sales Consultant - Apple Ford Linc...
…you. The best candidates are smart, technologically savvy and are customer focused. Apple Ford Lincoln Apple Valley is different, because: $30,000 annual salary Read more
*Apple* Support Technician II - Worldventure...
…global, fast growing member based travel company, is currently sourcing for an Apple Support Technician II to be based in our Plano headquarters. WorldVentures is Read more
Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.