Results 1 to 1 of 1

Thread: DataFlex 2016 / 18.2 is released!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Location
    Richmond, VA
    Posts
    5,851

    Exclamation DataFlex 2016 / 18.2 is released!

    Introducing DataFlex 2016 / 18.2

    DataFlex 18.2 is a maintenance release that builds on the foundation of DataFlex 18.1. It focuses on developer suggestions and bug fixes. The enhancements and fixes range from the base system, up through data dictionaries and the framework and the developer tools themselves (especially the Studio).

    DataFlex 18.2 contains over 230 implemented suggestions and bug fixes.

    The changes in DataFlex 18.2 are widely spread across the system; including the Studio, Web and Windows Frameworks, base system (runtime, packages, etc.) and documentation, including the highlights listed below.

    Windows Framework

    • A new windows class, dbParentCombo, provides the same capability as the new web cWebParentCombo class. Both of these classes now support a more flexible method for displaying custom combo-list content.
    • A New Month calendar control for prompts and other custom uses (see the Order view in the Order Entry example). If seeded dates are empty, we pick good defaults for them and if a seeded date range exceeds control’s max range (piMaxSelectedCount) a handled error is raised. SelectedDate and SelectedDateRange can be called after the control is closed.
    • We've changed the default of pbSuppressCacheError in cDbCJGrid from False to True. While we generally avoid changing default properties, we felt that in the long run this is warranted because consistently suppressing re-read errors in grids (for both Windows and Web applications) is really the best default for end users using a deployed application. Real world, multi user conditions arise where a row cannot be re-read and providing an error message (even a handled one) to an end-user serves little purpose. You can read more about this change in the What's New section of the DataFlex 18.2 Help.
    • Windows applications now do a better job of sizing and locating the main panel when moving from a multi-screen to single screen environment.
    • Windows 10 font spacing (kerning) issue are resolved.
    • Newer CodeJock controls (16.4.0) are used and supported.


    Web Framework

    • Complex views display much faster on clients
    • New parent combo control. When using the parent combo control, the Entry_Item command determines the parent table and column that will be used and the combo automatically fills itself by searching the parent table.
    • Web based Data Dictionary Inspector (Web_DDDebug) - Be sure to check out these user interface improvements (contributed by Raveen Sundram); cleaned up the UI, added a Treeview to display the DDOs in a structure and added a Grid to show the Field information.
    • Improved cookie management
    • Better error handling
    • Many JavaScript engine improvements
    • Better cross platform compatibility and performance
    • Many layout and alignment improvements
    • New Desktop Theme - The DF_Flat_Desktop theme has the same modern look of mobile/touch (DF_Flat_Touch) theme but with smaller control sizing and condensed spacing that is more appropriate for desktop monitors and precision pointing devices.


    Studio

    • Better Table Explorer Table Filter options. The table list (filelist) filtering is now applied more widely throughout the Studio, e.g. the DDO Table Selector.
    • Generates .DEF files whenever .FD files are generated (configurable). You can also explicitly generate .DEF files
    • Configurable pre & post compile processing
    • Optimized Web Designer (much faster)
    • Better support for JavaScript sub-classing in the Designer


    Data Dictionaries

    • New Smart Relates
      • The new pbSmartRelate property controls whether DataDictionaries perform relates on parent tables that are not connected to the DDO (DataDictionary Object) structure. Normally, a DDO structure should be complete and contain all parents. When saving data, this is a requirement. For batch and reporting processing, developers often remove parent DDOs if they are not needed for the process. If pbSmartRelate is set true, these non-connected parent records will not be found as part of the relate. This can result in noticeable performance improvements when finding many records (e.g., batch processes or grids that load many records). This will be even more noticeable when using SQL back-ends.
      • When False, DDOs perform relates on all open parent tables up the ancestor tree. A parent record is found (related) even if there is no parent DDO associated with it. Until version 18.2, this was standard behavior. The default is True in the DataDictionary class and False in the abstract DataSet class.Make sure you read the compatibility notes in the What's New.

    • Constraints
      • Added RebuildAllConstraints message to base_data_set. This sends Rebuild_Constraints to all DDOs in a structure. Whenever a constraint is changed rebuild_constraints must be sent to the DDO that was changed. In addition, rebuild_constraints should be sent to all DDOs that might be impacted by the change. This is required when constraints are inherited. We therefore advise that you send rebuild_constraints to all DDOs within a DDO structure. RebuildAllConstraints does this. It sends Rebuild_Constraints to all DDOs in the structure. We now advise that you send RebuildAllConstraints, instead of sending Rebuild_Constraints. It is easier and less error prone. You still might use rebuild_constraints for augmentation but even this is unlikely. Note that this was a change actually made in 18.1 but the documentation was not in the What's New (only the DataDictionary class documentation).


    Base System

    We've added lots of new functions and methods in DataFlex 18.2, including...

    Array and String Manipulations
    • StrSplitToArray()
    • StrJoinFromArray()


    Time and Date Manipulations
    • DateAddDay
    • DateAddHour
    • DateAddMillisecond
    • DateAddMinute
    • DateAddMonth
    • DateAddSecond
    • DateAddYear
    • DateGetDayofWeek_WDS
    • DateGetDayofWeekISO
    • DateGetWeekOfYear
    • DateGetWeekOfYear_WDS
    • DateGetWeekOfYearISO
    • DateSet
    • IsTimeSpanValid
    • IsTimeValid
    • SpanAddDay
    • SpanAddHour
    • SpanAddMillisecond
    • SpanAddMinute
    • SpanAddSecond


    Class and Object Information
    • ObjectClass
    • ClassSuperClass
    • IsObjectOfClass
    • IsClassOfClass


    Help System

    There are very significant changes in what is (and is not) listed in a classes attributes pages (events, properties, procedures) in the Class Reference. Depending on the class, many of the attributes were missing from those pages and they should all now be properly listed (some may still need additional documentation). This change may be hard to initially verify because the improvement is widespread and a lot of the methods that were impacted are deep in the class hierarchy. An interesting example is comparing the 18.1 and 18.2 pages for the dbForm list of Properties, Events or Methods. The bottom line is that the Class Reference in DataFlex 18.2 is much more accurate than in any prior version of the product.


    Download DataFlex 2016 / 18.2 today to start learning how it can move you and your business forward. If you're an existing customer with a current DataFlex 18.0/ 18.1 subscription your current registration codes will work for DataFlex 18.2.




    Data Access Worldwide
    Last edited by Stephen W. Meeley; 1-Aug-2017 at 07:07 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •