home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!agate!nuntius
- From: John Werner <werner@soe.berkeley.edu>
- Newsgroups: comp.lang.c++
- Subject: Re: XVT second try.
- Date: 9 Sep 1992 18:58:10 GMT
- Organization: UC Berkeley School of Education
- Lines: 45
- Distribution: world
- Message-ID: <18lhg2INNb4@agate.berkeley.edu>
- References: <4995@sumax.seattleu.edu>
- NNTP-Posting-Host: tol7mac19.soe.berkeley.edu
- X-UserAgent: Nuntius v1.1
-
- [Why was this question posted in comp.lang.c++ anyway?]
-
- At my last job (at SPSS Inc.) I was involved in a research project
- evaluating future cross-platform projects. We spent most of our
- time evaluating and prototyping with XVT. One of SPSS's current
- products (SPSS for Windows) is also mostly written with XVT. So I
- can give you some opinions.
-
- For totally-from-scratch portable development, XVT probably isn't so
- bad. Code that's written using just the XVT api is indeed portable.
- The catch is that the API is basically a lowest common denominator
- of all the machines it supports. The people at XVT will deny this;
- it's sort of a religious issue with them. But just try to get them
- to support some functionality that isn't directly supported by all
- the machines, and you'll find out the truth. We were trying to get
- them to support floating windows and pop-up menus, among other
- things, and they refused, basically for religious reasons.
-
- What little I saw of XVTs C++ class library made me want to run and
- hide. It was just a set of wrapper classes around the various
- objects in the C api. I spent a fair amount of time writing a
- MacApp-inspired C++ library around XVT. It's possible to do, and it
- was actually kind of fun for me, but it's something XVT should have
- done themselves. I think writing a real class library is definitely
- the way to go if you plan to write a large user interface with XVT.
-
- And finally, the programmers who developed SPSS for Windows using
- XVT absolutely HATED it. Part of this was related to dialog box
- support: XVT doesn't allow you to define custom controls in dialogs
- at all portably. Related to this is the fact that mixing
- non-portable code into an XVT application is a major nightmare; you
- start running into lots of "who's in charge" issues.
-
- Summary: If you're writing a simple program, without complicated
- dialogs, or if you're willing to take the time to write a large
- class library around XVT, it might be worth using.
- Otherwise don't.
-
- PS: Have you considered writing in MacApp and then porting to
- Bedrock (the new portable class library being developed by Apple and
- Symantec) when it comes out (early next year?)?
-
- --
- John Werner werner@soe.berkeley.edu
- UC Berkeley School of Education 510-642-9651
-