![]() |
|
Published 1997-09-01 Printer-friendly version
C4 is a revolutionary product that will increase your productivity. An interactive conversion wizard is included to make porting from CW2 as easy as possible, and there have been fundamental changes in the templates to make them easy to understand and maintain. "I only ask that you understand how the new templates and object classes work and make your own decisions", said Bayliss.
Normally, porting an existing procedure to an OOP program takes a rewrite, but not with C4. An interactive conversion utility is included that reduces porting time by 90%. There are several benefits of this wizard:
An example program was compiled in 16-bit with 20 procedures in one module, with debug on. No 64k limits, no ISP errors, no errors at all! 2100 lines of CW2003 code was reduced to 120 lines using CW4. Could this mean faster compile times???
The Objects, where most of the functionality is located, are well documented. The Objects are written to allow Clarion to provide even more functionality than ever, and not break third-party products with new releases. A new technology called Smart Objects was also introduced. Smart Objects are programmable, and changeable at runtime. An example of a Browse was used where the user could decide whether they wanted incremental or entry locators at runtime.
File processing code has been moved out of Procedures. This allows for what David calls "a living dictionary" - a dictionary than dynamically adjusts itself depending on your requirements. This technique also allows all priming information and range checking to be coded in one place.
"It only takes a second to understand how to use C4 OOP. Of course, it may take months for that second to appear!!" said Bayliss. Instead of trying to figure out how to make a Procedure do something, you should think like the procedure to best understand what to do.
After seeing the code reduction, the new functionality, removal of compiler limitations, and faster compile times, I can't wait to get started with C4.
Copyright © 1999-2008 by CoveComm Inc. All Rights Reserved. Reproduction in any form without the express written consent of CoveComm Inc., except as described in the subscription agreement, is prohibited.
Clarion Magazine ISSN 1718-9942
One year: $189
(includes all back issues since '99)
Renewals from $139
Two years: $289
Renewals from $239