Topics
- Getting Started 5
- Creating Your First Application 3
- Converting a Non-GLX Application Framework To Use The Framework 2
-
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
- Undo/Redo Manager 3
- Internet Integration 6
- Broadcasting 1
- Building Your Application 5
- Auto Update 1
- Application Helpers 2
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
How Do I Update An Existing Application To Use the Latest Framework?
add glxapp_preloadApplication to application stack script.
Upgrade the Framework IDE 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
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.
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.
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
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
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
After opening the stack change the mainStack property to application. Save the application stack.
Add At Least One Build Profile
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
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.










Add your comment