All Blog Posts  |  Next Post  |  Previous Post

TMS WEB Core v1.3 features part 2 of 2


Wednesday, November 27, 2019

A couple of days ago, we wrote a first blog article about the new features coming in TMS WEB Core v1.3. If you were not already stunned by the first 10 new features presented for TMS WEB Core v1.3 Ferrara, here are 10 more new features:

1) Web crypto API wrapper classes

The web crypto API is meanwhile also standard built-in in all modern browsers. Therefore, for your convenience, easy to use Pascal wrapper classes are now provided that allow you to take advantage from these APIs from your code. This includes AES & RSA encryption as well as RSA & HMAC signature generation.
  • TAESEncryption
  • TRSAEncryption
  • TRSASignature
  • THMACSignature

2) Regular expression API wrapper class TRegEx

Browsers did have regular expression handling functionality for a long time. To make this easy to use for Delphi developers, we created a TRegEx class with an almost identical interface to the Delphi TRegEx class for maximum code reusability.

3) Local file access via TWebFilePicker, TWebFileUpload

TWebFilePicker is a component to let you pick local files via an open dialog while TWebFileUpload lets you do the same but in addition also enables to drag files from the machine file explorer to the browser. The components TWebFilePicker, TWebFileUpload have been extended to offer access to the properties of the selected local files as well as get the data of the file(s) in text, base64, URL or byte array format.

4) TWebLookupComboBox, TWebDBLookupComboBox

Having a combobox with two values per item, a displayed value and a data value is often a requirement for UI logic. With TWebLookupComboBox and its DB-aware counterpart TWebDBLookupComboBox, this is now out of the box available. Simply set & retrieve both the display value and data value per item.

5) Redesigned TWebMainMenu

Previously, the VCL TMainMenu equivalent for the web uses the jqWidgets controls by default. While the jqWidgets menu is nice & powerful, we thought it was better to have a menu component in the base controls and a separate one that is based on jqWidgets for those who need extra features. The new TWebMainMenu however brings all the convenience of the VCL TMainMenu and in addition has built-in responsive design. That means, if the width of the menu becomes too wide, it will collapse automatically and behave as a hamburger menu.

6) New features for TWebGoogleMaps

A lot of Google Maps functionality that was already available in our VCL TWebGMaps or FMX equivalent for a long time has now been added to TWebGoogleMaps. Adding circles, lines, rectangles, polygons, polylines is now possible. Selecting themes, load GPX files, use KML layers is easily accessible by calling simple TWebGoogleMaps methods.

7) New TWebImageZoomControl

An often used paradigm in web applications is the display of a thumbnail and showing the large version of the image when it is clicked. We have nicely encapsulated this functionality in the TWebImageZoomControl. With this control, it is as easy as setting the thumbnail image URL and large image URL and the control does everything for you.

8) Support for selecting the Electron version

With frequent new releases of the Electron framework for building cross platform desktop applications from your web applications, controlling which version of Electron to use became hard. Now, with a setting under project options, it is easy to select with what version of Electron you want to package your application (if multiple Electron versions are installed on your machine).

9) Component attribute for JS & CSS lib dependencies

TMyDependentComponent = class(TCustomControl);

This is a feature that will please developers diving into custom control development for TMS WEB Core. Often, a custom control can have a dependency to an external JavaScript and/or CSS library. When one uses the control but forgets to include the references to these external libraries, the control will normally not work. To avoid this, a new attribute was provided and the attribute parameters hold one or more external library references. When such control is added to the project, the library references will be automatically added to the project HTML file.

10) Update to latest pas2js compiler and pas2js RTL

We have included the latest pas2js compiler release version and updated to the latest RTL source. This way you can take advantage of all latest releases of the open-source pas2js project.

Our team is working hard doing the last finishing touches on the v1.3 release which is around the corner. Active TMS WEB Core users and TMS ALL-ACCESS users will get a notification shortly that the new version is available from the account page on our website.

Bruno Fierens


This blog post has received 4 comments.

1. Saturday, November 30, 2019 at 1:15:26 AM

just outrageous! well done

Weetch Russell

2. Saturday, November 30, 2019 at 9:19:45 AM

Thanks Russell!

Bruno Fierens

3. Friday, November 20, 2020 at 8:22:54 AM

Please, example of use regular expression in TMS Web Core! Very need!!!


4. Friday, November 20, 2020 at 9:34:29 AM

There is a sample under
\Demo\Basics\Regular Expressions

Bruno Fierens

Add a new comment

You will receive a confirmation mail with a link to validate your comment, please use a valid email address.
All fields are required.

All Blog Posts  |  Next Post  |  Previous Post