[V4REV] How correctly prepare stack for cross-platform use ?
Ruslan Zasukhin
sunshine at public.kherson.ua
Sun Jun 12 00:16:34 CDT 2005
On 6/11/05 11:49 PM, "Robert Brenstein" <rjb at robelko.com> wrote:
Hi Robert,
> Ruslan and Ivan,
>
> I would make an index stack with each example being a substack of it.
> Then you just need to set the external of this index stack and all
> others will see it without further ado.
I see.
> This gives you also a single file to distribute.
Why single?
But we have also 50 other files located in own sub-folders on disk.
> Furthermore, you can place handlers common to all
> examples in the stack script of the index stack and they will be
> available to all examples. Better factoring this way.
This is EXACTLY what we need!!!
We have this in Valentina for REALbasic and for Director.
Deal is that we need to have few common utility methods that use all
examples to allow easy switch any example between LOCAL and CLIENT/SERVER
mode.
Although in V4RB and V4md it works in reverse way.
Example is MAIN project, and it use as sub-element some shared item.
As I see in Revolution, you suggest way:
one MAIN stack which have 50 sub-stacks, right ?
> You handle the external path issue in the openStack handler placed on
> the card level (this is important here) of the index stack. There
> you set the path to the external depending on the platform -- yes,
> you set it up at runtime when the stack loads -- and then initialize
> Valentina (and close it at the end).
>
> Platform() is a function that tells you the OS type. In case of Mac,
> you need further systemVersion() to distinguish between OS9 and OSX.
> Ivan, if you need some extra info about this, contact me off list.
>
> By index stack, I mean a stack that has a list of all examples with
> links to open them individually. It would be nice to include a short
> description of what each example demonstrates (could be just a tool
> tip).
>
> I think this addresses all the issues you raised.
Okay, I like such MAIN stack, with list of all examples.
This will play role of ExampleGuide.
In the V4RB and V4MD we use PDF for this.
Well, in V4REV we also may need PDF yet, because few examples have some text
and even pictures that describe work.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list