Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 7.5

FEATURE

A Plugin System

Issue: 7.5 (July/August 2009)
Author: Thomas Tempelmann
Author Bio: Thomas Tempelmann is This article is an updated version of an article that originally appeared on Thomas' website (http://www.tempel.org/PluginArchitectureWithREALbasic).
Article Description: No description available.
Article Length (in bytes): 17,012
Starting Page Number: 27
Article Number: 7511
Resource File(s):

Download Icon 7511 project.zip Updated: 2009-07-01 13:05:59

Related Web Link(s):

http://www.tempel.org/PluginArchitectureWithREALbasic
http://www.tempel.org/ftp/pub/REALbasic/EventDrivenScript.zip
http://www.tempel.org/ftp/pub/REALbasic/RbScript_201.pdf

Excerpt of article text...

This article will give some ideas on how to use REALbasic's RBScript feature to add plugins to a REALbasic application. A plugin is hereby defined as a program that can be added to the already-built application and executed at the app's discretion.

An example

In the next paragraphs I will suggest some ideas based on the following example: design for a search app similar to Apple's "Spotlight" feature.

The app shall be a tool to search for text in many files. While the app has hard-coded routines to search for text in a single file, it wants to allow plugins to convert binary files into text files where appropriate. Imagine documents from applications such as Word (.doc), Acrobat (.pdf), and even REALbasic (.rbp), which, when opened in a plain text editor, show a lot of gibberish that you don't want to have searched. Instead, you want it all readable.

...End of Excerpt. Please purchase the magazine to read the full article.