Page 1 of 1
Multi-Module Application
Posted: Tue Apr 06, 2010 4:20 pm
by rlitchfield
I am extremely new to RunRev coming from RealBasic, so please keep that in mind when answering my question.
Situation:
I would like to build a program that allows the users to download modules only as they need them. For example, I would provide an initial application (main menu, licensing, etc) and then the user would download the module they needed.
My questions:
1) Am I able to build a multi-module type of application in Revolution?
2) If so, can I have the module's "self install" so that they are accessible to the initial application without having to repackage the whole thing?
For the record, I am not able to do this in RealBasic....so doing this in RunRev would be a bonus.
rlitchfield
Re: Multi-Module Application
Posted: Tue Apr 06, 2010 5:24 pm
by Klaus
Hi rlitchfield,
see below...
Re: Multi-Module Application
Posted: Tue Apr 06, 2010 5:27 pm
by Klaus
Hi rlitchfield,
rlitchfield wrote:1) Am I able to build a multi-module type of application in Revolution?
Yes.
rlitchfield wrote:2) If so, can I have the module's "self install" so that they are accessible to the initial application without having to repackage the whole thing?
Yes, you can simply "load" a stack (= a module) with a one-liner:
...
go stack url("
http://www.yourserver.com/subfolder/module666.rev")
...
Then you can simply save that stack into a folder in the users "preferences" for later use and that's it. No need to install or whatever...
Drop a line if you need more or specific info.
Best from germany
Klaus
Re: Multi-Module Application
Posted: Tue Apr 06, 2010 7:00 pm
by rlitchfield
Seriously...that's it?? WOW. Ok...time to get started here and learn this new language. Thank you for the quick help, though I'm sure to stumble upon more questions as I rebuild my app in RunRev.
rlitchfield
Re: Multi-Module Application
Posted: Tue Apr 06, 2010 7:31 pm
by RRobert
If I may ask why did you move from RB to Rev? (I'm just curious)
Robert
Re: Multi-Module Application
Posted: Tue Apr 06, 2010 8:01 pm
by rlitchfield
RRobert wrote:If I may ask why did you move from RB to Rev? (I'm just curious)
Robert
I am originally a VB.net programmer, but wanted the option of cross-platform for a project I'm working on. I started out with RealBasic which was familiar enough considering my background. While it is a really good environment, I have run into a few limitations, one of which this post was about.
I was attracted to Rev due to the advertised (and from what I could find from reviews) regarding the quick development time. As well, the option of running my app on mobile devices with the core intact (interface would be different), was very attractive.
I'm hoping that the learning curve for Rev will be rather small so I can become productive as quickly as possible. I'm only just getting started and I am finding the syntax strange....though I will stick with it for now as the benefits seem to outweigh the pain.
rlitchfield
Re: Multi-Module Application
Posted: Tue Apr 06, 2010 9:19 pm
by RRobert
Another VB programmer

. You should consider buying
tRev it cost $60 and you will get some kind of auto-completion which is pretty nice and helpful if you are not so familiar with the syntax at the start. Its not at the Visual Studio level but its better than the default editor imo.
The
User Guide and the community is nice and friendly. You also find many infos on the
mailing list and
lessons.runrev.com. If you think the dictionary is clumsy you could also use
docs.runrev.com.
Some people here come from
Hypercard,
MetaCard, ... and they have a different viewpoint towards Revolution. For me Revolution is a scripting engine which is available for the three major platforms with an own GUI toolkit. The executable is the engine with your script attached to it (encrypted if your wish). Stacks = Windows, Cards = Layers, Messages = Events, Commands = Procedures, Functions = Functions and so on ... You have a limited set of controls but its very easy to create your own (put the basic controls together, group them, write the code for the messages ...). You could utilize Applescript and VbScript by using the do command and you could extend Revolution by libraries (DLLs) which are called Externals, in case you need to do platform specific things which are not covered by the default range of functions and which could not handle by shell calls.
PS:
Revolution Message Path
Robert
Re: Multi-Module Application
Posted: Thu Apr 08, 2010 11:10 am
by jmburnod
Hi All,
I tested
Code: Select all
go stack url("http://www.yourserver.com/subfolder/module666.rev")
it work fine from a stack or a standalone Mac
but not from a revlet (only tested with firefox 5.0 on powerbook G4 10.4.2)
Jean-Marc
Re: Multi-Module Application
Posted: Thu Apr 08, 2010 11:22 am
by Klaus
Bonjour Jean-Marc,
displaying multiple stacks in a Revlet is still unsupported.
And I am not sure if this needs "LIBURL", which is also not (yet) available in a Revlet.
Come on folks, the webplugin is still in its very early BETA stage!

Re: Multi-Module Application
Posted: Thu Apr 08, 2010 12:09 pm
by BvG
Revweb is not beta, it's part of 4.0 and officially released.
Re: Multi-Module Application
Posted: Thu Apr 08, 2010 12:18 pm
by Klaus
BvG wrote:Revweb is not beta, it's part of 4.0 and officially released.
So was Rev version 1
For us RevWeb is not usable as it should be/was promised!
Re: Multi-Module Application
Posted: Thu Apr 08, 2010 12:22 pm
by BvG
Ah you where joking, I assumed you didn't know the true, sad state of affairs

Re: Multi-Module Application
Posted: Thu Apr 08, 2010 12:39 pm
by Klaus