Jim Leonard
2008-06-19 03:55:19 UTC
(The recent talk about Object Professional prompted me to think about
UIs, so hopefully this is of interest to the helpful folk out there)
I'm finishing up the first milestone of a TP7 project(*) and one of
the requirements was that the total size of the executable code
couldn't exceed 64K. To do this, and to flex my new OOP muscles, I
wrote my own screen handling, input, and windowing routines. They are
extremely basic, but they work for what they were designed for, and my
compiled code does indeed come in under 64K.
The next milestone in the project will require much more sophisticated
user input/output, and the code size limit has been doubled for the
milestone. With 128K of codespace at my disposal, I was checking out
various user interface frameworks:
- Object Professional (OOP)
- Technojocks Turbo Toolkit (v5.1, procedural)
- Technojocks Object Toolkit (v1.10, OOP)
- Technojocks GOLD (v1.0, back to procedural? I wonder why he did
that)
- Turbo Vision (OOP)
I tested them by compiling the demo programs with the features I'd
need (user input, screen handling, windows, menus, input fields, and a
file/directory selector). For all five listed above, I was astonished
to find that the basic level of support for those functions was
100-250KB, which seems very excessive.
My question: Since all of them were bloated (for my needs), is there
any reason to use anything other than Turbo Vision? I say this
because, while I anticipate a learning curve, a lot of people are used
to it, plus I have the manual so hopefully it will serve as a good
tutorial for figuring it out.
Maybe another way of asking my question is: Is there a better
framework out there that I missed for TP7?
(*) If you're curious, the project is MONOTONE; explanation and source
code is here: http://www.oldskool.org/pc/MONOTONE
UIs, so hopefully this is of interest to the helpful folk out there)
I'm finishing up the first milestone of a TP7 project(*) and one of
the requirements was that the total size of the executable code
couldn't exceed 64K. To do this, and to flex my new OOP muscles, I
wrote my own screen handling, input, and windowing routines. They are
extremely basic, but they work for what they were designed for, and my
compiled code does indeed come in under 64K.
The next milestone in the project will require much more sophisticated
user input/output, and the code size limit has been doubled for the
milestone. With 128K of codespace at my disposal, I was checking out
various user interface frameworks:
- Object Professional (OOP)
- Technojocks Turbo Toolkit (v5.1, procedural)
- Technojocks Object Toolkit (v1.10, OOP)
- Technojocks GOLD (v1.0, back to procedural? I wonder why he did
that)
- Turbo Vision (OOP)
I tested them by compiling the demo programs with the features I'd
need (user input, screen handling, windows, menus, input fields, and a
file/directory selector). For all five listed above, I was astonished
to find that the basic level of support for those functions was
100-250KB, which seems very excessive.
My question: Since all of them were bloated (for my needs), is there
any reason to use anything other than Turbo Vision? I say this
because, while I anticipate a learning curve, a lot of people are used
to it, plus I have the manual so hopefully it will serve as a good
tutorial for figuring it out.
Maybe another way of asking my question is: Is there a better
framework out there that I missed for TP7?
(*) If you're curious, the project is MONOTONE; explanation and source
code is here: http://www.oldskool.org/pc/MONOTONE