News Feed Comments

Releasable Revolution

Creating release quality applications with Revolution

  • Home
  • Tutorials & Manuals
  • Articles
  • Revolution Tools
    • Libraries
      • SQL Yoga
      • GLX Application Framework
      • libDatabase
    • Externals
      • EQT
    • Plugins
      • Script Format Helper
      • BBEdit Language Module
  • About
Tutorials & Manuals » GLX Application Framework 1.1 » How Do I Update An Existing Application To Use the Latest Framework?

Subscribe to our feed

Topics

  • Getting Started 5
    • What is the GLX Application Framework?
    • Understanding How The Framework Is Designed
    • Properties & Messages
    • Installing the Plugin
    • How Do I Update An Existing Application To Use the Latest Framework?
  • Creating Your First Application 3
    • How Do I Create a New Application Based on the GLX Application Framework?
    • How Do I Build Standalones For Supported Platforms?
    • How Do I Open An Application in the IDE The Next Time I Launch Revolution?
  • Converting a Non-GLX Application Framework To Use The Framework 2
    • Incorporating Your Program Stack Into the Framework-Based Application
    • Move Application Logic Into 'application' Stack Script
  • Configuring Your Application 14
    • How Do I Password Protect My Application Stacks When Deploying?
    • How Do I Add Stacks to My Application?
    • How Do I Display A Splash Screen When My Application Launches?
    • How Do I Add Externals to My Application?
    • How Do I Use RevDB With The Application Framework?
    • How Can I Add A ReadMe File To My Application Distribution?
    • What is the Best Way To Include the Data Grid Library?
    • If My Application Is Password Protected How Do I Unlock Certain Stacks At Runtime?
    • How Can I Specify Default Values For Preferences On A Computer That Has Never Run My Application?
    • How Can I Notify My Application That The Value For A Preference Has Been Changed?
    • How Do I Configure The Storage Locations For Application Data and Preferences?
    • How Do I Include Supporting Files/Folders When I Build My Application?
    • Specifying Which Files Your Application Can Open
    • Creating Advanced File Type Filters
  • Managing Windows & Palettes With the Framework 2
    • How Do I Get The Framework To Manage My Stack Windows?
    • How Can I Attach A Palette To a Main Window So That It Receives Messages When the Main Window Visible State Changes?
  • Undo/Redo Manager 3
    • What is the Undo Manager?
    • How Can I Implement Undo For Changes Made To a Field?
    • How Do I Add Undo/Redo Entries To the Edit Menu?
  • Internet Integration 6
    • What Sorts Of Internet Features Does the Framework Provide?
    • How Do I Install the Custom Version of libURL?
    • How Can I Make HEAD Requests?
    • How Do I Add Support For NTLM Authentication To My Application?
    • How Can I Specify the Username/Password For a URL or Proxy Server?
    • Custom libURL API
  • Broadcasting 1
    • What is Broadcasting?
  • Building Your Application 5
    • Introduction to Application Building
    • How Do I Package My Application For Use With An Installer Or Auto Update?
    • What Message Is Sent To My Application During Packaging?
    • How Can I Protect Auto Updates With Username/Password on My Web Server?
    • How Do I Integrate Deployments with My Favorite Installers?
  • Auto Update 1
    • Understanding How Auto Update Is Designed
  • Application Helpers 2
    • How Can I Add An "Open Recent" Item To My File Menu?
    • How Do I Determine File(s) That User Double-Clicked On To Launch My Application?

Last Updated

Mar 04, 2011

Download Manual PDF

Other Resources

  • How-tos

  • Lessons
  • GLX Application Framework

  • GLX Application Framework 1.1
  • Converting An Existing Application To Use The Framework
  • SQL Yoga

  • SQL Yoga
  • SQL Yoga Examples
  • SQL Yoga To-Do Application
  • SQL Yoga IDE Plugin
  • Plugins, Externals and Libraries

  • Plugins

Comments

0 comments for this lesson

  • Prev: Installing the Plugin
  • Next: How Do I Create a New Application Based on the GLX Application Framework?

How Do I Update An Existing Application To Use the Latest Framework?

add glxapp_preloadApplication to application stack script.

Upgrade the Framework IDE Plugin

http://revolution.screenstepslive.com/spaces/revolution/manuals/glxapp/lessons/5489-Installing-the-Plugin

Add glxapp_preloadApplication To application Stack Script

on glxapp_preloadApplication
   ## CALLED BEFORE ANY OF YOUR APPLICATION STACKS ARE LOADED INTO MEMORY.
   ## THIS IS A GOOD PLACE TO LOAD ANY STACKS INTO MEMORY THAT HAVE BEHAVIORS
   ## THAT YOUR APPLICATION STACKS REQUIRE.
end glxapp_preloadApplication

The first thing you should do is add the glxapp_preloadApplication handler to your application stack script. Add the handler directly after glxapp_firstRun.

Update glxappLauncher Stack Script

Media_1250086129816_display

You will need to update the glxappLauncher (named launcher.rev on disk) stack script of your application. You can't simply replace the stack file as you have configured all of your standalone settings for and you don't want to lose that information.

Launch Revolution (make sure your current application IS NOT open). Open the glxappLauncher.rev stack found in the framework helper stacks folder of the distribution folder.

Media_1250086215802_display

Open the glxappLauncher stack script (stack title is GLX Application). Copy the entire script to the clipboard. Remove the glxappLauncher stack from memory or simply quit and restart Revolution.

Media_1250086519857_display

Open your applications glxappLauncher stack (launcher.rev on disk) and replace the stack script with the clipboard contents.

After updating the script you will need to build a new Standalone using glxappLauncher.

Update glxapp_framework.dat File

Media_1248207664677_display

Replace the glxapp_framework.dat file in your application folder with the glxapp_framework.dat file included with the GLX Application distribution files.

Add glxappAuthenticate Substack to application Stack

Media_1248208008349_display

A new dialog stack named glxappAuthenticate has been added to the framework. This can be used when authenticating with servers that require a username, password and domain.

To add the stack to your application begin by opening the glxappAuthenticate.rev file located in the framwork_helper_stacks folder of the distribution folder.

Change mainStack To application

Media_1248208216771_display

After opening the stack change the mainStack property to application. Save the application stack.

Add At Least One Build Profile

Media_1252094616410_display

Check that you have at least 1 Build Profile defined in the Build Profiles tab. This is required in order for the Application Packager to function properly.

Update updater.gz On Your Server

Media_1255008309943_display

If you are using the auto update feature in the framework then you need to update the updater.gz file on your server. The file is located in the auto update folder of the application framework distribution.

  • Prev: Installing the Plugin
  • Next: How Do I Create a New Application Based on the GLX Application Framework?

Comments (0)

Add your comment

E-Mail me when someone replies to this comment
  • ScreenSteps Desktop

    ScreenSteps Desktop helps you help other people.

    Teachers can teach, Bloggers can demonstrate, Tech Support can communicate, Developers can document, Trainers can instruct.

    All in a matter of minutes.

    Learn More

  • ScreenSteps Support Suite

    We're Revolutionizing the Way Organizations Help Their Customers

    Join Us

    Create, distribute and aggregate “Just In Time” tutorials that help your customers and ease your support load.

    Learn More

  • revSelect Add-Ons

    Supercharge your Revolution development with RevSelect products.

© 2009 Releasable Revolution