Hi Lorenzo,
Nice to meet you again, after some tens of years.
AS you may remember I've ported, ... 20 years ago ..., a Digitalk VOS/2
big app to
Visualage/Windows. Using an Apple Smalltalk as intermediate host.
As you can figure, it was mainly a syntax work, i.e. :
- working out an Apple Smalltalk loading-only version of VOS2 app
- working out an Apple Smalltalk loading-only version of a Visualage app
visual components (cw* only) structure
- writing all the "stub" classes needed on both sides (VOS2 and
Visualage) to load the core components without
syntax or hierarchical error
- defining, in both sides, a set of class dictionary to let the other
side globals at least declare ...
- writing 2 set of "switching" methods : one that calls VOS/2 UI
building methods, one for Visualage UI building methods
(describing it now, it sounds as a daunting task : but I were a
young-to-senior programmer, with lot of
nights to spare ... to escape from OS/2 ...).
It worked with a reasonable effort. Maybe I could avoid the intermediate
Apple Smalltalk ...
... but I were very fast at programming with Apple Smalltalk.
Back to your migration path :
- take _your_ equivalent structure of Pharo application visual
architecture (aka the View)
- write the Pharo equivalent of VSE Control classes and UI build methods
(paired, perhaps. With coinciding names except for some prefix).
- fire your simplest app and adapt your classes and methods unless it works
- apply the changes to all your View and Control classes until they all work
(as an afterthought, with a "modern" eye : is an horror story. Nobody
will follow you om my path.
But 20 years ago it worked with a 700+ classes app ... still sold today.
If there's another path I'm very very interested ...)
Best regards,
Davide Grandi
On 24/01/2019 16:34, Lorenzo Schiavina wrote:
How to embed VSE application into Pharo
Hi,
I am a very old Smalltalk user; I have developedTONSof applicationwith
Digitalk’s VSE; some of them are used by morehundredsclients.
Can you tell me ifthere is any possibility toembed my VSE
applicationsinto Pharowithoutrewriting them?
My goal would be to use Pharo for my new applicationswithoutloosethe
old onesand to interact with old ones in Pharo.
Many thanks for your answer
Lorenzo
--
Ing. Davide Grandi
email : davide.gra...@mclink.it