Saturday, in a very slick NMUG presentation, Ernie demonstrated how to use xCode to prototype a database app, using only dialog-box wizards, as you might in Access. (xCode is an optional install included in MacOSX.4.) Create your database schema:
- xCode/File/New Project/Core Data/My Document
- Leftmost+/Add/ each column, setting its features (name, class, default value: docstring visible in models ...).
- Click on (UML bubble bottom) "relations" to link.
Then automatically create a prototype app:
- Double-click MyDocument.nib (GUI "interface" builder).
- Option-drag UML to NIB / Many objects.
- File/Save; ... build and run
This gives you a window sporting a database table atop Fetch, Add, and Delete buttons, atop editing fields. You can Open and Save database files, edit, filter with search, and edit your database. Woo hoo!
Presentation notes: Ernie exported his slides as jpegs, and displayed them on his iPod, cabled to Shooters' plasma, set on widescreen. Seven attendees were present when Ernie started at 11:15, but distractions meant there were never more than six of us in the room. Ernie needed a microphone to scream over the loud crashes and music from the bar. Still, a technical tour de force - a great show!
|