Publisher: O'Reilly Media Released: September 2001 Pages: 752
REALbasic is a programming language in the best Macintosh tradition: visual, intuitive, and easy to learn. It allows you to create interfaces in minutes and entire, compiled applications without having to learn a complicated language; the strong object orientation makes it very easy even for beginners to develop, maintain, and alter projects. Best of all, an REALbasic 3, a single button click generates your project as a Mac OS 8/9 application, a Mac OS X native ("Carbon") application, or a Windows executable. No other application framework lets you compile for users on so many platforms so quickly and easily. REALbasic: The Definitive Guide not only gives you a firm grasp of the program's essential concepts, but also tells you things you won't learn from the official documentation alone. If you've never programmed before, the book offers both a primer in REALbasic and an intuitive approach to the concepts of programming itself, as you quickly reach the ability to program every aspect of REALbasic. You start out drawing the interface much as you would do in a drawing program: by selecting buttons, menus, dialog boxes, and the like from a tools menu. Then you use the code editor to fill in the code that tells these pieces what to do. The widely hailed first edition of REALbasic: The Definitive Guide has been completely rewritten to encompass reader suggestions and the many improvements of REALbasic 3--like its ability to compile and run under OS X. The book is divided into three sections: - Fundamentals: a detailed summary of the language that quickly shows you how to think about programming and accomplish your goals in less time
- User Interface: how to create a complete application using the rich classes and pre-defined tools that make life so much easier for the REALbasic programmer.
- Reaching Out: Internet communications, databases, multimedia, game programming and more!
|
-
Fundamentals -
Chapter 1 The Workspace - The Project Window
- Editing Windows
- Adding Functionality
- How the Three Editors Relate
- Testing Without Building
- Online Help
- Shortcuts
-
Chapter 2 The Basic Language - Lines and Commands
- Variables and Constants
- Subroutines
- Regulating Flow
- Arrays
- Recursion
- Comments
-
Chapter 3 Objects, Classes, and Instances - Messages and Dot Notation
- Object Design Philosophy
- Classes and Instances
- Anatomy of a Class
- An Instance Is Born
- Referring to Instances
- The Truth About Controls
- Control Clones and Control Arrays
- Being Careful with Instance References
- Destruction of Instances
-
Chapter 4 Class Relationships and Class Features - New Classes and Inheritance
- Casting
- Overriding
- Class Interfaces
- Events and New Events
- The Class Hierarchy
- Global Members
- Advanced Class Features
- Example Classes
-
Chapter 5 Datatypes - Booleans
- Strings
- Numbers
- Variants
- Collections
- Dates
- Colors
- Memoryblocks
- Threads
-
Chapter 6 Menus - Menu Overview
- Editing Menus
- Special Menu Items
- The Menu-Enabling Moment
- Menu Item Functionality
- Dynamic Menus
- Menu Examples
-
Chapter 7 The Architecture of an Application - Three Pillars of Zen
- The Application Subclass
- Order of Events
-
Chapter 8 Debugging and Building - Compile Errors
- Exceptions
- The Debugger
- Building
-
User Interface -
Chapter 9 Windows - Window Types
- Opening and Closing, Showing and Hiding
- Title, Position, and Size
- Events
- Drawing in a Window
-
Chapter 10 Abstract Control Classes - Lifetime Events
- Appearance
- Position and Size
- Mouse Movement Events
- Redrawing
-
Chapter 11 Canvases - Canvas Events, Properties, and Methods
- Picture Class
- Graphics Class
- Backdrop Property
- Fun With Graphics Properties
- Canvas Graphics Property
- Transparency and Icons
- Speed
- Interaction with Other Objects
-
Chapter 12 Buttons and Static Texts - PushButton
- BevelButton
- Placard
- LittleArrows
- CheckBox
- RadioButton and GroupBox
- DisclosureTriangle
- StaticText
- Custom Buttons
-
Chapter 13 EditFields - Types of EditField
- EditField Events, Properties, and Methods
- The Focus
- Manipulating Text and Styles
- Reacting to User Input
- Drawing Styled Text
- Miscellaneous Tips
-
Chapter 14 ListBoxes - ListBox Features
- ListBox Events, Properties, and Methods
- Basic ListBox Techniques
- Hierarchical ListBoxes
- Other ListBox Features
-
Chapter 15 Progress Bars, Sliders, and Scrollbars - ProgressBar
- Slider
- Scrollbar
-
Chapter 16 Shapes and Decorations - Line
- Shapes
- Separator
- ImageWell
- ChasingArrows
- PopupArrow
-
Chapter 17 Menus in Windows - PopupMenu
- BevelButton
- ContextualMenu
- Alternatives
-
Chapter 18 TabPanels - Preparation
- Properties and Events
- Usage
-
Chapter 19 Keyboard - Keyboard Communication
- Keyboard Object
- UserCancelled
-
Chapter 20 Mouse and Cursor - Mouse Communication
- Polling the Mouse
- Balloon Help
- Cursor
-
Reaching Out -
Chapter 21 Files - Getting a FolderItem
- File Types
- File Properties and File Actions
- Arbitrary Data: Binary Streams
- Sequential Data: Text Streams
- Resources
- Predefined Data Formats
-
Chapter 22 Databases - Database Files and Classes
- Schemas
- Displaying Data
- Other Data Sources
-
Chapter 23 Clipboard - Clipboard Class
- Usage
-
Chapter 24 Drag-and-Drop - Beginning a Drag
- Receiving a Drop
- Finder Drop
- Internal Drag-and-Drop
- Limitations and Workarounds
-
Chapter 25 Time - Ticks and Microseconds
- Timers
- Yielding Time
-
Chapter 26 Sound - Beep
- Sound Object
- MIDI Notes
-
Chapter 27 Movies - Movie Class
- MoviePlayer
- Movie Usage
- Making Movies
- Analyzing Movies
-
Chapter 28 Animation - Configuring the SpriteSurface
- Basic Sprite Techniques
- Basic Background Techniques
- Improving the Classes
- Intelligent Sprite Behavior
- Responding to Keys
- Intelligent Collisions
-
Chapter 29 Printing - Page Setup
- Proceeding To Print
- Measurement Problems
- Printing Text
-
Chapter 30 TCP/IP Communications - Socket Properties, Methods, and Events
- Client
- Server
-
Chapter 31 Interapplication Communications - Sending Apple Events
- Receiving Apple Events
- Apple Event Classes, Properties, and Methods
- Apple Event Inadequacies
- AppleScripts
- Shell
-
Chapter 32 Language Extensions - Direct Toolbox Calls
- XCMDs
- Shared Libraries
- Plug-ins
-
Appendix Growing an Application -
Principles of Approach -
An Example Project: Tic-Tac-Toe -
Exercises -
Colophon |
- Title:
- REALBasic: TDG, 2nd Edition
- By:
- Matt Neuburg
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Safari Books Online
- Print:
- September 2001
- Pages:
- 752
- Print ISBN:
- 978-0-596-00177-3
- | ISBN 10:
- 0-596-00177-0
|
-
Matt Neuburg Matt Neuburg started programming computers in 1968, when he was 14 years old, as a member of a literally underground high school club, which met once a week to do timesharing on a bank of PDP-10s by way of primitive teletype machines. He also occasionally used Princeton University's IBM-360/67, but gave it up in frustration when one day he dropped his punch cards. He majored in Greek at Swarthmore College, and received his Ph.D. from Cornell University in 1981, writing his doctoral dissertation (about Aeschylus) on a mainframe. He proceeded to teach Classical languages, literature, and culture at many well-known institutions of higher learning, most of which now disavow knowledge of his existence, and to publish numerous scholarly articles unlikely to interest anyone. Meanwhile he obtained an Apple IIc and became hopelessly hooked on computers again, migrating to a Macintosh in 1990. He wrote some educational and utility freeware, became an early regular contributor to the online journal TidBITS, and in 1995 left academe to edit MacTech Magazine. He is also the author of Frontier: The Definitive Guide and REALbasic: The Definitive Guide. In August 1996 he became a freelancer, which means he has been looking for work ever since. He is the author of Frontier: The Definitive Guide and REALbasic: The Definitive Guide, both for O'Reilly & Associates. View Matt Neuburg's full profile page. |
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of REALbasic: The Definitive Guide is a greyhound. Greyhounds were first bred approximately 3,000 years ago in Egypt, making them one of the oldest breeds of domesticated dogs. Mummified greyhounds have been found in ancient Egyptian tombs. They were bred as hunting dogs. They hunt by sight, not smell, and have the keenest eyesight of all dogs. Their hunting strategy is to outrun their prey, a task they easily accomplish. Greyhounds are the fastest breed of dog, reaching speeds of up to 45 miles per hour. In recent times, this speed has led to the sport of greyhound racing. Numerous societies promote the adoption of retired racing greyhounds. The distinctive silhouettes formed by their graceful, virtually fat-free bodies, their even temperaments, and their power and speed have long made greyhounds favorites of royalty. At one time in England it was against the law for "commoners" to own greyhounds. Greyhounds have also made their mark in art and literature. There are references to greyhounds in the Bible and in classical literature from Homer to Shakespeare. Mary Brady was the production editor and Norma Emory was the proofreader for REALbasic: The Definitive Guide. Darren Kelly, Claire Cloutier, and Linley Dolby provided quality control. Kimo Carter provided production support. Matt Neuburg wrote the index. Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original engraving from The Illustrated Natural History: Mammalia. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. Melanie Wang designed the interior layout, based on a series design by David Futato. The design was implemented by Neil Walls using tools created by Mike Sierra. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Clairemarie Fisher O'Leary. Whenever possible, our books use a durable and flexible lay-flat binding. If the page count exceeds this binding's limit, perfect binding is used. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Harold Davis
November 2009
Ebook: $27.99
Print & Ebook: $38.49
Print: $34.99
By Nick Heinle, Bill Pena
January 2002
By Chuck Toporek
November 2007
Ebook: $11.99
Print & Ebook: $16.49
Print: $14.99
|
Customer Reviews
9/16/2002 5.0REALbasic: The Definitive Guide, 2nd Edition Review By Paul Way from Undisclosed 7/27/2002 5.0REALbasic: The Definitive Guide, 2nd Edition Review By Ward Clark from Undisclosed 9/30/2001 5.0REALbasic: The Definitive Guide, 2nd Edition Review By Stephane Moureau from Undisclosed 8/15/2001 5.0REALbasic: The Definitive Guide, 2nd Edition Review By johnathan from Undisclosed
|
|
|