home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / tools / 1947 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  5.6 KB

  1. Path: sparky!uunet!pipex!ibmpcug!fredc
  2. From: fredc@fredc.ibmpcug.co.uk (Fred Curtis)
  3. Newsgroups: comp.os.ms-windows.programmer.tools
  4. Subject: Re: PowerBuilder
  5. Message-ID: <1hgTrAGEBh107h@fredc.ibmpcug.co.uk>
  6. Date: Fri, 8 Jan 93 23:04:21 GMT
  7. References: <C0IAtn.J3K@ccu.umanitoba.ca>
  8. Organization: CONNECT Mail Feed via ibmpcug.co.uk in the UK [+44 (0)81-863 6646]
  9. Lines: 101
  10.  
  11. In <C0IAtn.J3K@ccu.umanitoba.ca> umlamott@ccu.umanitoba.ca () writes:
  12. >My company is considering an all-out development project using
  13. >PowerBuilder. If anyone has used this product, would you please
  14. >let me know of your experiences with it, especially regarding
  15. >its so-called "cross between FORTRAN and BASIC" object-oriented
  16. >language and database interface capabilities. A comparison
  17. >against existing user-interface development tools (ie Telon
  18. >for mainframes and Easel for PC's) would also be of help.
  19. >
  20. >Thanks in advance!
  21. >Steve Lamotte
  22. >-- 
  23. >Steven Lamotte
  24. >University of Manitoba
  25. >umlamott@ccu.umanitoba.ca
  26.  
  27. My company is currently building a large application with Powerbuilder.
  28. Powerbuilder seems at first glance to be a good product, and I suspect
  29. it is quite a good tool for prototyping small modules and developing
  30. straightforward database applications.  It doesn't seem to scale very
  31. well, though.  The project is currently running behind schedule (we have
  32. about 8 programmers doing development) due to:
  33.  
  34.    a)  The large number of bugs in Powerbuilder for which work-arounds
  35.        have to be found.  Admittedly, the more recent beta versions have
  36.        fixed some of the more severe bugs.  Bugs in the user interface
  37.        consume a _lot_ of time - you have to be psychic to deduce what's
  38.        wrong since the error messages when Powerbuilder crashes vary
  39.        from meaningless to merely misleading.  I find myself having to
  40.        restart windows several times an _hour_.
  41.  
  42.    b)  The slowness of Powerbuilder.  A lot have time has been wasted
  43.        in getting Powerbuilder code to work, only to find that it was
  44.        too slow and the functionality had to be discarded or re-written
  45.        in C [my company has chosen not to use C++ - the decision was made
  46.        by the same non-techs who pushed that we use Powerbuilder, which
  47.        admittedly _did_ look good for writing pokey little DB screens].
  48.        The application is targetted at laptops, which will fortunately
  49.        be 50+Mhz 486's.
  50.  
  51.    c)  The fact the a lot of the behaviour is governed by Powerbuilder
  52.        scripts, accessible only though menus from within Powerbuilder.
  53.        Plain text (ala conventional programming languages) isn't a
  54.        perfect medium for programming, but it's a hell of a lot better
  55.        for tracing execution or doing something mundane like a grep.
  56.  
  57. IMHO we would have been far better off using C++ & an application
  58. framework like Borland's OWL or Microsoft's MFC.  The only advantage
  59. of using Powerbuilder - being able to paint a few screens quicker than
  60. using traditional tools and a compile-run cycle - has been far outweighed
  61. by the time wasted on other problems, and the result is going to be a
  62. maintenance nightmare.  The project has had an unbelievable turnover
  63. rate (several new programmers have lasted less than 3 days, holidays
  64. have been suspended for programmers working on the project until the
  65. deadline).
  66.  
  67. Powerbuilder will have proved to be an extremely costly exercise for
  68. my company.
  69.  
  70. Disclaimer:  I have only recently started using Powerbuilder myself;  most
  71. of the horror stories have come from the bloke sitting next to me, whose
  72. selfless delving into Powerbuilder (his Powerbuilder code was scheduled
  73. to start before mine :-) has caused him, and saved me, much mental anguish.
  74. Acknowledgement:  My US colleagues, some of whom have since left, under-
  75. went the pioneering Powerbuilder trauma.  Lest we forget.
  76.  
  77. On a (marginally) less caustic and more informative note ...
  78.  
  79. I cannot comment on the programming interface to the database (we're using
  80. XDB) since I'm using C to manipulate the database 'cause XDB doesn't
  81. support blobs (regardless of the doco) and Powerbuilder isn't expressive
  82. enough to extract and concatenate several Varchar fields, and would be
  83. too slow if it was.
  84.  
  85. The script language?  What's there to say?  All these modern script
  86. languages look the same to me (bring back punched cards!).  The OO
  87. features consist of being able to type aWindow.aFunc(args) instead of
  88. aFunc(aWindow, args), and being able to inherit behaviour from a parent
  89. window.  Watch out, though.  You might expect a derived window to get
  90. passed an event, with the option to call the base window method, ala C++.
  91. Not so.  The base window (which, in OO fashion doesn't know that the
  92. derived window exists) gets the event first.  The script language gets
  93. compiled (probably tokenised) and runs through a 'for' loop - yes, not
  94. the best of benchmarks - about 1600 times slower than C.
  95.  
  96. Powerbuilder is probably OK if you're writing a straightforward DB
  97. application - if you've seen event driven code (e.g. written some
  98. code under X or microscoft windows) then you won't have any conceptual
  99. problems with Powerbuilder.  If you obtain some perverse sexual
  100. gratification in specifying function parameters using dialogue boxes
  101. and menus then you'll feel right at home. (Oops! I've started frothing
  102. religious prejudices now!  Time to go!)
  103.  
  104. [The opinions expressed above are mine, not those of my company, which
  105.  I have been very careful not to name - the IBM PC User group is just
  106.  the place where I connect to the net and they are nice guys :-)]
  107.  
  108. -- 
  109. fredc@ibmpcug.co.uk | "Could you try smiling with more feeling, Sally?"
  110.                     | "Feeling?  ....   I'm afraid you've lost me ..."
  111.                     |      -- Drop the Dead Donkey -- 7 Jan 1993
  112.