Re: Can I make a web application of my IDL program? [message #70397] |
Thu, 08 April 2010 12:37  |
R.G.Stockwell
Messages: 163 Registered: October 2004
|
Senior Member |
|
|
"LNpellen" <lnpellen@gmail.com> wrote in message
news:ce0f7a05-1e95-427d-8654-6de5bfee3f05@h27g2000yqm.google groups.com...
> Ok - I realize, it is hard...
>
> I hope this changes in the future.
>
> Or I hope the past returns when it was possible to only install VM,
> not the entire IDL just to run .sav files.
>
> Ellen
I don't know if this would help, but a reasonable facsimile can be produced
by creating a large set of 'standard results' save to file, and serving them
from a webpage.
I've done that in the past, with about 5 different input variables, all of
which
could have many (up to 12) possible variables. For instance, global
wavenumber
from -6 to 6, periods ranging from 3hr, 6hr, 8hr, 12hr, 24 hr, 48 hr, etc.
cheers,
bob
|
|
|
Re: Can I make a web application of my IDL program? [message #70398 is a reply to message #70397] |
Thu, 08 April 2010 12:32   |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 4/8/10 1:09 PM, LNpellen wrote:
> Ok - I realize, it is hard...
>
> I hope this changes in the future.
>
> Or I hope the past returns when it was possible to only install VM,
> not the entire IDL just to run .sav files.
My understanding was that the VM option installed the entire
distribution anyway. Since it didn't actually provide a choice, they
removed it.
MAKE_RT, on the other hand, is quite a nice tool for distribution. I
recently made a bundle for an application that runs on 6 different
platforms. It weighed in at 380M with the save file about 6M and the bin
directories adding up to about 351M:
63M bin.darwin.i386 # 32-bit MacIntel
55M bin.darwin.x86_64 # 64-bit MacIntel
81M bin.linux.x86 # 32-bit Linux
88M bin.linux.x86_64 # 64-bit Linux
35M bin.x86 # 32-bit Windows
29M bin.x86_64 # 64-bit Windows
The resources directory counts for another 20M, so that leaves about 3MB
for launchers and miscellaneous other stuff. What gets copied can be
changed by modifying the manifest file if you so desire, i.e., .dll/.so
files that your app does not need, etc.
Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
|
|
|
|
Re: Can I make a web application of my IDL program? [message #70410 is a reply to message #70399] |
Wed, 07 April 2010 08:51   |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 4/7/10 7:02 AM, David Fanning wrote:
> LNpellen writes:
>
>> I've been reading about ActiveX and callable IDL, but the more I read
>> the more confused I get. Can somebody tell me if the following is
>> possible and where I should start searching for information:
>>
>> I have an IDL application that I'd like to share with many of my
>> colleages on many computers. Installing and maintaining IDL on all
>> these is troublesome so I though I'd rather make an web-application
>> that runs on the intranet. The IDL application has GUI and is quite
>> large (several thousend codelines) and I'd hope to change as little as
>> possible.
>>
>> I'm familiar with html and some visual basic, but I do not understand
>> ActiveX and COM and all this. I read that one should be familiar with
>> the latter to use it, but isn't there an example to reuse and expand?
>> Can it be so hard?
>
> I don't want to discourage you, but I would say this is
> not possible and MUCH harder than you can ever imagine.
> I hope you prove me wrong. :-)
Yes, I agree. I would say you have two primary choices:
1. Forget the web and make a distribution that bundles IDL with your
current application. Check out MAKE_RT (IDL 7.0+ required). This is
pretty easy, even if the users of your app use multiple platforms. For a
start on this, see:
http://michaelgalloy.com/2009/08/04/make_rt-uber-installatio n.html
2. Go to the web, but re-write your application in
HTML-Javascript-etc. and call IDL behind the scenes. This is a *much*
more ambitious choice. There have been some interesting presentations at
the last couple IDL User Group Meetings of people doing this.
Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
|
|
|
|
|
|
Re: Can I make a web application of my IDL program? [message #70432 is a reply to message #70398] |
Thu, 15 April 2010 12:51  |
LNpellen
Messages: 37 Registered: November 2009
|
Member |
|
|
On Apr 8, 9:32 pm, mgalloy <mgal...@gmail.com> wrote:
>
> MAKE_RT, on the other hand, is quite a nice tool for distribution.
>
>
> Mike
> --www.michaelgalloy.com
> Research Mathematician
> Tech-X Corporation
I think I have misunderstood the MAKE_RT a bit. First I thought it was
an unix only command, and second I though one needed to buy a
specified licence pr application to export. I think I should try out
this option.
Ellen
|
|
|