Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Beginner's Corner

Dynamic RB, Part 1

Using RBScript for interactive action

Issue: 5.6 (September/October 2007)
Author: Marc Zeedar editor-at-rbdeveloper.com
Article Description: No description available.
Article Length (in bytes): 19,675
Starting Page Number: 34
RBD Number: 5612
Resource File(s):

Download Icon 5612.zip Updated: Friday, September 14, 2007 at 7:41 PM

Related Link(s): None
Known Limitations: None

Excerpt of article text...

In last issue's Beginner's Corner I introduced RBScripting. Today we're going to continue with that lesson with a more advanced use of RBScripting by exploring one of my favorite uses: adding a plugin system to your application.

What is a plugin system?

If you're not familiar with plugins, they are simple additions that add functionality to existing programs without the program having to be recompiled. The most famous example is Adobe Photoshop: you can buy third party plugins that give you new image filters or unusual effects. Even REALbasic itself supports a plugin system: if you install the Monkeybread Plugin, for instance, it adds over 14,000 new commands to REAlbasic.

Traditional plugins are a special type of compiled code written according to a specification by the parent program maker. When the user asks for your plugin to do something, the parent program passes control to your plugin code which is then executed. Unfortunately, at this time REALbasic does not have a way to make these kinds of plugins (though it is a popular request).

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

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com