Contents

The application developed for comparison in both environments is a web development utility. It scans the folders of a web site, reading HTML files and determining whether they contain various tags — title tag, keywords tag, etc. — and presents the results. Various parameters, including the number and type of the tags, are user-specified.

This application is an excellent candidate for development in REALbasic or Revolution. Creating a utility like this using traditional programming methods would require not only expertise at the OS level on all target platforms, but also significant development effort and time spent debugging. With HLD tools like REALbasic and Revolution, it should take an experienced developer a few hours to knock out a prototype, and a day or two to wrap up.

Neither implementation of the example project is a commercial-level application; error-trapping code, user documentation, optimization, and complete testing are all absent. The implementations are designed to be complete enough only to allow a comparison of the two environments.

The example applications and their source code files can be downloaded from http://www.runrev.com/revolution/info/compare/realbasic/example-apps.sit. The file includes the Revolution stack file and compiled applications for Mac / PC / Linux and BSD, and the REALbasic project file and compiled applications for Mac / PC.

Features:

  1. Application will allow the specification of a root folder to scan.
  2. Application will allow the specification of a log document for results.
  3. Application will allow the specification of a list of folders to either exclude or include.
  4. Application will allow the specification of tags to track.
  5. Application will allow the specification of file extensions to examine.
  6. Application will allow the specification of a limit on the length of file content which the application will search for the tags.
  7. Application will allow starting, pausing, resuming, and stopping processing.
  8. Application will parse through all files, displaying results as it goes and creating the log file.

Display List:

  1. Application will have an about box/splash screen. This will be a separate window
  2. Application will have a startup/help screen.
  3. Application will have a setup screen.
  4. Application will have a work screen.

Display Details

  1. The About box/splash screen will contain the logo, creator info, and version info.
  2. The setup screen will allow entry of items detailed in features 1, 2, 3, 4, 5, and 6.
  3. The work screen will allow control of processing (feature 7), and display results as they are generated (feature 8).

 

Previous

Revolution and REALbasic: A Comparison

Next